MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6336ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3439ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6473ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2896ms
--------------------
IordTest: test_truth
--------------------
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6132ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms
--------------------
IordTest: test_truth
--------------------
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6127ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2194ms
--------------------
IordTest: test_truth
--------------------
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6344ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2791ms
--------------------
IordTest: test_truth
--------------------
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd37065735336c85000000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 41.1849ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3708ms
Rendered /home/geoffroy/projects/iord/app/views/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 21ms (Views: 20.1ms)
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6149ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3303ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2695ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38195735336d08000000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5217ms
Processing by ProductsController#create as HTML
Parameters: {"id"=>"52fd38195735336d08000000", "product"=>nil}
Completed 400 Bad Request in 1ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38195735336d08010000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4026ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38195735336d08020000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3049ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd38195735336d08020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd38195735336d08020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2969ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (8.8ms)
Completed 500 Internal Server Error in 17ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38195735336d08030000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4048ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3492ms
Completed 200 OK in 10ms (Views: 9.7ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38195735336d08040000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3869ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (31.6ms)
Completed 500 Internal Server Error in 34ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38195735336d08060000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3951ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd38195735336d08060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd38195735336d08060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2416ms
Completed 200 OK in 4ms (Views: 2.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38195735336d08070000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>nil, "id"=>"52fd38195735336d08070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd38195735336d08070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2337ms
Completed 400 Bad Request in 1ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6151ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2722ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2615ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38745735336d64000000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5583ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>nil}
Completed 400 Bad Request in 1ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38745735336d64010000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4043ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38745735336d64020000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2944ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd38745735336d64020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd38745735336d64020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2557ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (9.2ms)
Completed 500 Internal Server Error in 17ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38745735336d64030000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4822ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3073ms
Completed 200 OK in 10ms (Views: 9.6ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38745735336d64040000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3860ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (33.4ms)
Completed 500 Internal Server Error in 35ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38745735336d64060000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3767ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd38745735336d64060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd38745735336d64060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms
Completed 200 OK in 4ms (Views: 2.9ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38745735336d64070000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4566ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>nil, "id"=>"52fd38745735336d64070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd38745735336d64070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3373ms
Completed 400 Bad Request in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5923ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2924ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2904ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd389f5735336d90000000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4740ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>nil}
Completed 400 Bad Request in 1ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd389f5735336d90010000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3918ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd389f5735336d90010000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd389f5735336d90010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2406ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd389f5735336d90010000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2997ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd389f5735336d90020000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2404ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd389f5735336d90020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd389f5735336d90020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2819ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (10.0ms)
Completed 500 Internal Server Error in 18ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd389f5735336d90030000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4704ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3022ms
Completed 200 OK in 9ms (Views: 9.0ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd389f5735336d90040000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3975ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (32.7ms)
Completed 500 Internal Server Error in 35ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd389f5735336d90060000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd389f5735336d90060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd389f5735336d90060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3885ms
Completed 200 OK in 5ms (Views: 2.8ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd389f5735336d90070000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4546ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd389f5735336d90070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd389f5735336d90070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3013ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd389f5735336d90070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms
Redirected to http://test.host/products/52fd389f5735336d90070000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6595ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3176ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3141ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38be5735336dde000000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4603ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>nil}
Completed 400 Bad Request in 1ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38be5735336dde010000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd38be5735336dde010000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd38be5735336dde010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2428ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd38be5735336dde010000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2785ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38be5735336dde020000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2495ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd38be5735336dde020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd38be5735336dde020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2276ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (8.4ms)
Completed 500 Internal Server Error in 16ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38be5735336dde030000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3961ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms
Completed 200 OK in 10ms (Views: 9.6ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38be5735336dde040000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3895ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (31.9ms)
Completed 500 Internal Server Error in 34ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38be5735336dde060000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4381ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd38be5735336dde060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd38be5735336dde060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2393ms
Completed 200 OK in 4ms (Views: 2.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38be5735336dde070000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3333ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd38be5735336dde070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd38be5735336dde070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2266ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd38be5735336dde070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms
Redirected to http://test.host/products/52fd38be5735336dde070000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7361ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3480ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3659ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38d35735336e11000000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4675ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38d35735336e11010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4398ms
Redirected to http://test.host/products/52fd38d35735336e11010000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38d35735336e11020000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1860ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd38d35735336e11020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd38d35735336e11020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3151ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd38d35735336e11020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3520ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38d35735336e11030000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd38d35735336e11030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd38d35735336e11030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3027ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (9.5ms)
Completed 500 Internal Server Error in 18ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38d35735336e11040000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4664ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3193ms
Completed 200 OK in 10ms (Views: 9.3ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38d35735336e11050000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (31.8ms)
Completed 500 Internal Server Error in 34ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38d35735336e11070000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd38d35735336e11070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd38d35735336e11070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms
Completed 200 OK in 4ms (Views: 2.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38d35735336e11080000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4410ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd38d35735336e11080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd38d35735336e11080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3399ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd38d35735336e11080000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3640ms
Redirected to http://test.host/products/52fd38d35735336e11080000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5961ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2563ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2470ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38fa5735336e3e000000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4666ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38fa5735336e3e010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3848ms
Redirected to http://test.host/products/52fd38fa5735336e3e010000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38fa5735336e3e020000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3234ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd38fa5735336e3e020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd38fa5735336e3e020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3000ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd38fa5735336e3e020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3544ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38fa5735336e3e030000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1704ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd38fa5735336e3e030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd38fa5735336e3e030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2706ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (9.4ms)
Completed 500 Internal Server Error in 18ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38fa5735336e3e040000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3171ms
Completed 200 OK in 10ms (Views: 9.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38fa5735336e3e050000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4060ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (32.1ms)
Completed 500 Internal Server Error in 34ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38fa5735336e3e070000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4051ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd38fa5735336e3e070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd38fa5735336e3e070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2395ms
Completed 200 OK in 4ms (Views: 2.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd38fa5735336e3e080000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3754ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd38fa5735336e3e080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd38fa5735336e3e080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd38fa5735336e3e080000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3530ms
Redirected to http://test.host/products/52fd38fa5735336e3e080000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5903ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2555ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2479ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd39055735336e68000000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4627ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd39055735336e68010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4246ms
Redirected to http://test.host/products/52fd39055735336e68010000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd39055735336e68020000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd39055735336e68020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd39055735336e68020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd39055735336e68020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2848ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd39055735336e68030000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2305ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd39055735336e68030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd39055735336e68030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2910ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (10.1ms)
Completed 500 Internal Server Error in 18ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd39055735336e68040000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4280ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms
Completed 200 OK in 10ms (Views: 9.5ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd39055735336e68050000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (32.9ms)
Completed 500 Internal Server Error in 35ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd39065735336e68070000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4091ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd39065735336e68070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd39065735336e68070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms
Completed 200 OK in 4ms (Views: 2.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd39065735336e68080000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3759ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd39065735336e68080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd39065735336e68080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2571ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd39065735336e68080000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3475ms
Redirected to http://test.host/products/52fd39065735336e68080000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6524ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2945ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2665ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd391a5735336e93000000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4570ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd391a5735336e93010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms
Redirected to http://test.host/products/52fd391a5735336e93010000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd391a5735336e93020000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3640ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd391a5735336e93020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd391a5735336e93020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd391a5735336e93020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2966ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd391a5735336e93030000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2440ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd391a5735336e93030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd391a5735336e93030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2290ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (8.4ms)
Completed 500 Internal Server Error in 17ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd391a5735336e93040000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4218ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3545ms
Completed 200 OK in 10ms (Views: 9.8ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd391a5735336e93050000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4415ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (32.6ms)
Completed 500 Internal Server Error in 35ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd391a5735336e93070000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4201ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd391a5735336e93070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd391a5735336e93070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2954ms
Completed 200 OK in 4ms (Views: 2.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd391a5735336e93080000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3779ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd391a5735336e93080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd391a5735336e93080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd391a5735336e93080000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5885ms
Redirected to http://test.host/products/52fd391a5735336e93080000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6669ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3162ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2969ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6543ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3008ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2034ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7892ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3226ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2321ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7011ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3291ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2628ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6483ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3103ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2979ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6472ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2928ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2348ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3bf757353371d5000000'), "name"=>"Wallace Wolff", "reference"=>"Andre Carter", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4678ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3bf757353371d5010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms
Redirected to http://test.host/products/52fd3bf757353371d5010000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3bf757353371d5020000'), "name"=>"Miss Krystina Lueilwitz", "reference"=>"Asia Labadie", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3112ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd3bf757353371d5020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3bf757353371d5020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3bf757353371d5020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3bf757353371d5030000'), "name"=>"Dr. Russel Bechtelar", "reference"=>"Caroline Kuvalis", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2568ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd3bf757353371d5030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3bf757353371d5030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2431ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (9.0ms)
Completed 500 Internal Server Error in 50ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3bf757353371d5040000'), "name"=>"Oral Reichert", "reference"=>"Corene Smitham", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4356ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3345ms
Completed 200 OK in 10ms (Views: 9.5ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3bf757353371d5050000'), "name"=>"Ofelia Crooks", "reference"=>"Stacey Schaefer", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0492ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (7.2ms)
Completed 500 Internal Server Error in 9ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3bf757353371d5070000'), "name"=>"Kirk Goldner", "reference"=>"Edward VonRueden", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4534ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd3bf757353371d5070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3bf757353371d5070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2652ms
Completed 200 OK in 4ms (Views: 2.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3bf757353371d5080000'), "name"=>"Clint Harvey", "reference"=>"Emelia Effertz II", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3989ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd3bf757353371d5080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3bf757353371d5080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2603ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3bf757353371d5080000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3232ms
Redirected to http://test.host/products/52fd3bf757353371d5080000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6685ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2911ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2892ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3c515735337276000000'), "name"=>"Reva Braun", "reference"=>"Jazmyn Walker DVM", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4577ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3c515735337276010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3991ms
Redirected to http://test.host/products/52fd3c515735337276010000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3c515735337276020000'), "name"=>"Carlotta Durgan", "reference"=>"Alvera Aufderhar", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3356ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd3c515735337276020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3c515735337276020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2605ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3c515735337276020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3062ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3c515735337276030000'), "name"=>"Jadyn Senger", "reference"=>"Miss Harley Klein", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3033ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd3c515735337276030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3c515735337276030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2937ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (9.6ms)
Completed 500 Internal Server Error in 50ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3c515735337276040000'), "name"=>"Anderson Orn", "reference"=>"Jordy Pagac I", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4333ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3291ms
Completed 200 OK in 10ms (Views: 9.3ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3c515735337276050000'), "name"=>"Macie Wolf", "reference"=>"Camille Jaskolski", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3968ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (7.1ms)
Completed 500 Internal Server Error in 9ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3c515735337276070000'), "name"=>"Dewitt Shields", "reference"=>"Elfrieda Jerde", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4139ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd3c515735337276070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3c515735337276070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3701ms
Completed 200 OK in 4ms (Views: 2.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3c515735337276080000'), "name"=>"Eleonore Kirlin", "reference"=>"Euna Haley Sr.", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3776ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd3c515735337276080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3c515735337276080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2271ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3c515735337276080000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3509ms
Redirected to http://test.host/products/52fd3c515735337276080000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6466ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2864ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3c9157353372d2000000'), "name"=>"Ms. Geovany Anderson", "reference"=>"Barry Schmidt", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4575ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3c9157353372d2010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4167ms
Redirected to http://test.host/products/52fd3c9157353372d2010000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3c9157353372d2020000'), "name"=>"Jana Lockman", "reference"=>"Luella McLaughlin", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3350ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd3c9157353372d2020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3c9157353372d2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2906ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3c9157353372d2020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3048ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3c9157353372d2030000'), "name"=>"Santino Erdman", "reference"=>"Raphaelle Lang", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd3c9157353372d2030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3c9157353372d2030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3010ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (10.2ms)
Completed 500 Internal Server Error in 51ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3c9157353372d2040000'), "name"=>"Miss Polly Harber", "reference"=>"Zita Kihn Sr.", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4328ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3317ms
Completed 200 OK in 10ms (Views: 9.3ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3c9257353372d2050000'), "name"=>"Mrs. Calista Murphy", "reference"=>"Columbus Batz", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4176ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (6.9ms)
Completed 500 Internal Server Error in 9ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3c9257353372d2070000'), "name"=>"Terrell Jakubowski", "reference"=>"Kraig Zboncak", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4413ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd3c9257353372d2070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3c9257353372d2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3785ms
Completed 200 OK in 4ms (Views: 2.7ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3c9257353372d2080000'), "name"=>"Felicia Brown", "reference"=>"Elenor Runolfsdottir I", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3874ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd3c9257353372d2080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3c9257353372d2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2976ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3c9257353372d2080000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3868ms
Redirected to http://test.host/products/52fd3c9257353372d2080000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6299ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2551ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2477ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3cfc5735337321000000'), "name"=>"Tod Wolff II", "reference"=>"Fern Hagenes Sr.", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4497ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3cfc5735337321010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms
Redirected to http://test.host/products/52fd3cfc5735337321010000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3cfc5735337321020000'), "name"=>"Leone Boyer", "reference"=>"Mollie Johnson", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3304ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd3cfc5735337321020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3cfc5735337321020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3cfc5735337321020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3723ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3cfc5735337321030000'), "name"=>"Gilbert Brown III", "reference"=>"Sierra Dare II", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3146ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd3cfc5735337321030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3cfc5735337321030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3014ms
ERROR: compiling __home_geoffroy_projects_iord_app_views__form_html_erb__1753401746743109710_70011648335020 RAISED /home/geoffroy/projects/iord/app/views/_form.html.erb:2: class definition in method body
class ActionView::Base; include NestedForm::ViewHelper; end
^
Function body: def __home_geoffroy_projects_iord_app_views__form_html_erb__1753401746743109710_70011648335020(local_assigns, output_buffer)
_old_virtual_path, @virtual_path = @virtual_path, "_form";_old_output_buffer = @output_buffer;;@output_buffer = output_buffer || ActionView::OutputBuffer.new; require 'nested_form/view_helper'
class ActionView::Base; include NestedForm::ViewHelper; end
_attrs = @resource.persisted? ? edit_attrs : new_attrs
_url = @resource.persisted? ? resource_url(@resource) : collection_url
@output_buffer.append= nested_form_for([*(resource_path + [@resource])], as: resource_name_u, url: _url) do |f| @output_buffer.safe_append='
'; if @resource.errors.any?
@output_buffer.safe_append='
';@output_buffer.append=( "#{pluralize(@resource.errors.count, "error")} prohibited this character from being saved:" );@output_buffer.safe_append='
'; @resource.errors.full_messages.each do |msg|
@output_buffer.safe_append=' -
';@output_buffer.append=( msg );@output_buffer.safe_append='
'; end
@output_buffer.safe_append='
'; end
@output_buffer.safe_append='
'; end
@output_buffer.safe_append='
';@output_buffer.to_s
ensure
@virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
end
Backtrace: /home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:299:in `module_eval'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:299:in `compile'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:248:in `block in compile!'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:236:in `synchronize'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:236:in `compile!'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:142:in `block in render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:141:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/partial_renderer.rb:278:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/renderer.rb:47:in `render_partial'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/helpers/rendering_helper.rb:27:in `render'
/home/geoffroy/projects/iord/app/views/edit.html.erb:2:in `__home_geoffroy_projects_iord_app_views_edit_html_erb__4598438926687178580_70011676225920'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:143:in `block in render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:141:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:48:in `block in render_template'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:47:in `render_template'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:17:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/renderer.rb:42:in `render_template'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/renderer.rb:23:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:127:in `_render_template'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/streaming.rb:219:in `_render_template'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:120:in `render_to_body'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/rendering.rb:33:in `render_to_body'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/renderers.rb:26:in `render_to_body'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:97:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/rendering.rb:16:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/core_ext/benchmark.rb:12:in `ms'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:41:in `block in render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:40:in `render'
/home/geoffroy/projects/iord/lib/iord/crud.rb:48:in `block (2 levels) in edit'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/mime_responds.rb:191:in `call'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/mime_responds.rb:191:in `respond_to'
/home/geoffroy/projects/iord/lib/iord/crud.rb:47:in `edit'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/base.rb:189:in `process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/rendering.rb:10:in `process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:393:in `_run__4320932375099358983__process_action__callbacks'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:80:in `run_callbacks'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/callbacks.rb:17:in `process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/rescue.rb:29:in `process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/base.rb:136:in `process'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:44:in `process'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/test_case.rb:569:in `process'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/test_case.rb:64:in `process'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/test_case.rb:469:in `get'
/home/geoffroy/projects/iord/test/controllers/products_controller_test.rb:24:in `block in '
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1258:in `run'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:933:in `block in _run_suite'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:926:in `map'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:926:in `_run_suite'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/parallel_each.rb:71:in `block in _run_suites'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/parallel_each.rb:71:in `map'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/parallel_each.rb:71:in `_run_suites'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:877:in `_run_anything'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1085:in `run_tests'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1072:in `block in _run'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1071:in `each'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1071:in `_run'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1059:in `run'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:795:in `block in autorun'
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.2ms)
Completed 500 Internal Server Error in 43ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3cfc5735337321040000'), "name"=>"Pedro Abbott", "reference"=>"Rashawn Kutch", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4213ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3387ms
Completed 200 OK in 11ms (Views: 10.1ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3cfc5735337321050000'), "name"=>"Adonis Legros", "reference"=>"Mrs. Lukas Tremblay", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4207ms
Processing by ProductsController#new as HTML
ERROR: compiling __home_geoffroy_projects_iord_app_views__form_html_erb__1753401746743109710_70011648335020 RAISED /home/geoffroy/projects/iord/app/views/_form.html.erb:2: class definition in method body
class ActionView::Base; include NestedForm::ViewHelper; end
^
Function body: def __home_geoffroy_projects_iord_app_views__form_html_erb__1753401746743109710_70011648335020(local_assigns, output_buffer)
_old_virtual_path, @virtual_path = @virtual_path, "_form";_old_output_buffer = @output_buffer;;@output_buffer = output_buffer || ActionView::OutputBuffer.new; require 'nested_form/view_helper'
class ActionView::Base; include NestedForm::ViewHelper; end
_attrs = @resource.persisted? ? edit_attrs : new_attrs
_url = @resource.persisted? ? resource_url(@resource) : collection_url
@output_buffer.append= nested_form_for([*(resource_path + [@resource])], as: resource_name_u, url: _url) do |f| @output_buffer.safe_append='
'; if @resource.errors.any?
@output_buffer.safe_append='
';@output_buffer.append=( "#{pluralize(@resource.errors.count, "error")} prohibited this character from being saved:" );@output_buffer.safe_append='
'; @resource.errors.full_messages.each do |msg|
@output_buffer.safe_append=' -
';@output_buffer.append=( msg );@output_buffer.safe_append='
'; end
@output_buffer.safe_append='
'; end
@output_buffer.safe_append='
'; end
@output_buffer.safe_append='
';@output_buffer.to_s
ensure
@virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
end
Backtrace: /home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:299:in `module_eval'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:299:in `compile'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:248:in `block in compile!'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:236:in `synchronize'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:236:in `compile!'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:142:in `block in render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:141:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/partial_renderer.rb:278:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/renderer.rb:47:in `render_partial'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/helpers/rendering_helper.rb:27:in `render'
/home/geoffroy/projects/iord/app/views/new.html.erb:2:in `__home_geoffroy_projects_iord_app_views_new_html_erb__2692384948922108969_70011668177000'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:143:in `block in render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:141:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:48:in `block in render_template'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:47:in `render_template'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:17:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/renderer.rb:42:in `render_template'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/renderer.rb:23:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:127:in `_render_template'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/streaming.rb:219:in `_render_template'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:120:in `render_to_body'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/rendering.rb:33:in `render_to_body'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/renderers.rb:26:in `render_to_body'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:97:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/rendering.rb:16:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/core_ext/benchmark.rb:12:in `ms'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:41:in `block in render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:40:in `render'
/home/geoffroy/projects/iord/lib/iord/crud.rb:41:in `block (2 levels) in new'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/mime_responds.rb:191:in `call'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/mime_responds.rb:191:in `respond_to'
/home/geoffroy/projects/iord/lib/iord/crud.rb:40:in `new'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/base.rb:189:in `process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/rendering.rb:10:in `process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:393:in `_run__4320932375099358983__process_action__callbacks'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:80:in `run_callbacks'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/callbacks.rb:17:in `process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/rescue.rb:29:in `process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/base.rb:136:in `process'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:44:in `process'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/test_case.rb:569:in `process'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/test_case.rb:64:in `process'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/test_case.rb:469:in `get'
/home/geoffroy/projects/iord/test/controllers/products_controller_test.rb:19:in `block in '
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1258:in `run'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:933:in `block in _run_suite'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:926:in `map'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:926:in `_run_suite'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/parallel_each.rb:71:in `block in _run_suites'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/parallel_each.rb:71:in `map'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/parallel_each.rb:71:in `_run_suites'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:877:in `_run_anything'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1085:in `run_tests'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1072:in `block in _run'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1071:in `each'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1071:in `_run'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1059:in `run'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:795:in `block in autorun'
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.0ms)
Completed 500 Internal Server Error in 3ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3cfc5735337321060000'), "name"=>"Henry Medhurst", "reference"=>"Lonzo Glover PhD", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3973ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd3cfc5735337321060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3cfc5735337321060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2392ms
Completed 200 OK in 4ms (Views: 2.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3cfc5735337321070000'), "name"=>"Dr. Myles Kovacek", "reference"=>"Ronny Stoltenberg", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3689ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd3cfc5735337321070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3cfc5735337321070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2635ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3cfc5735337321070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3027ms
Redirected to http://test.host/products/52fd3cfc5735337321070000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6473ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2908ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2937ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3d29573533734c000000'), "name"=>"Cecelia Raynor", "reference"=>"Aglae Hansen III", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4423ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3d29573533734c010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3635ms
Redirected to http://test.host/products/52fd3d29573533734c010000
Completed 302 Found in 3ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3d29573533734c020000'), "name"=>"Cordia Mayer", "reference"=>"Winston Hills", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3108ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd3d29573533734c020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3d29573533734c020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2569ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3d29573533734c020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2872ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3d29573533734c030000'), "name"=>"Gaetano Ebert Sr.", "reference"=>"Benton Schowalter", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2522ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd3d29573533734c030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3d29573533734c030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2394ms
ERROR: compiling __home_geoffroy_projects_iord_app_views__form_html_erb__1352920199053138320_69875369254280 RAISED /home/geoffroy/projects/iord/app/views/_form.html.erb:2: class definition in method body
Function body: def __home_geoffroy_projects_iord_app_views__form_html_erb__1352920199053138320_69875369254280(local_assigns, output_buffer)
_old_virtual_path, @virtual_path = @virtual_path, "_form";_old_output_buffer = @output_buffer;;@output_buffer = output_buffer || ActionView::OutputBuffer.new; require 'nested_form/view_helper'
class ActionView::Base
include NestedForm::ViewHelper
end
_attrs = @resource.persisted? ? edit_attrs : new_attrs
_url = @resource.persisted? ? resource_url(@resource) : collection_url
@output_buffer.append= nested_form_for([*(resource_path + [@resource])], as: resource_name_u, url: _url) do |f| @output_buffer.safe_append='
'; if @resource.errors.any?
@output_buffer.safe_append='
';@output_buffer.append=( "#{pluralize(@resource.errors.count, "error")} prohibited this character from being saved:" );@output_buffer.safe_append='
'; @resource.errors.full_messages.each do |msg|
@output_buffer.safe_append=' -
';@output_buffer.append=( msg );@output_buffer.safe_append='
'; end
@output_buffer.safe_append='
'; end
@output_buffer.safe_append='
'; end
@output_buffer.safe_append='
';@output_buffer.to_s
ensure
@virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
end
Backtrace: /home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:299:in `module_eval'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:299:in `compile'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:248:in `block in compile!'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:236:in `synchronize'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:236:in `compile!'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:142:in `block in render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:141:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/partial_renderer.rb:278:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/renderer.rb:47:in `render_partial'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/helpers/rendering_helper.rb:27:in `render'
/home/geoffroy/projects/iord/app/views/edit.html.erb:2:in `__home_geoffroy_projects_iord_app_views_edit_html_erb__898480487430004312_69875397120960'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:143:in `block in render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:141:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:48:in `block in render_template'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:47:in `render_template'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:17:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/renderer.rb:42:in `render_template'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/renderer.rb:23:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:127:in `_render_template'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/streaming.rb:219:in `_render_template'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:120:in `render_to_body'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/rendering.rb:33:in `render_to_body'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/renderers.rb:26:in `render_to_body'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:97:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/rendering.rb:16:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/core_ext/benchmark.rb:12:in `ms'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:41:in `block in render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:40:in `render'
/home/geoffroy/projects/iord/lib/iord/crud.rb:48:in `block (2 levels) in edit'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/mime_responds.rb:191:in `call'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/mime_responds.rb:191:in `respond_to'
/home/geoffroy/projects/iord/lib/iord/crud.rb:47:in `edit'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/base.rb:189:in `process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/rendering.rb:10:in `process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:393:in `_run__3863287134223493858__process_action__callbacks'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:80:in `run_callbacks'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/callbacks.rb:17:in `process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/rescue.rb:29:in `process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/base.rb:136:in `process'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:44:in `process'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/test_case.rb:569:in `process'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/test_case.rb:64:in `process'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/test_case.rb:469:in `get'
/home/geoffroy/projects/iord/test/controllers/products_controller_test.rb:24:in `block in '
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1258:in `run'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:933:in `block in _run_suite'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:926:in `map'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:926:in `_run_suite'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/parallel_each.rb:71:in `block in _run_suites'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/parallel_each.rb:71:in `map'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/parallel_each.rb:71:in `_run_suites'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:877:in `_run_anything'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1085:in `run_tests'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1072:in `block in _run'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1071:in `each'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1071:in `_run'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1059:in `run'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:795:in `block in autorun'
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.2ms)
Completed 500 Internal Server Error in 43ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3d29573533734c040000'), "name"=>"Mr. Ashlynn Stark", "reference"=>"Ms. Marion Kassulke", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4366ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms
Completed 200 OK in 10ms (Views: 9.9ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3d29573533734c050000'), "name"=>"Beryl Armstrong", "reference"=>"Allan Green", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4470ms
Processing by ProductsController#new as HTML
ERROR: compiling __home_geoffroy_projects_iord_app_views__form_html_erb__1352920199053138320_69875369254280 RAISED /home/geoffroy/projects/iord/app/views/_form.html.erb:2: class definition in method body
Function body: def __home_geoffroy_projects_iord_app_views__form_html_erb__1352920199053138320_69875369254280(local_assigns, output_buffer)
_old_virtual_path, @virtual_path = @virtual_path, "_form";_old_output_buffer = @output_buffer;;@output_buffer = output_buffer || ActionView::OutputBuffer.new; require 'nested_form/view_helper'
class ActionView::Base
include NestedForm::ViewHelper
end
_attrs = @resource.persisted? ? edit_attrs : new_attrs
_url = @resource.persisted? ? resource_url(@resource) : collection_url
@output_buffer.append= nested_form_for([*(resource_path + [@resource])], as: resource_name_u, url: _url) do |f| @output_buffer.safe_append='
'; if @resource.errors.any?
@output_buffer.safe_append='
';@output_buffer.append=( "#{pluralize(@resource.errors.count, "error")} prohibited this character from being saved:" );@output_buffer.safe_append='
'; @resource.errors.full_messages.each do |msg|
@output_buffer.safe_append=' -
';@output_buffer.append=( msg );@output_buffer.safe_append='
'; end
@output_buffer.safe_append='
'; end
@output_buffer.safe_append='
'; end
@output_buffer.safe_append='
';@output_buffer.to_s
ensure
@virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
end
Backtrace: /home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:299:in `module_eval'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:299:in `compile'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:248:in `block in compile!'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:236:in `synchronize'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:236:in `compile!'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:142:in `block in render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:141:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/partial_renderer.rb:278:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/renderer.rb:47:in `render_partial'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/helpers/rendering_helper.rb:27:in `render'
/home/geoffroy/projects/iord/app/views/new.html.erb:2:in `__home_geoffroy_projects_iord_app_views_new_html_erb___81344466015872020_69875389095080'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:143:in `block in render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/template.rb:141:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:48:in `block in render_template'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:47:in `render_template'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/template_renderer.rb:17:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/renderer.rb:42:in `render_template'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_view/renderer/renderer.rb:23:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:127:in `_render_template'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/streaming.rb:219:in `_render_template'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:120:in `render_to_body'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/rendering.rb:33:in `render_to_body'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/renderers.rb:26:in `render_to_body'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:97:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/rendering.rb:16:in `render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/core_ext/benchmark.rb:12:in `ms'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:41:in `block in render'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:40:in `render'
/home/geoffroy/projects/iord/lib/iord/crud.rb:41:in `block (2 levels) in new'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/mime_responds.rb:191:in `call'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/mime_responds.rb:191:in `respond_to'
/home/geoffroy/projects/iord/lib/iord/crud.rb:40:in `new'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/base.rb:189:in `process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/rendering.rb:10:in `process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:393:in `_run__3863287134223493858__process_action__callbacks'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:80:in `run_callbacks'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/callbacks.rb:17:in `process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/rescue.rb:29:in `process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `block in instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `instrument'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/base.rb:136:in `process'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:44:in `process'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/test_case.rb:569:in `process'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/test_case.rb:64:in `process'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.2/lib/action_controller/test_case.rb:469:in `get'
/home/geoffroy/projects/iord/test/controllers/products_controller_test.rb:19:in `block in '
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1258:in `run'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:933:in `block in _run_suite'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:926:in `map'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:926:in `_run_suite'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/parallel_each.rb:71:in `block in _run_suites'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/parallel_each.rb:71:in `map'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/parallel_each.rb:71:in `_run_suites'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:877:in `_run_anything'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1085:in `run_tests'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1072:in `block in _run'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1071:in `each'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1071:in `_run'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:1059:in `run'
/home/geoffroy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/minitest-4.7.5/lib/minitest/unit.rb:795:in `block in autorun'
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.0ms)
Completed 500 Internal Server Error in 3ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3d29573533734c060000'), "name"=>"Vernon Bins IV", "reference"=>"Esta Dickens", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4352ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd3d29573533734c060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3d29573533734c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2636ms
Completed 200 OK in 4ms (Views: 2.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3d29573533734c070000'), "name"=>"Ahmed Thiel", "reference"=>"Percy Cremin", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3783ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd3d29573533734c070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3d29573533734c070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2649ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3d29573533734c070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3368ms
Redirected to http://test.host/products/52fd3d29573533734c070000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6260ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2930ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2865ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3d5f5735337378000000'), "name"=>"Laila O'Hara", "reference"=>"Dr. Lucienne Ernser", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4332ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3d5f5735337378010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4128ms
Redirected to http://test.host/products/52fd3d5f5735337378010000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3d5f5735337378020000'), "name"=>"Milton Koelpin", "reference"=>"Ben Bahringer", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3274ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd3d5f5735337378020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3d5f5735337378020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3d5f5735337378020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3568ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3d5f5735337378030000'), "name"=>"Kyle Pagac PhD", "reference"=>"Denis Steuber", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2946ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd3d5f5735337378030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3d5f5735337378030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2863ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (5.5ms)
Completed 200 OK in 23ms (Views: 22.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3d5f5735337378040000'), "name"=>"Mrs. Aliyah Wuckert", "reference"=>"Rachel McDermott", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4790ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3258ms
Completed 200 OK in 5ms (Views: 4.4ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3d5f5735337378050000'), "name"=>"Calista Lowe", "reference"=>"Samara Wiza", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3364ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.7ms)
Completed 200 OK in 4ms (Views: 3.5ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3d5f5735337378060000'), "name"=>"Scottie Barton", "reference"=>"Carolyne Cummerata", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4103ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd3d5f5735337378060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3d5f5735337378060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms
Completed 200 OK in 4ms (Views: 2.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3d5f5735337378070000'), "name"=>"Krista Hettinger", "reference"=>"Orval Keebler", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8777ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd3d5f5735337378070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3d5f5735337378070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3916ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3d5f5735337378070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4952ms
Redirected to http://test.host/products/52fd3d5f5735337378070000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7033ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3682ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3566ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3fc257353374cc000000'), "name"=>"Friedrich Nader", "reference"=>"Jonas Renner", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5084ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3fc257353374cc010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3623ms
Redirected to http://test.host/products/52fd3fc257353374cc010000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3fc257353374cc020000'), "name"=>"Cordie Kris", "reference"=>"Mrs. Lorine Watsica", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3931ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd3fc257353374cc020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3fc257353374cc020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3452ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3fc257353374cc020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3358ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3fc257353374cc030000'), "name"=>"Kristofer Botsford DDS", "reference"=>"Kareem Bauch", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3097ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd3fc257353374cc030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3fc257353374cc030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2700ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (4.8ms)
Completed 200 OK in 23ms (Views: 21.4ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3fc257353374cc040000'), "name"=>"Dejah Lynch", "reference"=>"Edyth Johnston", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4270ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3384ms
Completed 200 OK in 5ms (Views: 4.4ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3fc257353374cc050000'), "name"=>"Miss Kaitlyn Nicolas", "reference"=>"Kennedi Barton", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3269ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 3.5ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3fc257353374cc060000'), "name"=>"Diego Lemke", "reference"=>"Elvis Kling", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3721ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd3fc257353374cc060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3fc257353374cc060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2590ms
Completed 200 OK in 4ms (Views: 2.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3fc257353374cc070000'), "name"=>"Herminia Blick", "reference"=>"Geovanni Hammes", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3450ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd3fc257353374cc070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3fc257353374cc070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2758ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3fc257353374cc070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4713ms
Redirected to http://test.host/products/52fd3fc257353374cc070000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6680ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2905ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2920ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3fdd57353374f7000000'), "name"=>"Greyson Schuppe", "reference"=>"Molly Bartoletti", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5735ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3fdd57353374f7010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3725ms
Redirected to http://test.host/products/52fd3fdd57353374f7010000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3fdd57353374f7020000'), "name"=>"Ms. Laisha Considine", "reference"=>"Adelbert Mante", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3605ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd3fdd57353374f7020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3fdd57353374f7020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3fdd57353374f7020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3343ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3fdd57353374f7030000'), "name"=>"Cordelia Bergstrom Jr.", "reference"=>"Kaylin Lueilwitz DVM", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3215ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd3fdd57353374f7030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3fdd57353374f7030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2987ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (5.0ms)
Completed 200 OK in 23ms (Views: 21.8ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3fdd57353374f7040000'), "name"=>"Nolan Friesen", "reference"=>"Helga Roob", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5436ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3249ms
Completed 200 OK in 5ms (Views: 4.4ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3fdd57353374f7050000'), "name"=>"Vada Mante I", "reference"=>"Ezequiel Upton", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3200ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 3.5ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3fdd57353374f7060000'), "name"=>"Abe Gorczany", "reference"=>"Hershel Corkery", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3662ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd3fdd57353374f7060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3fdd57353374f7060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2647ms
Completed 200 OK in 4ms (Views: 2.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd3fdd57353374f7070000'), "name"=>"Mariana Nicolas", "reference"=>"Tod Pagac", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3859ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd3fdd57353374f7070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3fdd57353374f7070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2715ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd3fdd57353374f7070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4967ms
Redirected to http://test.host/products/52fd3fdd57353374f7070000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6561ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3235ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3391ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6514ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 21.1131ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
Processing by Iord::GenericController#index as HTML
Rendered /home/geoffroy/projects/iord/app/views/index.html.erb within layouts/application (6.3ms)
Completed 500 Internal Server Error in 23ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6324ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2061ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
Processing by Iord::GenericController#index as HTML
Rendered /home/geoffroy/projects/iord/app/views/index.html.erb within layouts/application (31.2ms)
Completed 500 Internal Server Error in 47ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6738ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3129ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2300ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6771ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3758ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5065ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6282ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2630ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4580ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6301ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2884ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6967ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3276ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5231ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6684ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2709ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4210ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6440ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3197ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2659ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7109ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3100ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2423ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
Processing by Iord::GenericController#index as HTML
Parameters: {"path"=>"/clients"}
Completed 500 Internal Server Error in 1ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7036ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2738ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1843ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7063ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3608ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2946ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
Processing by Iord::GenericController#index as HTML
Rendered /home/geoffroy/projects/iord/app/views/index.html.erb within layouts/application (29.8ms)
Completed 500 Internal Server Error in 46ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6726ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3015ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2357ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
Processing by Iord::GenericController#index as HTML
Rendered /home/geoffroy/projects/iord/app/views/index.html.erb within layouts/application (6.3ms)
Completed 500 Internal Server Error in 62357ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6561ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2679ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2004ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
Processing by Iord::GenericController#index as HTML
Rendered /home/geoffroy/projects/iord/app/views/index.html.erb within layouts/application (33.0ms)
Completed 500 Internal Server Error in 18268ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6689ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2769ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2221ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
Processing by Iord::GenericController#index as HTML
Rendered /home/geoffroy/projects/iord/app/views/index.html.erb within layouts/application (9981.1ms)
Completed 500 Internal Server Error in 14412ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6839ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2242ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms
Rendered /home/geoffroy/projects/iord/app/views/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 23ms (Views: 12.1ms)
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6498ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2676ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2689ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms
Rendered /home/geoffroy/projects/iord/app/views/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 27ms (Views: 15.2ms)
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd449c5735337870000000'), "name"=>"Miss Maggie Windler", "reference"=>"Uriel Armstrong", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4729ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd449c5735337870010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3383ms
Completed 500 Internal Server Error in 3ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd449c5735337870020000'), "name"=>"Loy Quitzon", "reference"=>"Jedidiah Johnson", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4216ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd449c5735337870020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd449c5735337870020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3214ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd449c5735337870020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.5424ms
Redirected to http://test.host/products
Completed 302 Found in 16ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd449c5735337870030000'), "name"=>"Mrs. Colten Block", "reference"=>"Zoie O'Hara I", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2779ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd449c5735337870030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd449c5735337870030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2972ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (5.3ms)
Completed 200 OK in 11ms (Views: 10.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd449c5735337870040000'), "name"=>"Bella Howell", "reference"=>"Wilson Zulauf Sr.", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4818ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3233ms
Completed 200 OK in 5ms (Views: 4.3ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd449c5735337870050000'), "name"=>"Ms. Aditya Romaguera", "reference"=>"Carter Howe", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 3.4ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd449c5735337870060000'), "name"=>"Anais Brakus", "reference"=>"Garfield Bogisich PhD", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3962ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd449c5735337870060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd449c5735337870060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms
Completed 200 OK in 4ms (Views: 2.4ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd449c5735337870070000'), "name"=>"Julia Pfeffer", "reference"=>"Tatyana White", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4734ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd449c5735337870070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd449c5735337870070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3715ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd449c5735337870070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4591ms
Completed 500 Internal Server Error in 5ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6450ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2814ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2658ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4695ms
Rendered /home/geoffroy/projects/iord/app/views/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 28ms (Views: 15.7ms)
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd44ca573533789d000000'), "name"=>"Francisco Doyle", "reference"=>"Allie Beer", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4605ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd44ec573533789d010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4542ms
Completed 500 Internal Server Error in 34256ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd44ec573533789d020000'), "name"=>"Augusta Dietrich", "reference"=>"Buck Bechtelar", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3750ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd44ec573533789d020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd44ec573533789d020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3503ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd44ec573533789d020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2940ms
Redirected to http://test.host/products
Completed 302 Found in 381ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd44ec573533789d030000'), "name"=>"Dr. Giovanna Wunsch", "reference"=>"Donnie Anderson V", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2563ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd44ec573533789d030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd44ec573533789d030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3675ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (4.8ms)
Completed 200 OK in 218ms (Views: 9.7ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd44ec573533789d040000'), "name"=>"Maddison Stracke", "reference"=>"Ms. Emile Hammes", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5744ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4235ms
Completed 200 OK in 273ms (Views: 4.8ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd44ed573533789d050000'), "name"=>"Whitney Dooley", "reference"=>"Emerson Lubowitz DVM", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3215ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.7ms)
Completed 200 OK in 232ms (Views: 3.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd44ed573533789d060000'), "name"=>"Casey O'Kon", "reference"=>"Dr. Arely Miller", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4332ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd44ed573533789d060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd44ed573533789d060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4113ms
Completed 200 OK in 280ms (Views: 2.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd44ed573533789d070000'), "name"=>"Kaitlyn Klocko", "reference"=>"Manuel Towne", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4151ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd44ed573533789d070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd44ed573533789d070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3975ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd44ed573533789d070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3617ms
Completed 500 Internal Server Error in 280ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6659ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2954ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2757ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4410ms
Rendered /home/geoffroy/projects/iord/app/views/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 28ms (Views: 15.4ms)
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd44f157353378c9000000'), "name"=>"Miss Vicente Hahn", "reference"=>"Mr. Pascale Schmidt", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4774ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd44f757353378c9010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5148ms
Redirected to http://test.host/products/52fd44f757353378c9010000
Completed 302 Found in 6578ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd44f757353378c9020000'), "name"=>"Garnett Bahringer MD", "reference"=>"Laurel Gottlieb", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3564ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd44f757353378c9020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd44f757353378c9020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd44f757353378c9020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms
Redirected to http://test.host/products
Completed 302 Found in 145ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd44f757353378c9030000'), "name"=>"Lucio Lockman", "reference"=>"Ms. Kyler Hagenes", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2753ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd44f757353378c9030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd44f757353378c9030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3851ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (5.2ms)
Completed 200 OK in 163ms (Views: 10.3ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd44f857353378c9040000'), "name"=>"Troy Smitham", "reference"=>"Pinkie Hilll", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4136ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms
Completed 200 OK in 139ms (Views: 4.7ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd44f857353378c9050000'), "name"=>"Maymie Lind II", "reference"=>"Heather Wiegand", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3194ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.7ms)
Completed 200 OK in 145ms (Views: 3.8ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd44f857353378c9060000'), "name"=>"Richard Hegmann", "reference"=>"Jonas Roob Jr.", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4563ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd44f857353378c9060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd44f857353378c9060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3478ms
Completed 200 OK in 130ms (Views: 2.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd44f857353378c9070000'), "name"=>"Pietro Johnson DVM", "reference"=>"Leola Rutherford", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3904ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd44f857353378c9070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd44f857353378c9070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3622ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd44f857353378c9070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3579ms
Redirected to http://test.host/products/52fd44f857353378c9070000
Completed 302 Found in 136ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6405ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3063ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2956ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4530ms
Rendered /home/geoffroy/projects/iord/app/views/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 27ms (Views: 15.4ms)
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4503573533790c000000'), "name"=>"Zella Labadie", "reference"=>"Tyreek Adams", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4541ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4503573533790c010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3247ms
Redirected to http://test.host/products/52fd4503573533790c010000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4503573533790c020000'), "name"=>"Tabitha Luettgen", "reference"=>"Devan Stark", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3664ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd4503573533790c020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4503573533790c020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3055ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4503573533790c020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3722ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4503573533790c030000'), "name"=>"Kristian Leannon", "reference"=>"Jesus Grimes", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3080ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd4503573533790c030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4503573533790c030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2706ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (4.6ms)
Completed 200 OK in 10ms (Views: 9.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4503573533790c040000'), "name"=>"Colin Steuber", "reference"=>"Retha Ullrich", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3974ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3289ms
Completed 200 OK in 5ms (Views: 4.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4503573533790c050000'), "name"=>"Ola Deckow", "reference"=>"Adaline Doyle", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3450ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.7ms)
Completed 200 OK in 4ms (Views: 3.8ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4503573533790c060000'), "name"=>"Wayne Schulist", "reference"=>"Willa Lind", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4338ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd4503573533790c060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4503573533790c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms
Completed 200 OK in 4ms (Views: 2.4ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4503573533790c070000'), "name"=>"Jamar Rodriguez DVM", "reference"=>"Miss Heidi Cruickshank", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3792ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd4503573533790c070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4503573533790c070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2624ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4503573533790c070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3200ms
Redirected to http://test.host/products/52fd4503573533790c070000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6182ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2818ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2758ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd45d15735337a9c000000'), "firstname"=>"Xander", "lastname"=>"Little"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1813ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd45d15735337a9c010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3772ms
Redirected to http://test.host/clients/52fd45d15735337a9c010000
Completed 302 Found in 3ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd45d15735337a9c020000'), "firstname"=>"Concepcion", "lastname"=>"Labadie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3592ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd45d15735337a9c020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd45d15735337a9c020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6469ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd45d15735337a9c020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3647ms
Redirected to http://test.host/clients
Completed 302 Found in 34ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd45d15735337a9c030000'), "firstname"=>"Hazle", "lastname"=>"Windler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3480ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd45d15735337a9c030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd45d15735337a9c030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2982ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (4.8ms)
Completed 200 OK in 23ms (Views: 21.3ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd45d15735337a9c040000'), "firstname"=>"Arturo", "lastname"=>"Von"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4321ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3708ms
Completed 200 OK in 5ms (Views: 4.4ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd45d15735337a9c050000'), "firstname"=>"Antwon", "lastname"=>"Gulgowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3864ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.4ms)
Completed 200 OK in 4ms (Views: 3.2ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd45d15735337a9c060000'), "firstname"=>"Willow", "lastname"=>"Barrows"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3894ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd45d15735337a9c060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd45d15735337a9c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2909ms
Completed 200 OK in 4ms (Views: 2.5ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd45d15735337a9c070000'), "firstname"=>"Leda", "lastname"=>"Walter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3710ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd45d15735337a9c070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd45d15735337a9c070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3242ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd45d15735337a9c070000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3447ms
Redirected to http://test.host/clients/52fd45d15735337a9c070000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd45d15735337a9c080000'), "name"=>"Mrs. Sherwood Hodkiewicz", "reference"=>"Cleve Murazik PhD", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4349ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd45d15735337a9c090000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3581ms
Redirected to http://test.host/products/52fd45d15735337a9c090000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd45d15735337a9c0a0000'), "name"=>"Rosemarie Senger", "reference"=>"Camylle Hoeger", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3034ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd45d15735337a9c0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd45d15735337a9c0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2835ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd45d15735337a9c0a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3556ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd45d15735337a9c0b0000'), "name"=>"Raphaelle Hegmann", "reference"=>"Kevon Herzog", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4200ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd45d15735337a9c0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd45d15735337a9c0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3724ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.9ms)
Completed 200 OK in 8ms (Views: 6.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd45d15735337a9c0c0000'), "name"=>"Eunice Hettinger", "reference"=>"Janelle Hagenes", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4080ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3151ms
Completed 200 OK in 5ms (Views: 4.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd45d15735337a9c0d0000'), "name"=>"Mekhi Friesen", "reference"=>"Miss Dusty Conroy", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3179ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 3.4ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd45d15735337a9c0e0000'), "name"=>"Della Predovic", "reference"=>"Robb Lynch", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd45d15735337a9c0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd45d15735337a9c0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3112ms
Completed 200 OK in 4ms (Views: 3.0ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd45d15735337a9c0f0000'), "name"=>"Derrick Kris II", "reference"=>"Nelda Konopelski", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4194ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd45d15735337a9c0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd45d15735337a9c0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd45d15735337a9c0f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7312ms
Redirected to http://test.host/products/52fd45d15735337a9c0f0000
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7104ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3365ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3098ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2704ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd45f35735337aee000000'), "firstname"=>"Juvenal", "lastname"=>"Cole"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5014ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd45f35735337aee010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms
Redirected to http://test.host/clients/52fd45f35735337aee010000
Completed 302 Found in 3ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd45f35735337aee020000'), "firstname"=>"Winifred", "lastname"=>"Powlowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3366ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd45f35735337aee020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd45f35735337aee020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4390ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd45f35735337aee020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3134ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd45f35735337aee030000'), "firstname"=>"Fritz", "lastname"=>"Cremin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2618ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd45f35735337aee030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd45f35735337aee030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (4.9ms)
Completed 200 OK in 23ms (Views: 21.3ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd45f35735337aee040000'), "firstname"=>"Roselyn", "lastname"=>"Cruickshank"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4258ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3543ms
Completed 200 OK in 5ms (Views: 4.4ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd45f35735337aee050000'), "firstname"=>"Aida", "lastname"=>"Purdy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3256ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 3.4ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd45f35735337aee060000'), "firstname"=>"Florence", "lastname"=>"Baumbach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5048ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd45f35735337aee060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd45f35735337aee060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2588ms
Completed 200 OK in 4ms (Views: 2.4ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd45f35735337aee070000'), "firstname"=>"Bradley", "lastname"=>"Stroman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3759ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd45f35735337aee070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd45f35735337aee070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2836ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd45f35735337aee070000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3460ms
Redirected to http://test.host/clients/52fd45f35735337aee070000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd45f35735337aee080000'), "name"=>"Dr. Alessandra Stehr", "reference"=>"Carolyn Bayer", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4749ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd45f35735337aee090000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3925ms
Redirected to http://test.host/products/52fd45f35735337aee090000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd45f35735337aee0a0000'), "name"=>"Name Miller", "reference"=>"Harvey Abbott", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3726ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd45f35735337aee0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd45f35735337aee0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3391ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd45f35735337aee0a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3043ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd45f35735337aee0b0000'), "name"=>"Mr. Ashley Schmeler", "reference"=>"Meta Wunsch", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3924ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd45f35735337aee0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd45f35735337aee0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.9ms)
Completed 200 OK in 7ms (Views: 6.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd45f35735337aee0c0000'), "name"=>"Miss Asha Donnelly", "reference"=>"Antonietta Lueilwitz", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3967ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3076ms
Completed 200 OK in 5ms (Views: 4.1ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd45f35735337aee0d0000'), "name"=>"Efrain Turner", "reference"=>"Mr. Craig Swaniawski", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3491ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd45f35735337aee0e0000'), "name"=>"Ericka Green", "reference"=>"Mr. Jayden Ortiz", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3999ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd45f35735337aee0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd45f35735337aee0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms
Completed 200 OK in 4ms (Views: 2.7ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd45f35735337aee0f0000'), "name"=>"Ms. Christiana Bernhard", "reference"=>"Mr. Raymond Murray", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4485ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd45f35735337aee0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd45f35735337aee0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd45f35735337aee0f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3567ms
Redirected to http://test.host/products/52fd45f35735337aee0f0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7327ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3408ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3338ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3082ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd464d5735337b44000000'), "firstname"=>"Joe", "lastname"=>"Towne"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4536ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd464d5735337b44010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms
Redirected to http://test.host/clients/52fd464d5735337b44010000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd464d5735337b44020000'), "firstname"=>"Bernardo", "lastname"=>"Kulas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3121ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd464d5735337b44020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd464d5735337b44020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 30.6195ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd464d5735337b44020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6135ms
Redirected to http://test.host/clients
Completed 302 Found in 35ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd464d5735337b44030000'), "firstname"=>"Marlen", "lastname"=>"Gerlach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3285ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd464d5735337b44030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd464d5735337b44030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3096ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (5.1ms)
Completed 200 OK in 23ms (Views: 21.7ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd464d5735337b44040000'), "firstname"=>"Meggie", "lastname"=>"Daugherty"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4559ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3264ms
Completed 200 OK in 5ms (Views: 4.5ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd464d5735337b44050000'), "firstname"=>"Twila", "lastname"=>"Konopelski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3211ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 3.4ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd464d5735337b44060000'), "firstname"=>"Alysson", "lastname"=>"Mante"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4016ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd464d5735337b44060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd464d5735337b44060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2463ms
Completed 200 OK in 4ms (Views: 2.4ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd464d5735337b44070000'), "firstname"=>"Anna", "lastname"=>"Reichert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3625ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd464d5735337b44070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd464d5735337b44070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3389ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd464d5735337b44070000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5389ms
Redirected to http://test.host/clients/52fd464d5735337b44070000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd464d5735337b44080000'), "firstname"=>"Bart", "lastname"=>"Sawayn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3029ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd464d5735337b44090000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3511ms
Redirected to http://test.host/clients/52fd464d5735337b44090000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd464d5735337b440a0000'), "firstname"=>"Albertha", "lastname"=>"Halvorson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2549ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd464d5735337b440a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd464d5735337b440a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2778ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd464d5735337b440a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2779ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd464d5735337b440b0000'), "firstname"=>"Candelario", "lastname"=>"Kuvalis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2584ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd464d5735337b440b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd464d5735337b440b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 2.7ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd464d5735337b440c0000'), "firstname"=>"Alexandra", "lastname"=>"D'Amore"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3402ms
Completed 200 OK in 5ms (Views: 4.7ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd464d5735337b440d0000'), "firstname"=>"Claude", "lastname"=>"Turcotte"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.5ms)
Completed 200 OK in 3ms (Views: 2.5ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd464d5735337b440e0000'), "firstname"=>"Queen", "lastname"=>"Boyer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4340ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd464d5735337b440e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd464d5735337b440e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2124ms
Completed 200 OK in 3ms (Views: 1.4ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd464d5735337b440f0000'), "firstname"=>"Imani", "lastname"=>"Langosh"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2848ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd464d5735337b440f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd464d5735337b440f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2940ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd464d5735337b440f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2488ms
Redirected to http://test.host/clients/52fd464d5735337b440f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd464d5735337b44100000'), "name"=>"Annie Moen", "reference"=>"Rocky Harvey MD", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4660ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd464d5735337b44110000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4216ms
Redirected to http://test.host/products/52fd464d5735337b44110000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd464d5735337b44120000'), "name"=>"Dr. Unique Mueller", "reference"=>"Alek Hamill", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3385ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd464d5735337b44120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd464d5735337b44120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2605ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd464d5735337b44120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2541ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd464d5735337b44130000'), "name"=>"Mrs. Eloisa Collins", "reference"=>"Genoveva Wiegand I", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2809ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd464d5735337b44130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd464d5735337b44130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.9ms)
Completed 200 OK in 7ms (Views: 6.2ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd464d5735337b44140000'), "name"=>"Wilmer Dibbert", "reference"=>"Julian Gusikowski", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4093ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3339ms
Completed 200 OK in 5ms (Views: 4.4ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd464d5735337b44150000'), "name"=>"Dr. Misty Greenfelder", "reference"=>"Felicity Watsica", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4538ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (31.2ms)
Completed 200 OK in 34ms (Views: 33.6ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd464d5735337b44160000'), "name"=>"Trey Ledner", "reference"=>"Raven Graham", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4543ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd464d5735337b44160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd464d5735337b44160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3385ms
Completed 200 OK in 4ms (Views: 2.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd464d5735337b44170000'), "name"=>"Mrs. Hardy Robel", "reference"=>"Mr. Arjun MacGyver", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4428ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd464d5735337b44170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd464d5735337b44170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2693ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd464d5735337b44170000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3274ms
Redirected to http://test.host/products/52fd464d5735337b44170000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5933ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2640ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2472ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2594ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd46855735337b89000000'), "firstname"=>"Rossie", "lastname"=>"Robel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4688ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd46855735337b89010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3720ms
Redirected to http://test.host/clients/52fd46855735337b89010000
Completed 302 Found in 34ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd46855735337b89020000'), "firstname"=>"Kevon", "lastname"=>"Mayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4615ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd46855735337b89020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd46855735337b89020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2724ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd46855735337b89020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8554ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd46855735337b89030000'), "firstname"=>"Reta", "lastname"=>"Flatley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3460ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd46855735337b89030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd46855735337b89030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3209ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (5.4ms)
Completed 200 OK in 24ms (Views: 22.1ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd46855735337b89040000'), "firstname"=>"Luella", "lastname"=>"Jenkins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4710ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3598ms
Completed 200 OK in 5ms (Views: 4.4ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd46855735337b89050000'), "firstname"=>"Tianna", "lastname"=>"Bashirian"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3358ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.4ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd46855735337b89060000'), "firstname"=>"Theresia", "lastname"=>"Goldner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4037ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd46855735337b89060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd46855735337b89060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2416ms
Completed 200 OK in 4ms (Views: 2.4ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd46855735337b89070000'), "firstname"=>"Lafayette", "lastname"=>"Hirthe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4130ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd46855735337b89070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd46855735337b89070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3418ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd46855735337b89070000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5144ms
Redirected to http://test.host/clients/52fd46855735337b89070000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd46855735337b89080000'), "firstname"=>"Mazie", "lastname"=>"Weissnat"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3052ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd46855735337b89090000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3161ms
Redirected to http://test.host/clients/52fd46855735337b89090000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd46855735337b890a0000'), "firstname"=>"Birdie", "lastname"=>"Dicki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2502ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd46855735337b890a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd46855735337b890a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2524ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd46855735337b890a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2525ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd46855735337b890b0000'), "firstname"=>"Declan", "lastname"=>"Brakus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2769ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd46855735337b890b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd46855735337b890b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2639ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 2.7ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd46855735337b890c0000'), "firstname"=>"Marcellus", "lastname"=>"Renner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3155ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3311ms
Completed 200 OK in 5ms (Views: 4.7ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd46855735337b890d0000'), "firstname"=>"Tina", "lastname"=>"Bechtelar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3154ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.6ms)
Completed 200 OK in 3ms (Views: 2.6ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd46855735337b890e0000'), "firstname"=>"Hector", "lastname"=>"Hermann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4586ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd46855735337b890e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd46855735337b890e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2814ms
Completed 200 OK in 3ms (Views: 1.3ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd46855735337b890f0000'), "firstname"=>"Alexandra", "lastname"=>"Ryan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3120ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd46855735337b890f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd46855735337b890f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd46855735337b890f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2787ms
Redirected to http://test.host/clients/52fd46855735337b890f0000
Completed 302 Found in 2ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd46855735337b89100000'), "name"=>"Belle King V", "reference"=>"Mohammed Conroy", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5120ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd46855735337b89110000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4446ms
Redirected to http://test.host/products/52fd46855735337b89110000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd46855735337b89120000'), "name"=>"Chasity Schultz", "reference"=>"Bobbie Jacobs", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3119ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd46855735337b89120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd46855735337b89120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd46855735337b89120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2793ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd46855735337b89130000'), "name"=>"Jillian Rath", "reference"=>"Dwight Kirlin", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2702ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd46855735337b89130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd46855735337b89130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2304ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.8ms)
Completed 200 OK in 7ms (Views: 6.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd46855735337b89140000'), "name"=>"Adela Boehm", "reference"=>"Estell Terry", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3601ms
Completed 200 OK in 5ms (Views: 4.4ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd46855735337b89150000'), "name"=>"Yadira Zulauf", "reference"=>"Zack Greenholt", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4508ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 6.1ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd46855735337b89160000'), "name"=>"Theo Farrell", "reference"=>"Bennie Parker", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd46855735337b89160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd46855735337b89160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms
Completed 200 OK in 4ms (Views: 2.7ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd46855735337b89170000'), "name"=>"Grayson Sawayn I", "reference"=>"Maci MacGyver", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3935ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd46855735337b89170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd46855735337b89170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2868ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd46855735337b89170000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms
Redirected to http://test.host/products/52fd46855735337b89170000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd46855735337b89180000'), "firstname"=>"Ellsworth", "lastname"=>"Beahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1615ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd46855735337b89190000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4703ms
Redirected to http://test.host/users/52fd46855735337b89190000
Completed 302 Found in 2ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd46855735337b891a0000'), "firstname"=>"Velda", "lastname"=>"Emard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3085ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fd46855735337b891a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd46855735337b891a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3186ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd46855735337b891a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7169ms
Redirected to http://test.host/users
Completed 302 Found in 6ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd46855735337b891b0000'), "firstname"=>"Xavier", "lastname"=>"Rath"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3063ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fd46855735337b891b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd46855735337b891b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2755ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 5.7ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd46855735337b891c0000'), "firstname"=>"Einar", "lastname"=>"Wisoky"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4044ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3206ms
Completed 200 OK in 5ms (Views: 4.4ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd46855735337b891d0000'), "firstname"=>"Mina", "lastname"=>"McDermott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4181ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 3.6ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd46855735337b891e0000'), "firstname"=>"Adolf", "lastname"=>"Hackett"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4288ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fd46855735337b891e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd46855735337b891e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms
Completed 200 OK in 4ms (Views: 2.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd46855735337b891f0000'), "firstname"=>"Patrick", "lastname"=>"Reichel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3748ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd46855735337b891f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd46855735337b891f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fd46855735337b891f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7031ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3157ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2659ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2252ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8000000'), "name"=>"Mireya Turner", "reference"=>"Henderson Dicki DVM", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4661ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4075ms
Redirected to http://test.host/admin/products/52fd47295735337bb8010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8020000'), "name"=>"Oleta Reinger", "reference"=>"Miss Matt Doyle", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3475ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fd47295735337bb8020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd47295735337bb8020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3128ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd47295735337bb8020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3348ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8030000'), "name"=>"Piper Mueller", "reference"=>"Gilbert Zboncak", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2692ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fd47295735337bb8030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd47295735337bb8030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2389ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (4.9ms)
Completed 200 OK in 22ms (Views: 21.1ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8040000'), "name"=>"Mrs. Vella Baumbach", "reference"=>"Miss Richie Spinka", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4305ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3303ms
Completed 200 OK in 5ms (Views: 4.3ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8050000'), "name"=>"Jackeline Kohler", "reference"=>"Ocie Marvin", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3116ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.6ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8060000'), "name"=>"Samantha Torphy", "reference"=>"Granville Cummerata", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3871ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fd47295735337bb8060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd47295735337bb8060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2444ms
Completed 200 OK in 4ms (Views: 2.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8070000'), "name"=>"Danielle Hyatt", "reference"=>"Marguerite Cartwright DDS", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3692ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd47295735337bb8070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd47295735337bb8070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3019ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd47295735337bb8070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4927ms
Redirected to http://test.host/admin/products/52fd47295735337bb8070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8080000'), "firstname"=>"Tristian", "lastname"=>"Kuvalis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4332ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3165ms
Redirected to http://test.host/admin/users/52fd47295735337bb8090000
Completed 302 Found in 2ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb80a0000'), "firstname"=>"Billy", "lastname"=>"Block"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3663ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fd47295735337bb80a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd47295735337bb80a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2643ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd47295735337bb80a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3280ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb80b0000'), "firstname"=>"Vida", "lastname"=>"Torp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2941ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fd47295735337bb80b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd47295735337bb80b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2503ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 5.6ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb80c0000'), "firstname"=>"Abigail", "lastname"=>"Schaefer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3979ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3706ms
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb80d0000'), "firstname"=>"Donald", "lastname"=>"Beier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3027ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.4ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb80e0000'), "firstname"=>"Morris", "lastname"=>"Flatley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4286ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fd47295735337bb80e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd47295735337bb80e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3074ms
Completed 200 OK in 32ms (Views: 30.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb80f0000'), "firstname"=>"Maverick", "lastname"=>"Ruecker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4627ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd47295735337bb80f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd47295735337bb80f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2744ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fd47295735337bb80f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8100000'), "firstname"=>"Michel", "lastname"=>"Pouros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7015ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 2ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8110000'), "firstname"=>"Onie", "lastname"=>"Christiansen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4059ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd47295735337bb8110000"}
Completed 500 Internal Server Error in 1ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8120000'), "firstname"=>"Modesta", "lastname"=>"Harber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3857ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd47295735337bb8120000"}
Completed 500 Internal Server Error in 1ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8130000'), "firstname"=>"Neha", "lastname"=>"Gislason"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3331ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 1ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8140000'), "firstname"=>"Zechariah", "lastname"=>"Kozey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms
Processing by Iord::GenericController#new as HTML
Completed 500 Internal Server Error in 1ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8150000'), "firstname"=>"Ena", "lastname"=>"Abernathy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4621ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd47295735337bb8150000"}
Completed 500 Internal Server Error in 1ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8160000'), "firstname"=>"Luisa", "lastname"=>"Braun"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4025ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd47295735337bb8160000"}
Completed 500 Internal Server Error in 1ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8170000'), "firstname"=>"Caitlyn", "lastname"=>"Macejkovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3590ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8180000'), "firstname"=>"Prudence", "lastname"=>"Hoeger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3980ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd47295735337bb8180000"}
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8190000'), "firstname"=>"Brennan", "lastname"=>"Spinka"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4018ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd47295735337bb8190000"}
Completed 500 Internal Server Error in 1ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb81a0000'), "firstname"=>"Michale", "lastname"=>"Bernier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3960ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 1ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb81b0000'), "firstname"=>"Mariela", "lastname"=>"Huels"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms
Processing by Iord::GenericController#new as HTML
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb81c0000'), "firstname"=>"Collin", "lastname"=>"Bednar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4755ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd47295735337bb81c0000"}
Completed 500 Internal Server Error in 1ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb81d0000'), "firstname"=>"Allan", "lastname"=>"Reichert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4417ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd47295735337bb81d0000"}
Completed 500 Internal Server Error in 1ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb81e0000'), "name"=>"Lisette Weber", "reference"=>"Ms. Maximus Runolfsson", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4255ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb81f0000'), "name"=>"Mr. Eileen Altenwerth", "reference"=>"Genevieve Kohler II", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3978ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd47295735337bb81f0000"}
Completed 500 Internal Server Error in 1ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8200000'), "name"=>"Mr. Kellie Powlowski", "reference"=>"Aaron Wolf PhD", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3792ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd47295735337bb8200000"}
Completed 500 Internal Server Error in 1ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8210000'), "name"=>"Gilda Robel", "reference"=>"Myah Ebert", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3707ms
Processing by ProductsController#index as HTML
Completed 500 Internal Server Error in 1ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8220000'), "name"=>"Elmer Hilll", "reference"=>"Mac Batz", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4072ms
Processing by ProductsController#new as HTML
Completed 500 Internal Server Error in 1ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8230000'), "name"=>"Jeremie Stanton III", "reference"=>"Mr. Alice Sawayn", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4218ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd47295735337bb8230000"}
Completed 500 Internal Server Error in 1ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8240000'), "name"=>"Paolo Huel MD", "reference"=>"Chanelle Grimes", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd47295735337bb8240000"}
Completed 500 Internal Server Error in 1ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8250000'), "firstname"=>"Eldon", "lastname"=>"Feest"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8260000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3285ms
Redirected to http://test.host/users/52fd47295735337bb8260000
Completed 302 Found in 2ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8270000'), "firstname"=>"Wayne", "lastname"=>"Yundt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3106ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fd47295735337bb8270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd47295735337bb8270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2916ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd47295735337bb8270000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3175ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8280000'), "firstname"=>"Pablo", "lastname"=>"VonRueden"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3344ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fd47295735337bb8280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd47295735337bb8280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3007ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (3.0ms)
Completed 200 OK in 8ms (Views: 6.5ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb8290000'), "firstname"=>"Desmond", "lastname"=>"Terry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4121ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4057ms
Completed 200 OK in 7ms (Views: 6.1ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb82a0000'), "firstname"=>"Calista", "lastname"=>"Stark"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3350ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb82b0000'), "firstname"=>"Juliana", "lastname"=>"Bauch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fd47295735337bb82b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd47295735337bb82b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms
Completed 200 OK in 4ms (Views: 2.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd47295735337bb82c0000'), "firstname"=>"Triston", "lastname"=>"Runolfsdottir"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4556ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd47295735337bb82c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd47295735337bb82c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3988ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fd47295735337bb82c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6329ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3111ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3682ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2698ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa000000'), "name"=>"Delphia Nader Sr.", "reference"=>"Estel Bogan", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4690ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4362ms
Redirected to http://test.host/admin/products/52fd476b5735337bfa010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa020000'), "name"=>"Dr. Terence Frami", "reference"=>"Dr. Orin Barrows", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3328ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fd476b5735337bfa020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd476b5735337bfa020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd476b5735337bfa020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2833ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa030000'), "name"=>"Eugene Rau III", "reference"=>"Whitney Baumbach", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2758ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fd476b5735337bfa030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd476b5735337bfa030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2394ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (5.0ms)
Completed 200 OK in 22ms (Views: 21.1ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa040000'), "name"=>"Mrs. Keshaun Harber", "reference"=>"Erwin Raynor III", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4320ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3405ms
Completed 200 OK in 5ms (Views: 4.4ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa050000'), "name"=>"Wilhelm Bashirian", "reference"=>"Jeramie Cremin II", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3143ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.7ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa060000'), "name"=>"Dr. Brown Kozey", "reference"=>"Keshawn O'Connell DDS", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fd476b5735337bfa060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd476b5735337bfa060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2339ms
Completed 200 OK in 4ms (Views: 2.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa070000'), "name"=>"Joanne Anderson DDS", "reference"=>"Dr. Ressie Reinger", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3593ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd476b5735337bfa070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd476b5735337bfa070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2286ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd476b5735337bfa070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3621ms
Redirected to http://test.host/admin/products/52fd476b5735337bfa070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa080000'), "firstname"=>"Kathryn", "lastname"=>"Swaniawski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5215ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3590ms
Redirected to http://test.host/admin/users/52fd476b5735337bfa090000
Completed 302 Found in 2ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa0a0000'), "firstname"=>"Amya", "lastname"=>"Lindgren"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3413ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fd476b5735337bfa0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd476b5735337bfa0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3229ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd476b5735337bfa0a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3688ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa0b0000'), "firstname"=>"Hugh", "lastname"=>"Berge"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3071ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fd476b5735337bfa0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd476b5735337bfa0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2511ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.7ms)
Completed 200 OK in 7ms (Views: 5.9ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa0c0000'), "firstname"=>"Ella", "lastname"=>"Lynch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3976ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4529ms
Completed 200 OK in 6ms (Views: 5.5ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa0d0000'), "firstname"=>"Terry", "lastname"=>"Tillman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3639ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.5ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa0e0000'), "firstname"=>"Clarabelle", "lastname"=>"Nienow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4069ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fd476b5735337bfa0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd476b5735337bfa0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2716ms
Completed 200 OK in 4ms (Views: 2.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa0f0000'), "firstname"=>"Christian", "lastname"=>"Kautzer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3613ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd476b5735337bfa0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd476b5735337bfa0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3424ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fd476b5735337bfa0f0000
Completed 302 Found in 4ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa100000'), "firstname"=>"Nathen", "lastname"=>"Mueller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5030ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 2ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa110000'), "firstname"=>"Kendra", "lastname"=>"Volkman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd476b5735337bfa110000"}
Completed 500 Internal Server Error in 1ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa120000'), "firstname"=>"Madisen", "lastname"=>"Dietrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3756ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd476b5735337bfa120000"}
Completed 500 Internal Server Error in 1ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa130000'), "firstname"=>"Cleveland", "lastname"=>"Streich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3701ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 1ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa140000'), "firstname"=>"Lula", "lastname"=>"Casper"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3717ms
Processing by Iord::GenericController#new as HTML
Completed 500 Internal Server Error in 1ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa150000'), "firstname"=>"Mateo", "lastname"=>"Champlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4698ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd476b5735337bfa150000"}
Completed 500 Internal Server Error in 1ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa160000'), "firstname"=>"Ashlynn", "lastname"=>"Gulgowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3595ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd476b5735337bfa160000"}
Completed 500 Internal Server Error in 1ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa170000'), "firstname"=>"Zechariah", "lastname"=>"Harris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3538ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa180000'), "firstname"=>"Kole", "lastname"=>"Schumm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3209ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd476b5735337bfa180000"}
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa190000'), "firstname"=>"Will", "lastname"=>"Jones"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3456ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd476b5735337bfa190000"}
Completed 500 Internal Server Error in 1ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa1a0000'), "firstname"=>"Camille", "lastname"=>"Buckridge"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 1ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa1b0000'), "firstname"=>"Filomena", "lastname"=>"Bednar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3374ms
Processing by Iord::GenericController#new as HTML
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa1c0000'), "firstname"=>"Everardo", "lastname"=>"Little"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3563ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd476b5735337bfa1c0000"}
Completed 500 Internal Server Error in 1ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa1d0000'), "firstname"=>"Jean", "lastname"=>"Zulauf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5014ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd476b5735337bfa1d0000"}
Completed 500 Internal Server Error in 1ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa1e0000'), "name"=>"Rod Christiansen", "reference"=>"Annabelle Borer", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4379ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa1f0000'), "name"=>"Mara Leuschke PhD", "reference"=>"Kiarra Zemlak III", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd476b5735337bfa1f0000"}
Completed 500 Internal Server Error in 1ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa200000'), "name"=>"Vicky Ledner", "reference"=>"Dr. Wayne Halvorson", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3656ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd476b5735337bfa200000"}
Completed 500 Internal Server Error in 1ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa210000'), "name"=>"Lawrence Streich DVM", "reference"=>"Raegan Lebsack", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms
Processing by ProductsController#index as HTML
Completed 500 Internal Server Error in 1ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa220000'), "name"=>"Koby Stark Sr.", "reference"=>"Leslie Hills", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2705ms
Processing by ProductsController#new as HTML
Completed 500 Internal Server Error in 1ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa230000'), "name"=>"Vernon Yundt", "reference"=>"Mariela Kris", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4409ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd476b5735337bfa230000"}
Completed 500 Internal Server Error in 1ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa240000'), "name"=>"Dayton Trantow III", "reference"=>"Dr. Alicia Kohler", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3917ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd476b5735337bfa240000"}
Completed 500 Internal Server Error in 1ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa250000'), "firstname"=>"Sophia", "lastname"=>"Bogan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4076ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa260000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3660ms
Redirected to http://test.host/users/52fd476b5735337bfa260000
Completed 302 Found in 2ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa270000'), "firstname"=>"Elizabeth", "lastname"=>"Funk"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3711ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fd476b5735337bfa270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd476b5735337bfa270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3052ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd476b5735337bfa270000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2591ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa280000'), "firstname"=>"Kelsi", "lastname"=>"Carter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fd476b5735337bfa280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd476b5735337bfa280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3137ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.4ms)
Completed 200 OK in 7ms (Views: 5.6ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa290000'), "firstname"=>"Norberto", "lastname"=>"Greenholt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4123ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3574ms
Completed 200 OK in 7ms (Views: 6.1ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa2a0000'), "firstname"=>"Eugenia", "lastname"=>"Lockman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3281ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa2b0000'), "firstname"=>"Dandre", "lastname"=>"Moore"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3877ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fd476b5735337bfa2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd476b5735337bfa2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4292ms
Completed 200 OK in 5ms (Views: 2.8ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd476b5735337bfa2c0000'), "firstname"=>"Thurman", "lastname"=>"Littel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4206ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd476b5735337bfa2c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd476b5735337bfa2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2410ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fd476b5735337bfa2c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6456ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2917ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3493ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2776ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2681ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd48075735337c4c000000'), "name"=>"Darron Goyette", "reference"=>"Leta Dickinson", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4828ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd48105735337c4c010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5422ms
Redirected to http://test.host/admin/products/52fd48105735337c4c010000
Completed 302 Found in 9522ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd48105735337c4c020000'), "name"=>"Cordelia Berge", "reference"=>"Tremayne White", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3643ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fd48105735337c4c020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd48105735337c4c020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4261ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd48105735337c4c020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3694ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2646ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd48135735337c4c030000'), "name"=>"Bobby Brakus", "reference"=>"Enos Bradtke", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2942ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fd48135735337c4c030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd48135735337c4c030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4329ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (5.3ms)
Completed 200 OK in 3684ms (Views: 18.2ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd48175735337c4c040000'), "name"=>"Blanche Schmitt PhD", "reference"=>"Sydni Rutherford Sr.", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4600ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4296ms
Completed 200 OK in 1116ms (Views: 4.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd48185735337c4c050000'), "name"=>"Ms. Kay Botsford", "reference"=>"Treva Yost", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3390ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.9ms)
Completed 200 OK in 1312ms (Views: 3.9ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd48195735337c4c060000'), "name"=>"Kenton O'Reilly", "reference"=>"Cory Jacobi", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4889ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fd48195735337c4c060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd48195735337c4c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3484ms
Completed 200 OK in 1384ms (Views: 2.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd481a5735337c4c070000'), "name"=>"Jordon Denesik", "reference"=>"Milford Jast", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3651ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd481a5735337c4c070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd481a5735337c4c070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4136ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd481a5735337c4c070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3617ms
Redirected to http://test.host/admin/products/52fd481a5735337c4c070000
Completed 302 Found in 1677ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd481c5735337c4c080000'), "firstname"=>"Dejon", "lastname"=>"Fisher"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5831ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd482b5735337c4c090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4765ms
Redirected to http://test.host/admin/users/52fd482b5735337c4c090000
Completed 302 Found in 14952ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd482b5735337c4c0a0000'), "firstname"=>"Lorena", "lastname"=>"Hane"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3532ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fd482b5735337c4c0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd482b5735337c4c0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3768ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd482b5735337c4c0a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3277ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2138ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd482d5735337c4c0b0000'), "firstname"=>"Eleanora", "lastname"=>"Braun"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2795ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fd482d5735337c4c0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd482d5735337c4c0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4308ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.6ms)
Completed 200 OK in 1382ms (Views: 6.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd482f5735337c4c0c0000'), "firstname"=>"Garrick", "lastname"=>"Reichert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4266ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3856ms
Completed 200 OK in 1239ms (Views: 4.7ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd48305735337c4c0d0000'), "firstname"=>"Alvah", "lastname"=>"Bruen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3548ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.6ms)
Completed 200 OK in 1112ms (Views: 3.7ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd48315735337c4c0e0000'), "firstname"=>"Maritza", "lastname"=>"Greenfelder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4265ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fd48315735337c4c0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd48315735337c4c0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4092ms
Completed 200 OK in 1051ms (Views: 2.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd48325735337c4c0f0000'), "firstname"=>"Bailee", "lastname"=>"Bahringer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3805ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd48325735337c4c0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd48325735337c4c0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3612ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fd48325735337c4c0f0000
Completed 302 Found in 859ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd48335735337c4c100000'), "firstname"=>"Tracy", "lastname"=>"Terry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4601ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd48335735337c4c110000'), "firstname"=>"Kennedi", "lastname"=>"Ledner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4612ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd48335735337c4c110000"}
Completed 500 Internal Server Error in 1ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd48335735337c4c120000'), "firstname"=>"Barney", "lastname"=>"Hackett"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 7.1689ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd48335735337c4c120000"}
Completed 500 Internal Server Error in 1ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd48335735337c4c130000'), "firstname"=>"Meghan", "lastname"=>"Breitenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4556ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 1ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd48335735337c4c140000'), "firstname"=>"Ferne", "lastname"=>"Ondricka"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3914ms
Processing by Iord::GenericController#new as HTML
Completed 500 Internal Server Error in 1ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd48335735337c4c150000'), "firstname"=>"Sanford", "lastname"=>"Stoltenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4122ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd48335735337c4c150000"}
Completed 500 Internal Server Error in 1ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd48335735337c4c160000'), "firstname"=>"Princess", "lastname"=>"O'Kon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd48335735337c4c160000"}
Completed 500 Internal Server Error in 1ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd48335735337c4c170000'), "firstname"=>"Aylin", "lastname"=>"Lockman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4458ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd48335735337c4c180000'), "firstname"=>"Lucinda", "lastname"=>"Pagac"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4287ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd48335735337c4c180000"}
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd48335735337c4c190000'), "firstname"=>"Luella", "lastname"=>"Pouros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3275ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd48335735337c4c190000"}
Completed 500 Internal Server Error in 1ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd48335735337c4c1a0000'), "firstname"=>"Jasmin", "lastname"=>"Kuphal"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4109ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 1ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd48335735337c4c1b0000'), "firstname"=>"Nyasia", "lastname"=>"Witting"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3647ms
Processing by Iord::GenericController#new as HTML
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd48335735337c4c1c0000'), "firstname"=>"Felton", "lastname"=>"Reichert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3732ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd48335735337c4c1c0000"}
Completed 500 Internal Server Error in 1ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd48335735337c4c1d0000'), "firstname"=>"Jakob", "lastname"=>"Borer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3366ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd48335735337c4c1d0000"}
Completed 500 Internal Server Error in 1ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd48335735337c4c1e0000'), "name"=>"Miss Sunny Thompson", "reference"=>"Alisha Cremin", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4269ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1149983ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3442ms
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cb15735337c4c1f0000'), "name"=>"Jamal Abernathy", "reference"=>"Markus Hyatt", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2695ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd4cb15735337c4c1f0000"}
Completed 500 Internal Server Error in 522ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cb15735337c4c200000'), "name"=>"Clotilde Dibbert V", "reference"=>"Athena Osinski", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4409ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd4cb15735337c4c200000"}
Completed 500 Internal Server Error in 185ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cb25735337c4c210000'), "name"=>"Janet Stamm", "reference"=>"Fae Mohr", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4993ms
Processing by ProductsController#index as HTML
Completed 500 Internal Server Error in 161ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cb25735337c4c220000'), "name"=>"Ms. Alexandrine McCullough", "reference"=>"Paxton Hodkiewicz Sr.", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4403ms
Processing by ProductsController#new as HTML
Completed 500 Internal Server Error in 208ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cb25735337c4c230000'), "name"=>"Mr. Tina Luettgen", "reference"=>"Camden VonRueden", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4824ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd4cb25735337c4c230000"}
Completed 500 Internal Server Error in 303ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cb25735337c4c240000'), "name"=>"Marilie Cartwright", "reference"=>"Makenzie Kuhn", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5144ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd4cb25735337c4c240000"}
Completed 500 Internal Server Error in 422ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cb35735337c4c250000'), "firstname"=>"Serena", "lastname"=>"Armstrong"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4492ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cb35735337c4c260000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms
Redirected to http://test.host/users/52fd4cb35735337c4c260000
Completed 302 Found in 444ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cb35735337c4c270000'), "firstname"=>"Sally", "lastname"=>"Breitenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3217ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fd4cb35735337c4c270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4cb35735337c4c270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4328ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4cb35735337c4c270000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms
Redirected to http://test.host/users
Completed 302 Found in 344ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cb45735337c4c280000'), "firstname"=>"Tod", "lastname"=>"Funk"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2683ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fd4cb45735337c4c280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4cb45735337c4c280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3644ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.2ms)
Completed 200 OK in 325ms (Views: 5.4ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cb45735337c4c290000'), "firstname"=>"Adrianna", "lastname"=>"Friesen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3934ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4468ms
Completed 200 OK in 320ms (Views: 6.4ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cb45735337c4c2a0000'), "firstname"=>"Albin", "lastname"=>"Harber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3687ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.5ms)
Completed 200 OK in 310ms (Views: 3.6ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cb55735337c4c2b0000'), "firstname"=>"Janiya", "lastname"=>"Wiza"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4325ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fd4cb55735337c4c2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4cb55735337c4c2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3856ms
Completed 200 OK in 1132ms (Views: 2.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cb65735337c4c2c0000'), "firstname"=>"Rudy", "lastname"=>"Ruecker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4737ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd4cb65735337c4c2c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4cb65735337c4c2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4373ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fd4cb65735337c4c2c0000
Completed 302 Found in 114ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6433ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3481ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3380ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2473ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32000000'), "name"=>"Mr. Kelsie Kerluke", "reference"=>"Verner Goyette PhD", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4790ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms
Redirected to http://test.host/admin/products/52fd4cbb5735337e32010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32020000'), "name"=>"Roxanne Price", "reference"=>"Lonzo Stoltenberg", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3451ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fd4cbb5735337e32020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4cbb5735337e32020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3172ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4cbb5735337e32020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3469ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32030000'), "name"=>"Koby Homenick", "reference"=>"Tara Green", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3559ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fd4cbb5735337e32030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4cbb5735337e32030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (4.9ms)
Completed 200 OK in 22ms (Views: 21.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32040000'), "name"=>"Dagmar Hintz", "reference"=>"Lavada Dickinson DDS", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4416ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3239ms
Completed 200 OK in 5ms (Views: 4.3ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32050000'), "name"=>"Oceane Huels", "reference"=>"Amani Kub MD", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3583ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.9ms)
Completed 200 OK in 4ms (Views: 3.7ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32060000'), "name"=>"Lambert Wunsch", "reference"=>"Ewald Nikolaus", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3874ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fd4cbb5735337e32060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4cbb5735337e32060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2166ms
Completed 200 OK in 4ms (Views: 2.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32070000'), "name"=>"Abbie Kutch", "reference"=>"Nigel Mayer", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3761ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd4cbb5735337e32070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4cbb5735337e32070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2785ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4cbb5735337e32070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4752ms
Redirected to http://test.host/admin/products/52fd4cbb5735337e32070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32080000'), "firstname"=>"Karine", "lastname"=>"Kling"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4675ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fd4cbb5735337e32080000"}
Completed 500 Internal Server Error in 1ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32090000'), "firstname"=>"Rodrigo", "lastname"=>"Klocko"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3812ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fd4cbb5735337e32090000"}
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e320a0000'), "firstname"=>"Ruth", "lastname"=>"Dare"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 35.2922ms
Processing by Admin::UsersController#index as HTML
Completed 500 Internal Server Error in 1ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e320b0000'), "firstname"=>"Aiyana", "lastname"=>"Haley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms
Processing by Admin::UsersController#new as HTML
Completed 500 Internal Server Error in 1ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e320c0000'), "firstname"=>"Ellen", "lastname"=>"Osinski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3858ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fd4cbb5735337e320c0000"}
Completed 500 Internal Server Error in 1ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e320d0000'), "firstname"=>"Naomie", "lastname"=>"Kulas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd4cbb5735337e320d0000"}
Completed 500 Internal Server Error in 1ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e320e0000'), "firstname"=>"Kendra", "lastname"=>"Klocko"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4632ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e320f0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3403ms
Redirected to http://test.host/clients/52fd4cbb5735337e320f0000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32100000'), "firstname"=>"Odessa", "lastname"=>"Wisozk"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3211ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd4cbb5735337e32100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4cbb5735337e32100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3774ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4cbb5735337e32100000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4560ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32110000'), "firstname"=>"Parker", "lastname"=>"Lindgren"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2539ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd4cbb5735337e32110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4cbb5735337e32110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2399ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.8ms)
Completed 200 OK in 7ms (Views: 6.0ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32120000'), "firstname"=>"Pauline", "lastname"=>"Volkman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3878ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3116ms
Completed 200 OK in 5ms (Views: 4.3ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32130000'), "firstname"=>"Newell", "lastname"=>"Ruecker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2944ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32140000'), "firstname"=>"Dorian", "lastname"=>"Hills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd4cbb5735337e32140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4cbb5735337e32140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2987ms
Completed 200 OK in 4ms (Views: 2.9ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32150000'), "firstname"=>"Peggie", "lastname"=>"Parker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6409ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd4cbb5735337e32150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4cbb5735337e32150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2787ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4cbb5735337e32150000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3242ms
Redirected to http://test.host/clients/52fd4cbb5735337e32150000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32160000'), "firstname"=>"Billy", "lastname"=>"Brekke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3176ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32170000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3374ms
Redirected to http://test.host/clients/52fd4cbb5735337e32170000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32180000'), "firstname"=>"Edward", "lastname"=>"Gaylord"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2829ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd4cbb5735337e32180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4cbb5735337e32180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2930ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4cbb5735337e32180000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3044ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32190000'), "firstname"=>"Angus", "lastname"=>"Schmidt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3113ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd4cbb5735337e32190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4cbb5735337e32190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2898ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 2.7ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e321a0000'), "firstname"=>"Isabelle", "lastname"=>"Stroman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3889ms
Completed 200 OK in 6ms (Views: 5.3ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e321b0000'), "firstname"=>"Neva", "lastname"=>"Stokes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3142ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.5ms)
Completed 200 OK in 3ms (Views: 2.4ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e321c0000'), "firstname"=>"Earnestine", "lastname"=>"Blanda"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4277ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd4cbb5735337e321c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4cbb5735337e321c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2874ms
Completed 200 OK in 3ms (Views: 1.3ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e321d0000'), "firstname"=>"Jaclyn", "lastname"=>"Hauck"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3640ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd4cbb5735337e321d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4cbb5735337e321d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2554ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4cbb5735337e321d0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3263ms
Redirected to http://test.host/clients/52fd4cbb5735337e321d0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e321e0000'), "name"=>"Frank McClure MD", "reference"=>"Harvey Rodriguez III", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4413ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e321f0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4725ms
Redirected to http://test.host/products/52fd4cbb5735337e321f0000
Completed 302 Found in 3ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32200000'), "name"=>"Esta Spinka", "reference"=>"Adam Zulauf", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3105ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd4cbb5735337e32200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4cbb5735337e32200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3107ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4cbb5735337e32200000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3062ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32210000'), "name"=>"Miss Shannon Huels", "reference"=>"Ms. Jannie Nitzsche", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2858ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd4cbb5735337e32210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4cbb5735337e32210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2504ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.6ms)
Completed 200 OK in 7ms (Views: 5.8ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32220000'), "name"=>"Terrance Williamson", "reference"=>"Keon Toy", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4544ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3864ms
Completed 200 OK in 7ms (Views: 6.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32230000'), "name"=>"Ova Greenfelder", "reference"=>"Audrey Legros DVM", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4542ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.9ms)
Completed 200 OK in 4ms (Views: 3.8ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32240000'), "name"=>"Morton Muller", "reference"=>"Earline Schroeder", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4102ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd4cbb5735337e32240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4cbb5735337e32240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2633ms
Completed 200 OK in 4ms (Views: 2.4ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32250000'), "name"=>"Tabitha Brekke", "reference"=>"Arvid Yundt DVM", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3817ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd4cbb5735337e32250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4cbb5735337e32250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4cbb5735337e32250000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2843ms
Redirected to http://test.host/products/52fd4cbb5735337e32250000
Completed 302 Found in 2ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32260000'), "firstname"=>"Axel", "lastname"=>"Champlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4225ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fd4cbb5735337e32260000"}
Completed 500 Internal Server Error in 1ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32270000'), "firstname"=>"Heloise", "lastname"=>"Little"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4788ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fd4cbb5735337e32270000"}
Completed 500 Internal Server Error in 1ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32280000'), "firstname"=>"Logan", "lastname"=>"Emmerich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4269ms
Processing by UsersController#index as HTML
Completed 500 Internal Server Error in 1ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e32290000'), "firstname"=>"Alysson", "lastname"=>"Langosh"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3636ms
Processing by UsersController#new as HTML
Completed 500 Internal Server Error in 1ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e322a0000'), "firstname"=>"Horace", "lastname"=>"Oberbrunner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3608ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fd4cbb5735337e322a0000"}
Completed 500 Internal Server Error in 1ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cbb5735337e322b0000'), "firstname"=>"Abigale", "lastname"=>"Nienow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3534ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd4cbb5735337e322b0000"}
Completed 500 Internal Server Error in 1ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6385ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2789ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2728ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2229ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2081ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81000000'), "name"=>"Reed Cormier", "reference"=>"Kendall Stehr", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4959ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3859ms
Redirected to http://test.host/admin/products/52fd4cec5735337e81010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81020000'), "name"=>"Shanelle Heaney", "reference"=>"Orville Turcotte", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3189ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fd4cec5735337e81020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4cec5735337e81020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4cec5735337e81020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81030000'), "name"=>"Yolanda McGlynn", "reference"=>"Tyson Heidenreich", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2614ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fd4cec5735337e81030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4cec5735337e81030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2379ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (5.3ms)
Completed 200 OK in 23ms (Views: 21.5ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81040000'), "name"=>"Ben Anderson", "reference"=>"Mr. Rickey Senger", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4029ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3219ms
Completed 200 OK in 5ms (Views: 4.3ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81050000'), "name"=>"Dr. Adalberto Gulgowski", "reference"=>"Coralie Leuschke", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3221ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.7ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81060000'), "name"=>"Vickie Johnson II", "reference"=>"Lillie Roberts", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3852ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fd4cec5735337e81060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4cec5735337e81060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms
Completed 200 OK in 4ms (Views: 2.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81070000'), "name"=>"Isabell Considine", "reference"=>"Rocio Runolfsson", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4216ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd4cec5735337e81070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4cec5735337e81070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4127ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4cec5735337e81070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5587ms
Redirected to http://test.host/admin/products/52fd4cec5735337e81070000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81080000'), "firstname"=>"Myron", "lastname"=>"Dickens"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4470ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81090000'), "firstname"=>"Janice", "lastname"=>"Fay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6301ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fd4cec5735337e81090000"}
Completed 500 Internal Server Error in 1ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e810a0000'), "firstname"=>"Garnett", "lastname"=>"Prosacco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fd4cec5735337e810a0000"}
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e810b0000'), "firstname"=>"Hilda", "lastname"=>"Rosenbaum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3470ms
Processing by Admin::UsersController#index as HTML
Completed 500 Internal Server Error in 1ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e810c0000'), "firstname"=>"Travon", "lastname"=>"Cruickshank"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3780ms
Processing by Admin::UsersController#new as HTML
Completed 500 Internal Server Error in 1ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e810d0000'), "firstname"=>"Alia", "lastname"=>"Bins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5093ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fd4cec5735337e810d0000"}
Completed 500 Internal Server Error in 1ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e810e0000'), "firstname"=>"Daphnee", "lastname"=>"Wisoky"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3993ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd4cec5735337e810e0000"}
Completed 500 Internal Server Error in 28ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e810f0000'), "firstname"=>"Jacynthe", "lastname"=>"Torphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5008ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81100000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3587ms
Redirected to http://test.host/clients/52fd4cec5735337e81100000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81110000'), "firstname"=>"Charlene", "lastname"=>"Wuckert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd4cec5735337e81110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4cec5735337e81110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4122ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4cec5735337e81110000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3143ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81120000'), "firstname"=>"Ron", "lastname"=>"Kuhic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2677ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd4cec5735337e81120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4cec5735337e81120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2918ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.8ms)
Completed 200 OK in 7ms (Views: 6.0ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81130000'), "firstname"=>"Cedrick", "lastname"=>"Hackett"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4357ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3202ms
Completed 200 OK in 5ms (Views: 4.3ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81140000'), "firstname"=>"Antonette", "lastname"=>"Nolan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3123ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.4ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81150000'), "firstname"=>"Reyna", "lastname"=>"Kozey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5458ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd4cec5735337e81150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4cec5735337e81150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms
Completed 200 OK in 4ms (Views: 2.5ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81160000'), "firstname"=>"Kenny", "lastname"=>"Thompson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4188ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd4cec5735337e81160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4cec5735337e81160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2829ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4cec5735337e81160000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3226ms
Redirected to http://test.host/clients/52fd4cec5735337e81160000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81170000'), "firstname"=>"Roberto", "lastname"=>"Maggio"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3145ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81180000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3476ms
Redirected to http://test.host/clients/52fd4cec5735337e81180000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81190000'), "firstname"=>"Celestino", "lastname"=>"Daugherty"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2896ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd4cec5735337e81190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4cec5735337e81190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2938ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4cec5735337e81190000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3044ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e811a0000'), "firstname"=>"Trevion", "lastname"=>"Beier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3041ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd4cec5735337e811a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4cec5735337e811a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 2.7ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e811b0000'), "firstname"=>"Elyse", "lastname"=>"Swaniawski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3497ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4324ms
Completed 200 OK in 6ms (Views: 5.4ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e811c0000'), "firstname"=>"Kolby", "lastname"=>"Reichel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3379ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.4ms)
Completed 200 OK in 3ms (Views: 2.3ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e811d0000'), "firstname"=>"Royal", "lastname"=>"Morar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3794ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd4cec5735337e811d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4cec5735337e811d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2563ms
Completed 200 OK in 3ms (Views: 1.4ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e811e0000'), "firstname"=>"Idell", "lastname"=>"Casper"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3152ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd4cec5735337e811e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4cec5735337e811e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2458ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4cec5735337e811e0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3069ms
Redirected to http://test.host/clients/52fd4cec5735337e811e0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e811f0000'), "name"=>"Jalyn Emard IV", "reference"=>"Wanda Spinka DVM", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4087ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81200000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4672ms
Redirected to http://test.host/products/52fd4cec5735337e81200000
Completed 302 Found in 3ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81210000'), "name"=>"Ibrahim Dickinson", "reference"=>"Dr. Magali Padberg", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3416ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd4cec5735337e81210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4cec5735337e81210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2440ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4cec5735337e81210000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2434ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81220000'), "name"=>"Bo Donnelly Jr.", "reference"=>"Alice Ortiz", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2409ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd4cec5735337e81220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4cec5735337e81220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.6ms)
Completed 200 OK in 7ms (Views: 5.8ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81230000'), "name"=>"Lucius Conn Jr.", "reference"=>"Carey Murphy", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3902ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3637ms
Completed 200 OK in 7ms (Views: 6.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81240000'), "name"=>"Shawn Schumm", "reference"=>"Mose Rolfson", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3567ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 4.1ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81250000'), "name"=>"Henri Wyman", "reference"=>"Mrs. Carroll Sawayn", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4288ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd4cec5735337e81250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4cec5735337e81250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2367ms
Completed 200 OK in 4ms (Views: 2.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81260000'), "name"=>"Adell Volkman", "reference"=>"Miss Beaulah Murphy", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1291ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd4cec5735337e81260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4cec5735337e81260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3964ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4cec5735337e81260000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3255ms
Redirected to http://test.host/products/52fd4cec5735337e81260000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81270000'), "firstname"=>"Gage", "lastname"=>"Jaskolski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5403ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81280000'), "firstname"=>"Philip", "lastname"=>"Kilback"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4588ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fd4cec5735337e81280000"}
Completed 500 Internal Server Error in 1ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e81290000'), "firstname"=>"Jacky", "lastname"=>"Cummerata"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4615ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fd4cec5735337e81290000"}
Completed 500 Internal Server Error in 1ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e812a0000'), "firstname"=>"Amaya", "lastname"=>"Fisher"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3812ms
Processing by UsersController#index as HTML
Completed 500 Internal Server Error in 1ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e812b0000'), "firstname"=>"Tyra", "lastname"=>"Macejkovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4089ms
Processing by UsersController#new as HTML
Completed 500 Internal Server Error in 1ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e812c0000'), "firstname"=>"Jamir", "lastname"=>"Bradtke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4105ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fd4cec5735337e812c0000"}
Completed 500 Internal Server Error in 1ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4cec5735337e812d0000'), "firstname"=>"Georgianna", "lastname"=>"Yost"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4109ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd4cec5735337e812d0000"}
Completed 500 Internal Server Error in 1ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6058ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2984ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2894ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2951ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2631ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4d295735337ecc000000'), "name"=>"Jaylon Nicolas", "reference"=>"Marietta Johns", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5019ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4d785735337ecc010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5147ms
Redirected to http://test.host/admin/products/52fd4d785735337ecc010000
Completed 302 Found in 79615ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4d785735337ecc020000'), "name"=>"Mrs. Okey Toy", "reference"=>"Mabel Thompson", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3760ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fd4d785735337ecc020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4d785735337ecc020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4176ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4d785735337ecc020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3121ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3939ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4d7c5735337ecc030000'), "name"=>"Lester Beier", "reference"=>"Laney Lakin IV", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2744ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fd4d7c5735337ecc030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4d7c5735337ecc030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3702ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (5.7ms)
Completed 200 OK in 1998ms (Views: 18.6ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4d7e5735337ecc040000'), "name"=>"Aylin Gottlieb II", "reference"=>"Kitty Goodwin", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4626ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4280ms
Completed 200 OK in 535ms (Views: 4.6ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4d7f5735337ecc050000'), "name"=>"Adrienne Marvin", "reference"=>"Aurore Bashirian", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3151ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.9ms)
Completed 200 OK in 1139ms (Views: 3.9ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4d805735337ecc060000'), "name"=>"Haskell Mohr", "reference"=>"Gonzalo Skiles", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4898ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fd4d805735337ecc060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4d805735337ecc060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3828ms
Completed 200 OK in 972ms (Views: 2.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4d815735337ecc070000'), "name"=>"Delfina Ward", "reference"=>"Paula Huels", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3783ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd4d815735337ecc070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4d815735337ecc070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3926ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4d815735337ecc070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3288ms
Redirected to http://test.host/admin/products/52fd4d815735337ecc070000
Completed 302 Found in 1059ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4d825735337ecc080000'), "firstname"=>"Nelson", "lastname"=>"Gutmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4212ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 21173ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4d975735337ecc090000'), "firstname"=>"Grayson", "lastname"=>"Orn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4711ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fd4d975735337ecc090000"}
Completed 500 Internal Server Error in 39853ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dbf5735337ecc0a0000'), "firstname"=>"Lucius", "lastname"=>"Reinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5130ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fd4dbf5735337ecc0a0000"}
Completed 500 Internal Server Error in 201ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dbf5735337ecc0b0000'), "firstname"=>"Catharine", "lastname"=>"Okuneva"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4723ms
Processing by Admin::UsersController#index as HTML
Completed 500 Internal Server Error in 153ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dbf5735337ecc0c0000'), "firstname"=>"Leo", "lastname"=>"Durgan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4670ms
Processing by Admin::UsersController#new as HTML
Completed 500 Internal Server Error in 177ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dbf5735337ecc0d0000'), "firstname"=>"Regan", "lastname"=>"Stroman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4116ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fd4dbf5735337ecc0d0000"}
Completed 500 Internal Server Error in 153ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dc05735337ecc0e0000'), "firstname"=>"Elenora", "lastname"=>"Howell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4803ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd4dc05735337ecc0e0000"}
Completed 500 Internal Server Error in 899ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc0f0000'), "firstname"=>"Elsa", "lastname"=>"Fritsch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5495ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc100000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4294ms
Redirected to http://test.host/clients/52fd4dc15735337ecc100000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc110000'), "firstname"=>"Melyna", "lastname"=>"Kunze"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3436ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd4dc15735337ecc110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dc15735337ecc110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3372ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dc15735337ecc110000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3872ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc120000'), "firstname"=>"America", "lastname"=>"Kessler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4147ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd4dc15735337ecc120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dc15735337ecc120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3566ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.9ms)
Completed 200 OK in 8ms (Views: 6.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc130000'), "firstname"=>"Calista", "lastname"=>"Goldner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9554ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4221ms
Completed 200 OK in 6ms (Views: 5.0ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc140000'), "firstname"=>"Loy", "lastname"=>"Hane"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3271ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.4ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc150000'), "firstname"=>"Greta", "lastname"=>"Hackett"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4826ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd4dc15735337ecc150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dc15735337ecc150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2996ms
Completed 200 OK in 4ms (Views: 2.5ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc160000'), "firstname"=>"Kallie", "lastname"=>"Leuschke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3792ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd4dc15735337ecc160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dc15735337ecc160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dc15735337ecc160000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3007ms
Redirected to http://test.host/clients/52fd4dc15735337ecc160000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc170000'), "firstname"=>"Gonzalo", "lastname"=>"Cormier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2736ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc180000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3076ms
Redirected to http://test.host/clients/52fd4dc15735337ecc180000
Completed 302 Found in 29ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc190000'), "firstname"=>"Allan", "lastname"=>"Cronin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4673ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd4dc15735337ecc190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dc15735337ecc190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3026ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dc15735337ecc190000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2979ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc1a0000'), "firstname"=>"Rasheed", "lastname"=>"Murazik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2660ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd4dc15735337ecc1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dc15735337ecc1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2972ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (3.3ms)
Completed 200 OK in 6ms (Views: 4.6ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc1b0000'), "firstname"=>"Jasper", "lastname"=>"Hettinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4115ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4176ms
Completed 200 OK in 6ms (Views: 5.4ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc1c0000'), "firstname"=>"George", "lastname"=>"Gulgowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.5ms)
Completed 200 OK in 3ms (Views: 2.4ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc1d0000'), "firstname"=>"Rebeka", "lastname"=>"Ward"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3880ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd4dc15735337ecc1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dc15735337ecc1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2475ms
Completed 200 OK in 3ms (Views: 1.3ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc1e0000'), "firstname"=>"Richard", "lastname"=>"Durgan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3521ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd4dc15735337ecc1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dc15735337ecc1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2510ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dc15735337ecc1e0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2768ms
Redirected to http://test.host/clients/52fd4dc15735337ecc1e0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc1f0000'), "name"=>"Guido Witting MD", "reference"=>"Katherine Ortiz", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7436ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc200000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4456ms
Redirected to http://test.host/products/52fd4dc15735337ecc200000
Completed 302 Found in 92ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc210000'), "name"=>"Neoma Kuhlman", "reference"=>"Creola Hayes", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4303ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd4dc15735337ecc210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dc15735337ecc210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4231ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dc15735337ecc210000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3697ms
Redirected to http://test.host/products
Completed 302 Found in 118ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc220000'), "name"=>"Carroll Orn", "reference"=>"Trisha Ritchie", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3754ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd4dc15735337ecc220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dc15735337ecc220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3965ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.7ms)
Completed 200 OK in 123ms (Views: 6.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc230000'), "name"=>"Jadon Wolff", "reference"=>"Bridgette Hilll", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4246ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5895ms
Completed 200 OK in 148ms (Views: 8.1ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc240000'), "name"=>"Marie Osinski", "reference"=>"Evangeline Nitzsche", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4346ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.0ms)
Completed 200 OK in 84ms (Views: 4.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc250000'), "name"=>"Asa Orn", "reference"=>"Madalyn Hirthe PhD", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4509ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd4dc15735337ecc250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dc15735337ecc250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3924ms
Completed 200 OK in 93ms (Views: 2.8ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc260000'), "name"=>"Kennith McCullough", "reference"=>"Mr. Rowland Rohan", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4147ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd4dc15735337ecc260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dc15735337ecc260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3949ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dc15735337ecc260000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3627ms
Redirected to http://test.host/products/52fd4dc15735337ecc260000
Completed 302 Found in 87ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dc15735337ecc270000'), "firstname"=>"Polly", "lastname"=>"Schuster"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4925ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dc25735337ecc280000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4619ms
Redirected to http://test.host/users/52fd4dc25735337ecc280000
Completed 302 Found in 109ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dc25735337ecc290000'), "firstname"=>"Jeanie", "lastname"=>"Stark"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4434ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fd4dc25735337ecc290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dc25735337ecc290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3675ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dc25735337ecc290000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms
Redirected to http://test.host/users
Completed 302 Found in 91ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dc25735337ecc2a0000'), "firstname"=>"Daphne", "lastname"=>"Hahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3019ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fd4dc25735337ecc2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dc25735337ecc2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4105ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.8ms)
Completed 200 OK in 93ms (Views: 6.3ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dc25735337ecc2b0000'), "firstname"=>"Alvera", "lastname"=>"Mohr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4744ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4648ms
Completed 200 OK in 120ms (Views: 6.7ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dc25735337ecc2c0000'), "firstname"=>"Mateo", "lastname"=>"Kemmer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4207ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.6ms)
Completed 200 OK in 147ms (Views: 3.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dc25735337ecc2d0000'), "firstname"=>"Krystal", "lastname"=>"Wuckert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4981ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fd4dc25735337ecc2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dc25735337ecc2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3712ms
Completed 200 OK in 116ms (Views: 3.0ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dc25735337ecc2e0000'), "firstname"=>"Emmanuelle", "lastname"=>"Gulgowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4639ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd4dc25735337ecc2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dc25735337ecc2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3858ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fd4dc25735337ecc2e0000
Completed 302 Found in 120ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6316ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3068ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3593ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3232ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2964ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dc65735337f02000000'), "name"=>"Royal Hoppe", "reference"=>"Wyatt Bosco", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5334ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dcb5735337f02010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5367ms
Redirected to http://test.host/admin/products/52fd4dcb5735337f02010000
Completed 302 Found in 4344ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dcb5735337f02020000'), "name"=>"Jayden Strosin", "reference"=>"Willie Moore II", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4313ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fd4dcb5735337f02020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dcb5735337f02020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3954ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dcb5735337f02020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4996ms
Redirected to http://test.host/admin/products
Completed 302 Found in 118ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dcb5735337f02030000'), "name"=>"Cristobal McGlynn Jr.", "reference"=>"Isabelle Kautzer", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3740ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fd4dcb5735337f02030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dcb5735337f02030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3921ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (5.4ms)
Completed 200 OK in 136ms (Views: 19.2ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dcb5735337f02040000'), "name"=>"Neil Sawayn", "reference"=>"Alyson Hermann", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4806ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4204ms
Completed 200 OK in 110ms (Views: 5.1ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dcb5735337f02050000'), "name"=>"Dave Bechtelar IV", "reference"=>"Godfrey Stehr", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.2ms)
Completed 200 OK in 121ms (Views: 4.5ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dcb5735337f02060000'), "name"=>"Doyle Hilll V", "reference"=>"Mr. Brock Dicki", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4879ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fd4dcb5735337f02060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dcb5735337f02060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4291ms
Completed 200 OK in 88ms (Views: 2.9ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dcb5735337f02070000'), "name"=>"Tyshawn Fay V", "reference"=>"Velda Mayert", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4610ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd4dcb5735337f02070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dcb5735337f02070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3776ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dcb5735337f02070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4481ms
Redirected to http://test.host/admin/products/52fd4dcb5735337f02070000
Completed 302 Found in 87ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dcb5735337f02080000'), "firstname"=>"Veda", "lastname"=>"Satterfield"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4931ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dcb5735337f02090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4213ms
Redirected to http://test.host/admin/users/52fd4dcb5735337f02090000
Completed 302 Found in 79ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dcb5735337f020a0000'), "firstname"=>"Max", "lastname"=>"Bernhard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fd4dcb5735337f020a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dcb5735337f020a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3503ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dcb5735337f020a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3759ms
Redirected to http://test.host/admin/users
Completed 302 Found in 93ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dcb5735337f020b0000'), "firstname"=>"Pinkie", "lastname"=>"Jacobson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3506ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fd4dcb5735337f020b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dcb5735337f020b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3537ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.9ms)
Completed 200 OK in 121ms (Views: 6.6ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f020c0000'), "firstname"=>"Collin", "lastname"=>"Williamson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3993ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4191ms
Completed 200 OK in 116ms (Views: 4.9ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f020d0000'), "firstname"=>"Blair", "lastname"=>"Hauck"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4111ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.7ms)
Completed 200 OK in 121ms (Views: 3.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f020e0000'), "firstname"=>"Elouise", "lastname"=>"Grady"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fd4dcc5735337f020e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dcc5735337f020e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3732ms
Completed 200 OK in 90ms (Views: 2.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f020f0000'), "firstname"=>"Cyrus", "lastname"=>"Ritchie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4076ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd4dcc5735337f020f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dcc5735337f020f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3674ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fd4dcc5735337f020f0000
Completed 302 Found in 114ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f02100000'), "firstname"=>"Alexie", "lastname"=>"Nicolas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5176ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f02110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4194ms
Redirected to http://test.host/clients/52fd4dcc5735337f02110000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f02120000'), "firstname"=>"Bonnie", "lastname"=>"Brekke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3380ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd4dcc5735337f02120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dcc5735337f02120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2973ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dcc5735337f02120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4764ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f02130000'), "firstname"=>"Robb", "lastname"=>"Jaskolski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3572ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd4dcc5735337f02130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dcc5735337f02130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2983ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.9ms)
Completed 200 OK in 37ms (Views: 35.5ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f02140000'), "firstname"=>"Sadye", "lastname"=>"Dooley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4935ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4209ms
Completed 200 OK in 7ms (Views: 6.0ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f02150000'), "firstname"=>"Amos", "lastname"=>"Hayes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0903ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.7ms)
Completed 200 OK in 4ms (Views: 3.8ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f02160000'), "firstname"=>"Mariah", "lastname"=>"McClure"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4508ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd4dcc5735337f02160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dcc5735337f02160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms
Completed 200 OK in 4ms (Views: 2.5ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f02170000'), "firstname"=>"Hobart", "lastname"=>"Walter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4193ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd4dcc5735337f02170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dcc5735337f02170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3101ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dcc5735337f02170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3303ms
Redirected to http://test.host/clients/52fd4dcc5735337f02170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f02180000'), "firstname"=>"Lolita", "lastname"=>"O'Hara"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3267ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f02190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3461ms
Redirected to http://test.host/clients/52fd4dcc5735337f02190000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f021a0000'), "firstname"=>"Madelyn", "lastname"=>"Marquardt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2496ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd4dcc5735337f021a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dcc5735337f021a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dcc5735337f021a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2595ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f021b0000'), "firstname"=>"Agnes", "lastname"=>"Ferry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2610ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd4dcc5735337f021b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dcc5735337f021b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2544ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 2.8ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f021c0000'), "firstname"=>"Melvina", "lastname"=>"Hauck"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3952ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4176ms
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f021d0000'), "firstname"=>"Ronny", "lastname"=>"Lind"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3464ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.4ms)
Completed 200 OK in 3ms (Views: 2.3ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f021e0000'), "firstname"=>"Evelyn", "lastname"=>"Senger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3837ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd4dcc5735337f021e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dcc5735337f021e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2921ms
Completed 200 OK in 3ms (Views: 1.7ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f021f0000'), "firstname"=>"Vanessa", "lastname"=>"Friesen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3144ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd4dcc5735337f021f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dcc5735337f021f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2429ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dcc5735337f021f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2756ms
Redirected to http://test.host/clients/52fd4dcc5735337f021f0000
Completed 302 Found in 2ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f02200000'), "name"=>"Rae Lowe", "reference"=>"Damaris Vandervort", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4792ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f02210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5377ms
Redirected to http://test.host/products/52fd4dcc5735337f02210000
Completed 302 Found in 121ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f02220000'), "name"=>"Dr. Mariah Glover", "reference"=>"Orlando Corkery", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4867ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd4dcc5735337f02220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dcc5735337f02220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3994ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dcc5735337f02220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3122ms
Redirected to http://test.host/products
Completed 302 Found in 90ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f02230000'), "name"=>"Winfield Padberg DVM", "reference"=>"Simone Kling III", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3401ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd4dcc5735337f02230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dcc5735337f02230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4018ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.7ms)
Completed 200 OK in 94ms (Views: 6.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dcc5735337f02240000'), "name"=>"Destiney Raynor", "reference"=>"Zetta Harris", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4263ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4488ms
Completed 200 OK in 117ms (Views: 6.9ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dcd5735337f02250000'), "name"=>"Ms. Tom Rowe", "reference"=>"Dr. Rodolfo Skiles", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4260ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.1ms)
Completed 200 OK in 120ms (Views: 4.1ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dcd5735337f02260000'), "name"=>"Gerson Deckow", "reference"=>"Dr. Manley Dickinson", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4725ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd4dcd5735337f02260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dcd5735337f02260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4334ms
Completed 200 OK in 115ms (Views: 2.8ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dcd5735337f02270000'), "name"=>"Mrs. Shawn Hoppe", "reference"=>"Cleo Schulist II", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4256ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd4dcd5735337f02270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dcd5735337f02270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3492ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dcd5735337f02270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3050ms
Redirected to http://test.host/products/52fd4dcd5735337f02270000
Completed 302 Found in 116ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dcd5735337f02280000'), "firstname"=>"Francesca", "lastname"=>"Wolff"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4745ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dcd5735337f02290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4496ms
Redirected to http://test.host/users/52fd4dcd5735337f02290000
Completed 302 Found in 111ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dcd5735337f022a0000'), "firstname"=>"Camila", "lastname"=>"Kris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4824ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fd4dcd5735337f022a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dcd5735337f022a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4157ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dcd5735337f022a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3509ms
Redirected to http://test.host/users
Completed 302 Found in 93ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dcd5735337f022b0000'), "firstname"=>"Missouri", "lastname"=>"O'Kon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3188ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fd4dcd5735337f022b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dcd5735337f022b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3908ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.7ms)
Completed 200 OK in 121ms (Views: 6.5ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dcd5735337f022c0000'), "firstname"=>"Louie", "lastname"=>"MacGyver"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4500ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6377ms
Completed 200 OK in 120ms (Views: 8.1ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dcd5735337f022d0000'), "firstname"=>"Sharon", "lastname"=>"Welch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4186ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.7ms)
Completed 200 OK in 115ms (Views: 4.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dce5735337f022e0000'), "firstname"=>"Derick", "lastname"=>"Turcotte"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4432ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fd4dce5735337f022e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dce5735337f022e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3576ms
Completed 200 OK in 92ms (Views: 2.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dce5735337f022f0000'), "firstname"=>"Etha", "lastname"=>"Morissette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4643ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd4dce5735337f022f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dce5735337f022f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4547ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fd4dce5735337f022f0000
Completed 302 Found in 115ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6875ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3441ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3200ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3032ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33000000'), "name"=>"Cali Stiedemann", "reference"=>"Savanah Dach", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5041ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms
Redirected to http://test.host/admin/products/52fd4dd25735337f33010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33020000'), "name"=>"Javon Mraz", "reference"=>"Torrey Lueilwitz Sr.", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fd4dd25735337f33020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dd25735337f33020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2798ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dd25735337f33020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3377ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33030000'), "name"=>"Dr. Federico O'Conner", "reference"=>"Mrs. Victoria Bartoletti", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2778ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fd4dd25735337f33030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dd25735337f33030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (5.3ms)
Completed 200 OK in 23ms (Views: 21.5ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33040000'), "name"=>"Rosalia Pacocha", "reference"=>"Reynold Rice", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4316ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3377ms
Completed 200 OK in 5ms (Views: 4.3ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33050000'), "name"=>"Deanna Rice", "reference"=>"Mrs. Ayana Lockman", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3002ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.6ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33060000'), "name"=>"Robyn Dickinson", "reference"=>"Lourdes Hayes V", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3993ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fd4dd25735337f33060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dd25735337f33060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms
Completed 200 OK in 4ms (Views: 2.4ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33070000'), "name"=>"Madisen Dare MD", "reference"=>"Elna Langosh", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd4dd25735337f33070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dd25735337f33070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dd25735337f33070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4844ms
Redirected to http://test.host/admin/products/52fd4dd25735337f33070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33080000'), "firstname"=>"Gerardo", "lastname"=>"Kreiger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4319ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3110ms
Redirected to http://test.host/admin/users/52fd4dd25735337f33090000
Completed 302 Found in 2ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f330a0000'), "firstname"=>"Marcus", "lastname"=>"Roberts"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3283ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fd4dd25735337f330a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dd25735337f330a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2594ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dd25735337f330a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3296ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f330b0000'), "firstname"=>"Rick", "lastname"=>"Wisozk"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2883ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fd4dd25735337f330b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dd25735337f330b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2809ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.6ms)
Completed 200 OK in 7ms (Views: 5.8ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f330c0000'), "firstname"=>"Elliott", "lastname"=>"Senger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7211ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4233ms
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f330d0000'), "firstname"=>"Willy", "lastname"=>"Runolfsdottir"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 3.5ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f330e0000'), "firstname"=>"Melody", "lastname"=>"Toy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fd4dd25735337f330e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dd25735337f330e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3057ms
Completed 200 OK in 35ms (Views: 33.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f330f0000'), "firstname"=>"Verlie", "lastname"=>"Hoeger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4464ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd4dd25735337f330f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dd25735337f330f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2691ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fd4dd25735337f330f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33100000'), "firstname"=>"Celia", "lastname"=>"Langosh"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4942ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms
Redirected to http://test.host/clients/52fd4dd25735337f33110000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33120000'), "firstname"=>"Maximo", "lastname"=>"Stroman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd4dd25735337f33120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dd25735337f33120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dd25735337f33120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3187ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33130000'), "firstname"=>"Hollie", "lastname"=>"Lakin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3247ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd4dd25735337f33130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dd25735337f33130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3162ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (3.3ms)
Completed 200 OK in 9ms (Views: 7.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33140000'), "firstname"=>"Maureen", "lastname"=>"Morissette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4623ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3198ms
Completed 200 OK in 5ms (Views: 4.3ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33150000'), "firstname"=>"Rahsaan", "lastname"=>"Dibbert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3323ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.9ms)
Completed 200 OK in 4ms (Views: 3.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33160000'), "firstname"=>"Mariah", "lastname"=>"Murazik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3728ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd4dd25735337f33160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dd25735337f33160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2613ms
Completed 200 OK in 4ms (Views: 2.4ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33170000'), "firstname"=>"Wilfred", "lastname"=>"O'Conner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd4dd25735337f33170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dd25735337f33170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dd25735337f33170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3711ms
Redirected to http://test.host/clients/52fd4dd25735337f33170000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33180000'), "firstname"=>"Morton", "lastname"=>"Ullrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2966ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3292ms
Redirected to http://test.host/clients/52fd4dd25735337f33190000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f331a0000'), "firstname"=>"Muriel", "lastname"=>"Kshlerin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2644ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd4dd25735337f331a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dd25735337f331a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3044ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dd25735337f331a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3306ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f331b0000'), "firstname"=>"Jewell", "lastname"=>"Rempel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3118ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd4dd25735337f331b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dd25735337f331b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.7ms)
Completed 200 OK in 4ms (Views: 2.8ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f331c0000'), "firstname"=>"Edwin", "lastname"=>"Anderson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2954ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3123ms
Completed 200 OK in 5ms (Views: 4.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f331d0000'), "firstname"=>"Dennis", "lastname"=>"Dibbert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1067ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f331e0000'), "firstname"=>"Pamela", "lastname"=>"Paucek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4922ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd4dd25735337f331e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dd25735337f331e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2691ms
Completed 200 OK in 3ms (Views: 1.4ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f331f0000'), "firstname"=>"Franz", "lastname"=>"Prohaska"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd4dd25735337f331f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dd25735337f331f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2553ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4dd25735337f331f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2842ms
Redirected to http://test.host/clients/52fd4dd25735337f331f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33200000'), "name"=>"Kathryne Harris", "reference"=>"Gaetano Brakus", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3609ms
Redirected to http://test.host/products/52fd4dd25735337f33210000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33220000'), "name"=>"Ms. Jennifer Bashirian", "reference"=>"Priscilla Stroman", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3620ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd4dd25735337f33220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dd25735337f33220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4087ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dd25735337f33220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3402ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33230000'), "name"=>"Ruben Renner", "reference"=>"Alek Konopelski", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3367ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd4dd25735337f33230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dd25735337f33230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3187ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.8ms)
Completed 200 OK in 7ms (Views: 6.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33240000'), "name"=>"Estelle Beier", "reference"=>"Theodora Bartoletti", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3960ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3697ms
Completed 200 OK in 7ms (Views: 6.1ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33250000'), "name"=>"Miss Maurice Marvin", "reference"=>"Ms. Jazmyn Parisian", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3286ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.2ms)
Completed 200 OK in 5ms (Views: 4.4ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33260000'), "name"=>"Minnie Klein", "reference"=>"Tabitha Brown", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4632ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd4dd25735337f33260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dd25735337f33260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2855ms
Completed 200 OK in 4ms (Views: 2.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33270000'), "name"=>"Yazmin Oberbrunner", "reference"=>"Mr. Aidan Auer", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2300ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd4dd25735337f33270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dd25735337f33270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2943ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4dd25735337f33270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3294ms
Redirected to http://test.host/products/52fd4dd25735337f33270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33280000'), "firstname"=>"Noemie", "lastname"=>"Hyatt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5217ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f33290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4215ms
Redirected to http://test.host/users/52fd4dd25735337f33290000
Completed 302 Found in 2ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f332a0000'), "firstname"=>"Lew", "lastname"=>"Hane"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3638ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fd4dd25735337f332a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dd25735337f332a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2694ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dd25735337f332a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2886ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f332b0000'), "firstname"=>"Jailyn", "lastname"=>"Sporer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2606ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fd4dd25735337f332b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dd25735337f332b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2550ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.4ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f332c0000'), "firstname"=>"Layla", "lastname"=>"Weissnat"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3986ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3565ms
Completed 200 OK in 7ms (Views: 6.2ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f332d0000'), "firstname"=>"Jerrod", "lastname"=>"O'Conner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4642ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.5ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f332e0000'), "firstname"=>"Meta", "lastname"=>"Stamm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4220ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fd4dd25735337f332e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dd25735337f332e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms
Completed 200 OK in 4ms (Views: 2.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4dd25735337f332f0000'), "firstname"=>"Claude", "lastname"=>"Gorczany"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3715ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd4dd25735337f332f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4dd25735337f332f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fd4dd25735337f332f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6133ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3571ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3482ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3002ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3050ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f000000'), "name"=>"Glenda Romaguera", "reference"=>"Prince Douglas", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4483ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4135ms
Redirected to http://test.host/admin/products/52fd4e205735337f5f010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f020000'), "name"=>"Selmer McDermott", "reference"=>"Gregg Lemke", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3345ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fd4e205735337f5f020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4e205735337f5f020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3162ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4e205735337f5f020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3274ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f030000'), "name"=>"Rudy O'Reilly", "reference"=>"Gisselle Dach", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2721ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fd4e205735337f5f030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4e205735337f5f030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (4.9ms)
Completed 200 OK in 22ms (Views: 21.1ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f040000'), "name"=>"Miss Brody Lebsack", "reference"=>"Tierra Hodkiewicz", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4192ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3287ms
Completed 200 OK in 5ms (Views: 4.3ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f050000'), "name"=>"Bettie Schiller", "reference"=>"Lera Runolfsdottir", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3232ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.7ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f060000'), "name"=>"Emmet Fadel", "reference"=>"Mr. Juanita Sawayn", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4026ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fd4e205735337f5f060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4e205735337f5f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms
Completed 200 OK in 4ms (Views: 2.4ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f070000'), "name"=>"Prudence Walsh MD", "reference"=>"Toy Bartoletti", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3974ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd4e205735337f5f070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4e205735337f5f070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3209ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4e205735337f5f070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4116ms
Redirected to http://test.host/admin/products/52fd4e205735337f5f070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f080000'), "firstname"=>"Alaina", "lastname"=>"Kulas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4441ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fd4e205735337f5f080000"}
Completed 500 Internal Server Error in 1ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f090000'), "firstname"=>"Waino", "lastname"=>"Heaney"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fd4e205735337f5f090000"}
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f0a0000'), "firstname"=>"Cecilia", "lastname"=>"Kuphal"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms
Processing by Admin::UsersController#index as HTML
Completed 500 Internal Server Error in 1ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f0b0000'), "firstname"=>"Hillard", "lastname"=>"Nitzsche"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3589ms
Processing by Admin::UsersController#new as HTML
Completed 500 Internal Server Error in 1ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f0c0000'), "firstname"=>"Celia", "lastname"=>"Daugherty"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3480ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fd4e205735337f5f0c0000"}
Completed 500 Internal Server Error in 1ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f0d0000'), "firstname"=>"Edmond", "lastname"=>"Glover"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3391ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd4e205735337f5f0d0000"}
Completed 500 Internal Server Error in 1ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f0e0000'), "firstname"=>"Alize", "lastname"=>"Hand"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4398ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f0f0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3396ms
Redirected to http://test.host/clients/52fd4e205735337f5f0f0000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f100000'), "firstname"=>"Elta", "lastname"=>"Ziemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3626ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd4e205735337f5f100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4e205735337f5f100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3087ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4e205735337f5f100000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f110000'), "firstname"=>"Gilda", "lastname"=>"Bahringer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2900ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd4e205735337f5f110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4e205735337f5f110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3352ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (3.0ms)
Completed 200 OK in 8ms (Views: 6.6ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f120000'), "firstname"=>"Santino", "lastname"=>"Terry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4716ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3187ms
Completed 200 OK in 5ms (Views: 4.3ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f130000'), "firstname"=>"Herbert", "lastname"=>"Purdy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3210ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f140000'), "firstname"=>"Karli", "lastname"=>"Bergstrom"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3970ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd4e205735337f5f140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4e205735337f5f140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2478ms
Completed 200 OK in 4ms (Views: 2.5ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f150000'), "firstname"=>"Jean", "lastname"=>"Cartwright"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3881ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd4e205735337f5f150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4e205735337f5f150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3597ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4e205735337f5f150000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3567ms
Redirected to http://test.host/clients/52fd4e205735337f5f150000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f160000'), "firstname"=>"Abbie", "lastname"=>"Toy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2611ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f170000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3027ms
Redirected to http://test.host/clients/52fd4e205735337f5f170000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f180000'), "firstname"=>"Sincere", "lastname"=>"Leffler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2299ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd4e205735337f5f180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4e205735337f5f180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2319ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4e205735337f5f180000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2434ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f190000'), "firstname"=>"Alena", "lastname"=>"Simonis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2623ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd4e205735337f5f190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4e205735337f5f190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2279ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.7ms)
Completed 200 OK in 4ms (Views: 2.8ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f1a0000'), "firstname"=>"Murphy", "lastname"=>"O'Kon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3121ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3653ms
Completed 200 OK in 5ms (Views: 4.9ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f1b0000'), "firstname"=>"Enos", "lastname"=>"McClure"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3749ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.0ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f1c0000'), "firstname"=>"Kellie", "lastname"=>"Lesch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4289ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd4e205735337f5f1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4e205735337f5f1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms
Completed 200 OK in 3ms (Views: 1.3ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f1d0000'), "firstname"=>"Marcos", "lastname"=>"Maggio"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3263ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd4e205735337f5f1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4e205735337f5f1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4e205735337f5f1d0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3208ms
Redirected to http://test.host/clients/52fd4e205735337f5f1d0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f1e0000'), "name"=>"Lorenz Wyman", "reference"=>"Shaniya Fahey", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4153ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f1f0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3390ms
Redirected to http://test.host/products/52fd4e205735337f5f1f0000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f200000'), "name"=>"Mr. Elvie Torp", "reference"=>"Caterina Gerhold IV", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4030ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd4e205735337f5f200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4e205735337f5f200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3158ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4e205735337f5f200000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4568ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f210000'), "name"=>"Alyson Wunsch DDS", "reference"=>"Odie Bosco", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4227ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd4e205735337f5f210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4e205735337f5f210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3115ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.6ms)
Completed 200 OK in 7ms (Views: 5.8ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f220000'), "name"=>"Rylan Bahringer", "reference"=>"Raegan Boyer", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3691ms
Completed 200 OK in 7ms (Views: 6.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f230000'), "name"=>"Kim Reichert", "reference"=>"Ms. Yolanda Orn", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3236ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.9ms)
Completed 200 OK in 4ms (Views: 3.8ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f240000'), "name"=>"Ms. Joesph Crooks", "reference"=>"Hortense Homenick", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4759ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd4e205735337f5f240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4e205735337f5f240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3522ms
Completed 200 OK in 4ms (Views: 2.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f250000'), "name"=>"Ashlee Deckow I", "reference"=>"Mrs. Juwan D'Amore", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4138ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd4e205735337f5f250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4e205735337f5f250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2586ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4e205735337f5f250000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2856ms
Redirected to http://test.host/products/52fd4e205735337f5f250000
Completed 302 Found in 2ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f260000'), "firstname"=>"Michaela", "lastname"=>"Skiles"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4433ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fd4e205735337f5f260000"}
Completed 500 Internal Server Error in 1ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f270000'), "firstname"=>"Everette", "lastname"=>"Stamm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4232ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fd4e205735337f5f270000"}
Completed 500 Internal Server Error in 1ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f280000'), "firstname"=>"Orion", "lastname"=>"O'Reilly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4336ms
Processing by UsersController#index as HTML
Completed 500 Internal Server Error in 1ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f290000'), "firstname"=>"Ashly", "lastname"=>"Simonis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4546ms
Processing by UsersController#new as HTML
Completed 500 Internal Server Error in 1ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f2a0000'), "firstname"=>"Marcia", "lastname"=>"O'Reilly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3728ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fd4e205735337f5f2a0000"}
Completed 500 Internal Server Error in 1ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e205735337f5f2b0000'), "firstname"=>"Tyrell", "lastname"=>"Ledner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3541ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd4e205735337f5f2b0000"}
Completed 500 Internal Server Error in 1ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6344ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2927ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3047ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2388ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2813ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e000000'), "name"=>"Lance Schmitt", "reference"=>"Ms. Julianne Jaskolski", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4559ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3989ms
Redirected to http://test.host/admin/products/52fd4e5b5735337f9e010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e020000'), "name"=>"Genoveva Hagenes", "reference"=>"Ludie Kilback Jr.", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3435ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fd4e5b5735337f9e020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2987ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3162ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e030000'), "name"=>"Tyler Breitenberg", "reference"=>"Mercedes Dibbert", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2613ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fd4e5b5735337f9e030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2404ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (4.9ms)
Completed 200 OK in 23ms (Views: 21.4ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e040000'), "name"=>"Savion Emard PhD", "reference"=>"Robert Jakubowski I", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4166ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3691ms
Completed 200 OK in 6ms (Views: 5.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e050000'), "name"=>"Maiya Yost PhD", "reference"=>"Jackeline Dooley", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4203ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.2ms)
Completed 200 OK in 5ms (Views: 4.5ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e060000'), "name"=>"Miss Milford Stracke", "reference"=>"Margarette Abbott", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4206ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fd4e5b5735337f9e060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3183ms
Completed 200 OK in 5ms (Views: 3.1ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e070000'), "name"=>"Nestor Powlowski", "reference"=>"Ms. Krystal Wiza", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5612ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd4e5b5735337f9e070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5857ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4325ms
Redirected to http://test.host/admin/products/52fd4e5b5735337f9e070000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e080000'), "firstname"=>"Marietta", "lastname"=>"Shanahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4218ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3223ms
Redirected to http://test.host/admin/users/52fd4e5b5735337f9e090000
Completed 302 Found in 2ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e0a0000'), "firstname"=>"Sarah", "lastname"=>"Kris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3005ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fd4e5b5735337f9e0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2397ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e0a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2757ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e0b0000'), "firstname"=>"Tavares", "lastname"=>"Schimmel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2429ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fd4e5b5735337f9e0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2613ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (3.1ms)
Completed 200 OK in 9ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e0c0000'), "firstname"=>"Alta", "lastname"=>"Stracke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4132ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3019ms
Completed 200 OK in 5ms (Views: 4.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e0d0000'), "firstname"=>"Dandre", "lastname"=>"Reichert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3151ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 3.4ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e0e0000'), "firstname"=>"Dell", "lastname"=>"Denesik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3641ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fd4e5b5735337f9e0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms
Completed 200 OK in 32ms (Views: 30.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e0f0000'), "firstname"=>"Ron", "lastname"=>"Howe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4467ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd4e5b5735337f9e0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3133ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fd4e5b5735337f9e0f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e100000'), "firstname"=>"Lucio", "lastname"=>"Ledner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4472ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3667ms
Redirected to http://test.host/clients/52fd4e5b5735337f9e110000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e120000'), "firstname"=>"Noah", "lastname"=>"Stehr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3409ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd4e5b5735337f9e120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2588ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3241ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e130000'), "firstname"=>"Gust", "lastname"=>"Rau"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5031ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd4e5b5735337f9e130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4026ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 6.0ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e140000'), "firstname"=>"Lupe", "lastname"=>"Jakubowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3196ms
Completed 200 OK in 5ms (Views: 4.3ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e150000'), "firstname"=>"Isai", "lastname"=>"Kiehn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3128ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e160000'), "firstname"=>"Bailey", "lastname"=>"Jaskolski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4458ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd4e5b5735337f9e160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms
Completed 200 OK in 4ms (Views: 2.5ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e170000'), "firstname"=>"Duncan", "lastname"=>"Dickinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5320ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd4e5b5735337f9e170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2867ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3578ms
Redirected to http://test.host/clients/52fd4e5b5735337f9e170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e180000'), "firstname"=>"Johnathan", "lastname"=>"Feest"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3302ms
Redirected to http://test.host/clients/52fd4e5b5735337f9e190000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e1a0000'), "firstname"=>"Stevie", "lastname"=>"Beahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2171ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd4e5b5735337f9e1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2117ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e1a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2748ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e1b0000'), "firstname"=>"Estelle", "lastname"=>"Barton"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2554ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd4e5b5735337f9e1b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2684ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.7ms)
Completed 200 OK in 4ms (Views: 2.8ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e1c0000'), "firstname"=>"Yadira", "lastname"=>"Hoeger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2723ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2983ms
Completed 200 OK in 5ms (Views: 4.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e1d0000'), "firstname"=>"Dewayne", "lastname"=>"Boyer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8205ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e1e0000'), "firstname"=>"Celine", "lastname"=>"Kuhic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5034ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd4e5b5735337f9e1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3158ms
Completed 200 OK in 3ms (Views: 1.3ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e1f0000'), "firstname"=>"Keshawn", "lastname"=>"Rowe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3332ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd4e5b5735337f9e1f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e1f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3092ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e1f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3592ms
Redirected to http://test.host/clients/52fd4e5b5735337f9e1f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e200000'), "name"=>"Jarrett Pfeffer V", "reference"=>"Cale Schulist PhD", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3383ms
Redirected to http://test.host/products/52fd4e5b5735337f9e210000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e220000'), "name"=>"Mrs. Fredrick Lebsack", "reference"=>"Santino Cruickshank", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4182ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd4e5b5735337f9e220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3918ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e230000'), "name"=>"Pascale Nolan", "reference"=>"Darian Hessel", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3259ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd4e5b5735337f9e230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2635ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.8ms)
Completed 200 OK in 7ms (Views: 6.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e240000'), "name"=>"Vena Bruen", "reference"=>"Mateo Marvin", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3953ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3515ms
Completed 200 OK in 7ms (Views: 6.1ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e250000'), "name"=>"Percy Douglas DVM", "reference"=>"Wilbert Zieme DDS", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.4ms)
Completed 200 OK in 5ms (Views: 4.6ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e260000'), "name"=>"Estell Waters", "reference"=>"Akeem Dooley", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4579ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd4e5b5735337f9e260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3183ms
Completed 200 OK in 4ms (Views: 2.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e270000'), "name"=>"Janelle Witting Sr.", "reference"=>"Julio Walker", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4893ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd4e5b5735337f9e270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2988ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.2477ms
Redirected to http://test.host/products/52fd4e5b5735337f9e270000
Completed 302 Found in 5ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e280000'), "firstname"=>"Vivian", "lastname"=>"Glover"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4818ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4315ms
Redirected to http://test.host/users/52fd4e5b5735337f9e290000
Completed 302 Found in 2ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e2a0000'), "firstname"=>"Glenda", "lastname"=>"Padberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5176ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fd4e5b5735337f9e2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3293ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e2a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2916ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e2b0000'), "firstname"=>"Imelda", "lastname"=>"Ortiz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2599ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fd4e5b5735337f9e2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2434ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.4ms)
Completed 200 OK in 7ms (Views: 5.7ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e2c0000'), "firstname"=>"Joannie", "lastname"=>"Ritchie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3510ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3247ms
Completed 200 OK in 6ms (Views: 5.9ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e2d0000'), "firstname"=>"Kyleigh", "lastname"=>"Kutch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2954ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.2ms)
Completed 200 OK in 5ms (Views: 4.4ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e2e0000'), "firstname"=>"Isobel", "lastname"=>"Bechtelar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4605ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fd4e5b5735337f9e2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2712ms
Completed 200 OK in 4ms (Views: 2.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4e5b5735337f9e2f0000'), "firstname"=>"Gavin", "lastname"=>"Labadie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd4e5b5735337f9e2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4e5b5735337f9e2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2413ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fd4e5b5735337f9e2f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6355ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3137ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3129ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2677ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2492ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4ef25735337fef000000'), "name"=>"Erika Harris", "reference"=>"Velva Schamberger", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4420ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4ef25735337fef010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3904ms
Redirected to http://test.host/admin/products/52fd4ef25735337fef010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4ef25735337fef020000'), "name"=>"Carleton Lehner", "reference"=>"Mrs. Delmer Kovacek", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3308ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fd4ef25735337fef020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4ef25735337fef020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2563ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4ef25735337fef020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4ef25735337fef030000'), "name"=>"Dr. Jess Parisian", "reference"=>"Nichole Collier", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2486ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fd4ef25735337fef030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4ef25735337fef030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2862ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (4.9ms)
Completed 200 OK in 23ms (Views: 21.5ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4ef25735337fef040000'), "name"=>"Graham Dach", "reference"=>"Nickolas Hayes", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4492ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3134ms
Completed 200 OK in 5ms (Views: 4.3ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4ef25735337fef050000'), "name"=>"Marlin Stokes", "reference"=>"Norbert Larkin", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3305ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.6ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4ef25735337fef060000'), "name"=>"Dr. Kaycee Hudson", "reference"=>"Mrs. Rashad Miller", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3962ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fd4ef25735337fef060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4ef25735337fef060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2522ms
Completed 200 OK in 4ms (Views: 2.4ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4ef25735337fef070000'), "name"=>"Roma Swaniawski", "reference"=>"Henry Reynolds", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3733ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd4ef25735337fef070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4ef25735337fef070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2910ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4ef25735337fef070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4956ms
Redirected to http://test.host/admin/products/52fd4ef25735337fef070000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4ef25735337fef080000'), "firstname"=>"Matteo", "lastname"=>"Ward"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4543ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4ef25735337fef090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms
Redirected to http://test.host/admin/users/52fd4ef25735337fef090000
Completed 302 Found in 2ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4ef25735337fef0a0000'), "firstname"=>"Sonia", "lastname"=>"Kulas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3869ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fd4ef25735337fef0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4ef25735337fef0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2802ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4ef25735337fef0a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3605ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4ef25735337fef0b0000'), "firstname"=>"Ken", "lastname"=>"Murazik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3086ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fd4ef25735337fef0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4ef25735337fef0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.6ms)
Completed 200 OK in 7ms (Views: 5.7ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4ef25735337fef0c0000'), "firstname"=>"Macey", "lastname"=>"Luettgen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4973ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3735ms
Completed 200 OK in 5ms (Views: 4.6ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef0d0000'), "firstname"=>"Lowell", "lastname"=>"Hayes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3157ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef0e0000'), "firstname"=>"Afton", "lastname"=>"Cole"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3798ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fd4ef35735337fef0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2432ms
Completed 200 OK in 32ms (Views: 30.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef0f0000'), "firstname"=>"Louisa", "lastname"=>"Wisoky"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4193ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd4ef35735337fef0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2786ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fd4ef35735337fef0f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef100000'), "firstname"=>"Enrico", "lastname"=>"Gusikowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4461ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3537ms
Redirected to http://test.host/clients/52fd4ef35735337fef110000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef120000'), "firstname"=>"Javon", "lastname"=>"Hahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3242ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd4ef35735337fef120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2951ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef130000'), "firstname"=>"Roslyn", "lastname"=>"Shanahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2607ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd4ef35735337fef130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2443ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.7ms)
Completed 200 OK in 7ms (Views: 5.9ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef140000'), "firstname"=>"Annabel", "lastname"=>"Waters"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4763ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms
Completed 200 OK in 5ms (Views: 4.4ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef150000'), "firstname"=>"Constantin", "lastname"=>"Purdy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.3441ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef160000'), "firstname"=>"Olga", "lastname"=>"Sauer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3857ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd4ef35735337fef160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2553ms
Completed 200 OK in 4ms (Views: 2.4ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef170000'), "firstname"=>"Maye", "lastname"=>"Lebsack"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3554ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd4ef35735337fef170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3656ms
Redirected to http://test.host/clients/52fd4ef35735337fef170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef180000'), "firstname"=>"Renee", "lastname"=>"Kilback"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3219ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4018ms
Redirected to http://test.host/clients/52fd4ef35735337fef190000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef1a0000'), "firstname"=>"Keshaun", "lastname"=>"Volkman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2535ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd4ef35735337fef1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2833ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef1a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2623ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef1b0000'), "firstname"=>"Gwen", "lastname"=>"Mayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2494ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd4ef35735337fef1b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2484ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 2.7ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef1c0000'), "firstname"=>"Elena", "lastname"=>"Gleichner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3171ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3258ms
Completed 200 OK in 5ms (Views: 4.7ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef1d0000'), "firstname"=>"Forest", "lastname"=>"Cole"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3106ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.5ms)
Completed 200 OK in 3ms (Views: 2.4ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef1e0000'), "firstname"=>"Seamus", "lastname"=>"Hoeger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4249ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd4ef35735337fef1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4456ms
Completed 200 OK in 4ms (Views: 1.7ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef1f0000'), "firstname"=>"Sam", "lastname"=>"Shanahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3410ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd4ef35735337fef1f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef1f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2605ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef1f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3352ms
Redirected to http://test.host/clients/52fd4ef35735337fef1f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef200000'), "name"=>"Monique Botsford Jr.", "reference"=>"Mrs. Priscilla Larkin", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3835ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3712ms
Redirected to http://test.host/products/52fd4ef35735337fef210000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef220000'), "name"=>"Hobart Schuster", "reference"=>"Francisco Cremin", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3403ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd4ef35735337fef220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2772ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2855ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef230000'), "name"=>"Luther Veum", "reference"=>"Katheryn Prohaska", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2494ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd4ef35735337fef230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (3.2ms)
Completed 200 OK in 8ms (Views: 7.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef240000'), "name"=>"Johnathon Ledner", "reference"=>"Bella Kutch MD", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4244ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3628ms
Completed 200 OK in 7ms (Views: 6.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef250000'), "name"=>"Amelia Dicki DVM", "reference"=>"Claudia Simonis", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3183ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.9ms)
Completed 200 OK in 4ms (Views: 3.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef260000'), "name"=>"Shad Nikolaus V", "reference"=>"Margarett Harvey DDS", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9971ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd4ef35735337fef260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4715ms
Completed 200 OK in 5ms (Views: 2.9ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef270000'), "name"=>"Kyra Raynor IV", "reference"=>"Mrs. Brennon Schmeler", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4470ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd4ef35735337fef270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3346ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms
Redirected to http://test.host/products/52fd4ef35735337fef270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef280000'), "firstname"=>"Fabiola", "lastname"=>"Simonis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4208ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3513ms
Redirected to http://test.host/users/52fd4ef35735337fef290000
Completed 302 Found in 2ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef2a0000'), "firstname"=>"Estelle", "lastname"=>"Homenick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3237ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fd4ef35735337fef2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2636ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef2a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2636ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef2b0000'), "firstname"=>"Lucius", "lastname"=>"Schamberger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2913ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fd4ef35735337fef2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3982ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.3ms)
Completed 200 OK in 7ms (Views: 5.7ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef2c0000'), "firstname"=>"Calista", "lastname"=>"King"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4208ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3556ms
Completed 200 OK in 6ms (Views: 5.9ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef2d0000'), "firstname"=>"Benny", "lastname"=>"Schumm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3243ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef2e0000'), "firstname"=>"Amber", "lastname"=>"Brown"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3917ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fd4ef35735337fef2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2696ms
Completed 200 OK in 4ms (Views: 2.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd4ef35735337fef2f0000'), "firstname"=>"Aleen", "lastname"=>"Stehr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4829ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd4ef35735337fef2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd4ef35735337fef2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2756ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fd4ef35735337fef2f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6212ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3211ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3887ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3509ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3206ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a000000'), "name"=>"Camylle Leannon", "reference"=>"Miss Raheem Mayert", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4764ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4060ms
Redirected to http://test.host/admin/products/52fd5780573533060a010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a020000'), "name"=>"Jarod Torphy", "reference"=>"Demond Nolan", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3292ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fd5780573533060a020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd5780573533060a020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd5780573533060a020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3019ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a030000'), "name"=>"Demetrius Franecki", "reference"=>"Raina Fisher PhD", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2684ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fd5780573533060a030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd5780573533060a030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2956ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (4.9ms)
Completed 200 OK in 22ms (Views: 21.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a040000'), "name"=>"Tatyana Fahey", "reference"=>"Connor Frami", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4152ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3237ms
Completed 200 OK in 5ms (Views: 4.3ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a050000'), "name"=>"Graciela Kulas", "reference"=>"Dr. Joel Pouros", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3222ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.9ms)
Completed 200 OK in 4ms (Views: 3.7ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a060000'), "name"=>"Kayla Greenfelder", "reference"=>"Susan Zemlak", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4022ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fd5780573533060a060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd5780573533060a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms
Completed 200 OK in 4ms (Views: 2.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a070000'), "name"=>"Keyshawn Rogahn", "reference"=>"Brody Hane", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3477ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd5780573533060a070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd5780573533060a070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2915ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd5780573533060a070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5439ms
Redirected to http://test.host/admin/products/52fd5780573533060a070000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a080000'), "firstname"=>"Tatyana", "lastname"=>"Zulauf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4608ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3811ms
Redirected to http://test.host/admin/users/52fd5780573533060a090000
Completed 302 Found in 2ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a0a0000'), "firstname"=>"Michaela", "lastname"=>"Jacobs"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3393ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fd5780573533060a0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd5780573533060a0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd5780573533060a0a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3475ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a0b0000'), "firstname"=>"Justen", "lastname"=>"Beatty"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2645ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fd5780573533060a0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd5780573533060a0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 5.6ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a0c0000'), "firstname"=>"Arno", "lastname"=>"Lehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3954ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3682ms
Completed 200 OK in 5ms (Views: 4.5ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a0d0000'), "firstname"=>"Davonte", "lastname"=>"Mertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3062ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a0e0000'), "firstname"=>"Korbin", "lastname"=>"Sipes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3830ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fd5780573533060a0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd5780573533060a0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2392ms
Completed 200 OK in 32ms (Views: 30.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a0f0000'), "firstname"=>"Kassandra", "lastname"=>"Dicki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd5780573533060a0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd5780573533060a0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2894ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fd5780573533060a0f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a100000'), "firstname"=>"Shayna", "lastname"=>"Ruecker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8096ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3737ms
Redirected to http://test.host/clients/52fd5780573533060a110000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a120000'), "firstname"=>"Nicolette", "lastname"=>"Langworth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3590ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd5780573533060a120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd5780573533060a120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3003ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd5780573533060a120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3507ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a130000'), "firstname"=>"Guido", "lastname"=>"Simonis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3020ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd5780573533060a130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd5780573533060a130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2640ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (3.2ms)
Completed 200 OK in 8ms (Views: 6.5ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a140000'), "firstname"=>"Arnold", "lastname"=>"Pfannerstill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4557ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3547ms
Completed 200 OK in 5ms (Views: 4.3ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a150000'), "firstname"=>"Susie", "lastname"=>"Reynolds"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3851ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.4ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a160000'), "firstname"=>"Jovany", "lastname"=>"Gutkowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4315ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd5780573533060a160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd5780573533060a160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2917ms
Completed 200 OK in 4ms (Views: 2.4ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a170000'), "firstname"=>"Mark", "lastname"=>"Kunze"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3659ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd5780573533060a170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd5780573533060a170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd5780573533060a170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3199ms
Redirected to http://test.host/clients/52fd5780573533060a170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a180000'), "firstname"=>"Pearlie", "lastname"=>"Kirlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3836ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2838ms
Redirected to http://test.host/clients/52fd5780573533060a190000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a1a0000'), "firstname"=>"Amina", "lastname"=>"Moore"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2310ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fd5780573533060a1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd5780573533060a1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2255ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd5780573533060a1a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2333ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a1b0000'), "firstname"=>"Hilbert", "lastname"=>"O'Connell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fd5780573533060a1b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd5780573533060a1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2240ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 2.7ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a1c0000'), "firstname"=>"Beulah", "lastname"=>"Green"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3142ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3161ms
Completed 200 OK in 5ms (Views: 4.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a1d0000'), "firstname"=>"Kenya", "lastname"=>"Paucek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3201ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.4ms)
Completed 200 OK in 3ms (Views: 2.4ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a1e0000'), "firstname"=>"Maryjane", "lastname"=>"Lowe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3931ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fd5780573533060a1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd5780573533060a1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3946ms
Completed 200 OK in 3ms (Views: 1.5ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a1f0000'), "firstname"=>"Cora", "lastname"=>"Emmerich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3197ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fd5780573533060a1f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd5780573533060a1f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2301ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fd5780573533060a1f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2558ms
Redirected to http://test.host/clients/52fd5780573533060a1f0000
Completed 302 Found in 2ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a200000'), "name"=>"Johanna Cruickshank I", "reference"=>"Michel Cassin", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3236ms
Redirected to http://test.host/products/52fd5780573533060a210000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a220000'), "name"=>"Katelyn Dach", "reference"=>"Dr. Chloe Lang", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3101ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fd5780573533060a220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd5780573533060a220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2636ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd5780573533060a220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2320ms
Redirected to http://test.host/products
Completed 302 Found in 7ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a230000'), "name"=>"Rachael Senger", "reference"=>"Torrance Reynolds", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4513ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fd5780573533060a230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd5780573533060a230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3799ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.6ms)
Completed 200 OK in 7ms (Views: 5.8ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a240000'), "name"=>"Nicolas Mann MD", "reference"=>"Dr. Malinda Ruecker", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4486ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3778ms
Completed 200 OK in 7ms (Views: 6.1ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a250000'), "name"=>"Verda Kemmer MD", "reference"=>"Jettie Mraz DVM", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3325ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.6ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a260000'), "name"=>"Adolphus Spinka", "reference"=>"Jo O'Conner", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fd5780573533060a260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd5780573533060a260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3406ms
Completed 200 OK in 4ms (Views: 2.8ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a270000'), "name"=>"Rasheed Mohr", "reference"=>"Domingo Kris", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4467ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fd5780573533060a270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd5780573533060a270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2689ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fd5780573533060a270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2713ms
Redirected to http://test.host/products/52fd5780573533060a270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a280000'), "firstname"=>"Mazie", "lastname"=>"Ebert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4281ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3293ms
Redirected to http://test.host/users/52fd5780573533060a290000
Completed 302 Found in 2ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a2a0000'), "firstname"=>"Jeffry", "lastname"=>"Lind"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3063ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fd5780573533060a2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd5780573533060a2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd5780573533060a2a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2532ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a2b0000'), "firstname"=>"Clair", "lastname"=>"Altenwerth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2426ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fd5780573533060a2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd5780573533060a2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3056ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 6.1ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a2c0000'), "firstname"=>"Lauren", "lastname"=>"Jerde"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4062ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3522ms
Completed 200 OK in 6ms (Views: 6.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a2d0000'), "firstname"=>"Vincent", "lastname"=>"Torphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3630ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.4ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a2e0000'), "firstname"=>"Ottilie", "lastname"=>"Treutel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4424ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fd5780573533060a2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd5780573533060a2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms
Completed 200 OK in 4ms (Views: 2.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fd5780573533060a2f0000'), "firstname"=>"Emerald", "lastname"=>"Schultz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4347ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fd5780573533060a2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fd5780573533060a2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fd5780573533060a2f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6311ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3146ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3323ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2723ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f000000'), "name"=>"Marcia Leuschke", "reference"=>"Darrin Kunze", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4443ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4300ms
Redirected to http://test.host/admin/products/52fdc318573533295f010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f020000'), "name"=>"Weldon Muller", "reference"=>"Dr. Evangeline Schiller", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3059ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fdc318573533295f020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc318573533295f020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2651ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc318573533295f020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2830ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f030000'), "name"=>"Dr. Shanon Schmitt", "reference"=>"Ms. Audrey Kunde", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2765ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fdc318573533295f030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc318573533295f030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2408ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 200 OK in 23ms (Views: 21.4ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f040000'), "name"=>"Braden Anderson", "reference"=>"Davion Graham", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4602ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3375ms
Completed 200 OK in 5ms (Views: 4.4ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f050000'), "name"=>"Estevan Tremblay", "reference"=>"Jasper O'Conner IV", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2810ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.7ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f060000'), "name"=>"Katlyn D'Amore", "reference"=>"Geo Beier", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3587ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fdc318573533295f060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc318573533295f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2122ms
Completed 200 OK in 4ms (Views: 2.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f070000'), "name"=>"Amir Funk IV", "reference"=>"Ozella Gutmann", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3748ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdc318573533295f070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc318573533295f070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2460ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc318573533295f070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3426ms
Redirected to http://test.host/admin/products/52fdc318573533295f070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f080000'), "firstname"=>"Jessica", "lastname"=>"Harris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4825ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3391ms
Redirected to http://test.host/admin/users/52fdc318573533295f090000
Completed 302 Found in 2ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f0a0000'), "firstname"=>"Chester", "lastname"=>"Breitenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2965ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fdc318573533295f0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc318573533295f0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2432ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc318573533295f0a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2755ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f0b0000'), "firstname"=>"Daren", "lastname"=>"Stoltenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2357ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fdc318573533295f0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc318573533295f0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2400ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 5.7ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f0c0000'), "firstname"=>"Pearlie", "lastname"=>"Renner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3752ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3991ms
Completed 200 OK in 6ms (Views: 5.1ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f0d0000'), "firstname"=>"Camren", "lastname"=>"Runolfsdottir"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3097ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.4ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f0e0000'), "firstname"=>"Sierra", "lastname"=>"Reynolds"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9390ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fdc318573533295f0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc318573533295f0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2877ms
Completed 200 OK in 4ms (Views: 2.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f0f0000'), "firstname"=>"Savannah", "lastname"=>"Mohr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4228ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdc318573533295f0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc318573533295f0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3071ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fdc318573533295f0f0000
Completed 302 Found in 4ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f100000'), "firstname"=>"Theresia", "lastname"=>"Conn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4498ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4540ms
Redirected to http://test.host/clients/52fdc318573533295f110000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f120000'), "firstname"=>"Jalen", "lastname"=>"Wolf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3783ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdc318573533295f120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc318573533295f120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2635ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc318573533295f120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2902ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f130000'), "firstname"=>"Jensen", "lastname"=>"Rosenbaum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2552ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdc318573533295f130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc318573533295f130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2900ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 9ms (Views: 7.4ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f140000'), "firstname"=>"Hoyt", "lastname"=>"Connelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3217ms
Completed 200 OK in 6ms (Views: 4.7ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f150000'), "firstname"=>"Georgiana", "lastname"=>"Blanda"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3140ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 5ms (Views: 4.0ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f160000'), "firstname"=>"Elenora", "lastname"=>"Marks"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdc318573533295f160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc318573533295f160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms
Completed 200 OK in 4ms (Views: 2.9ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f170000'), "firstname"=>"Drake", "lastname"=>"Gleichner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0586ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdc318573533295f170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc318573533295f170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3426ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc318573533295f170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms
Redirected to http://test.host/clients/52fdc318573533295f170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f180000'), "firstname"=>"Rudolph", "lastname"=>"Kuphal"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2756ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3012ms
Redirected to http://test.host/clients/52fdc318573533295f190000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f1a0000'), "firstname"=>"Hillard", "lastname"=>"Hills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdc318573533295f1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc318573533295f1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2321ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc318573533295f1a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2198ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f1b0000'), "firstname"=>"Lonie", "lastname"=>"Kunde"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2066ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdc318573533295f1b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc318573533295f1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2618ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 3.4ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f1c0000'), "firstname"=>"Robyn", "lastname"=>"Towne"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3273ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3406ms
Completed 200 OK in 6ms (Views: 5.5ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f1d0000'), "firstname"=>"Jaleel", "lastname"=>"Mante"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4200ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.1ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f1e0000'), "firstname"=>"Jordyn", "lastname"=>"Kiehn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdc318573533295f1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc318573533295f1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2550ms
Completed 200 OK in 3ms (Views: 1.9ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f1f0000'), "firstname"=>"Rodolfo", "lastname"=>"Schneider"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3399ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdc318573533295f1f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc318573533295f1f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc318573533295f1f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2626ms
Redirected to http://test.host/clients/52fdc318573533295f1f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f200000'), "name"=>"Enola Heidenreich", "reference"=>"General Lubowitz", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4553ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3930ms
Redirected to http://test.host/products/52fdc318573533295f210000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f220000'), "name"=>"Marilie Morar", "reference"=>"Erin Carter Sr.", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4720ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fdc318573533295f220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc318573533295f220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3375ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc318573533295f220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2727ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f230000'), "name"=>"Jalon DuBuque MD", "reference"=>"Lela Hackett V", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2648ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fdc318573533295f230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc318573533295f230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2537ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 7ms (Views: 5.8ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f240000'), "name"=>"Bertha Howe", "reference"=>"Jazmyne Dickinson", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4237ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3627ms
Completed 200 OK in 7ms (Views: 6.1ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f250000'), "name"=>"Miss Elliott Jast", "reference"=>"Evelyn Sipes", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3532ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 35ms (Views: 34.8ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f260000'), "name"=>"Magali Kessler", "reference"=>"Mack Block", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4407ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fdc318573533295f260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc318573533295f260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2843ms
Completed 200 OK in 4ms (Views: 2.8ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f270000'), "name"=>"Baby Schuppe", "reference"=>"Effie Lehner IV", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3952ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdc318573533295f270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc318573533295f270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2706ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc318573533295f270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2863ms
Redirected to http://test.host/products/52fdc318573533295f270000
Completed 302 Found in 2ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f280000'), "firstname"=>"Kris", "lastname"=>"Hickle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4030ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3343ms
Redirected to http://test.host/users/52fdc318573533295f290000
Completed 302 Found in 2ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f2a0000'), "firstname"=>"Valentine", "lastname"=>"Friesen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3128ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fdc318573533295f2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc318573533295f2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2904ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc318573533295f2a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2680ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f2b0000'), "firstname"=>"Heather", "lastname"=>"Hodkiewicz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3906ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fdc318573533295f2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc318573533295f2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2810ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.4ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f2c0000'), "firstname"=>"Shirley", "lastname"=>"Beahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3714ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3525ms
Completed 200 OK in 7ms (Views: 6.4ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f2d0000'), "firstname"=>"Katharina", "lastname"=>"Leffler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3320ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f2e0000'), "firstname"=>"Sandy", "lastname"=>"Spinka"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3954ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fdc318573533295f2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc318573533295f2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3727ms
Completed 200 OK in 5ms (Views: 3.0ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc318573533295f2f0000'), "firstname"=>"Brayan", "lastname"=>"Roberts"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4468ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdc318573533295f2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc318573533295f2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2931ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fdc318573533295f2f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6176ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2862ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2878ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2499ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2441ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73000000'), "name"=>"Kyra Kub I", "reference"=>"Kelton Littel", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4385ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms
Redirected to http://test.host/admin/products/52fdc43e5735332a73010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73020000'), "name"=>"Dr. Russel Frami", "reference"=>"Demarco Berge", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3428ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fdc43e5735332a73020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc43e5735332a73020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2802ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc43e5735332a73020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3031ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73030000'), "name"=>"Marc Pfeffer MD", "reference"=>"Annie Tillman", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2694ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fdc43e5735332a73030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc43e5735332a73030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2422ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms)
Completed 200 OK in 23ms (Views: 21.5ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73040000'), "name"=>"Mr. Larissa Muller", "reference"=>"Dr. Kayli Reinger", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4659ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3275ms
Completed 200 OK in 5ms (Views: 4.4ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73050000'), "name"=>"Lou Smitham", "reference"=>"Fae DuBuque", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 4ms (Views: 3.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73060000'), "name"=>"Nasir McGlynn", "reference"=>"Mazie Rodriguez V", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4062ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fdc43e5735332a73060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc43e5735332a73060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms
Completed 200 OK in 4ms (Views: 2.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73070000'), "name"=>"Cielo Hauck", "reference"=>"Zetta Crooks", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3857ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdc43e5735332a73070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc43e5735332a73070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2957ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc43e5735332a73070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4971ms
Redirected to http://test.host/admin/products/52fdc43e5735332a73070000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73080000'), "firstname"=>"Carlee", "lastname"=>"Schaefer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4246ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3704ms
Redirected to http://test.host/admin/users/52fdc43e5735332a73090000
Completed 302 Found in 2ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a730a0000'), "firstname"=>"Frieda", "lastname"=>"Marks"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3373ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fdc43e5735332a730a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc43e5735332a730a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2597ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc43e5735332a730a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2786ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a730b0000'), "firstname"=>"Clair", "lastname"=>"Ortiz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fdc43e5735332a730b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc43e5735332a730b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2458ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 7ms (Views: 5.8ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a730c0000'), "firstname"=>"Amparo", "lastname"=>"Simonis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3956ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3683ms
Completed 200 OK in 5ms (Views: 4.6ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a730d0000'), "firstname"=>"Tremayne", "lastname"=>"Vandervort"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3085ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.4ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a730e0000'), "firstname"=>"Dimitri", "lastname"=>"Rempel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3847ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fdc43e5735332a730e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc43e5735332a730e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2331ms
Completed 200 OK in 32ms (Views: 31.1ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a730f0000'), "firstname"=>"Clement", "lastname"=>"Bode"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3976ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdc43e5735332a730f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc43e5735332a730f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2809ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fdc43e5735332a730f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73100000'), "firstname"=>"Jose", "lastname"=>"Schaden"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4634ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4060ms
Redirected to http://test.host/admin/clients/52fdc43e5735332a73110000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73120000'), "firstname"=>"Ismael", "lastname"=>"Schroeder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdc43e5735332a73120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc43e5735332a73120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2901ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc43e5735332a73120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2668ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73130000'), "firstname"=>"Lucius", "lastname"=>"Stoltenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdc43e5735332a73130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc43e5735332a73130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2560ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 9ms (Views: 7.6ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73140000'), "firstname"=>"Liliane", "lastname"=>"Turcotte"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4587ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms
Completed 200 OK in 6ms (Views: 5.0ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73150000'), "firstname"=>"Annetta", "lastname"=>"Wyman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3802ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 4.1ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73160000'), "firstname"=>"Madie", "lastname"=>"Marquardt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4302ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdc43e5735332a73160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc43e5735332a73160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2744ms
Completed 200 OK in 5ms (Views: 3.7ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73170000'), "firstname"=>"Ethyl", "lastname"=>"Shanahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4310ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdc43e5735332a73170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc43e5735332a73170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2658ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc43e5735332a73170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2765ms
Redirected to http://test.host/admin/clients/52fdc43e5735332a73170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73180000'), "firstname"=>"Tillman", "lastname"=>"Barrows"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2759ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3096ms
Redirected to http://test.host/clients/52fdc43e5735332a73190000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a731a0000'), "firstname"=>"Jordy", "lastname"=>"Beer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2480ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdc43e5735332a731a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc43e5735332a731a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3035ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc43e5735332a731a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3033ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a731b0000'), "firstname"=>"Magnus", "lastname"=>"Hessel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5653ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdc43e5735332a731b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc43e5735332a731b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2733ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 3.8ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a731c0000'), "firstname"=>"Mario", "lastname"=>"Johnston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5575ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3847ms
Completed 200 OK in 6ms (Views: 5.7ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a731d0000'), "firstname"=>"Nathen", "lastname"=>"Barrows"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4779ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a731e0000'), "firstname"=>"Aaliyah", "lastname"=>"Koch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4523ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdc43e5735332a731e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc43e5735332a731e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3004ms
Completed 200 OK in 3ms (Views: 2.0ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a731f0000'), "firstname"=>"Reed", "lastname"=>"Jacobi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4506ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdc43e5735332a731f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc43e5735332a731f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3609ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc43e5735332a731f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3150ms
Redirected to http://test.host/clients/52fdc43e5735332a731f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73200000'), "name"=>"Rollin Dach", "reference"=>"Shaniya Barton", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4141ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3586ms
Redirected to http://test.host/products/52fdc43e5735332a73210000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73220000'), "name"=>"Sandy Heidenreich", "reference"=>"Evangeline Abbott", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3266ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fdc43e5735332a73220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc43e5735332a73220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3120ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc43e5735332a73220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3040ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73230000'), "name"=>"Jackeline Lang", "reference"=>"Rollin Hamill", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3289ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fdc43e5735332a73230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc43e5735332a73230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2994ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 7ms (Views: 6.2ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73240000'), "name"=>"Cesar Jaskolski PhD", "reference"=>"Jon Bode", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.7018ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3977ms
Completed 200 OK in 7ms (Views: 6.3ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73250000'), "name"=>"Candelario Schmidt", "reference"=>"Jolie Miller", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3701ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.8ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73260000'), "name"=>"Gail Dickinson Sr.", "reference"=>"Lavada Okuneva", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4445ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fdc43e5735332a73260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc43e5735332a73260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2952ms
Completed 200 OK in 4ms (Views: 3.0ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73270000'), "name"=>"Joaquin Hammes Jr.", "reference"=>"Amber Jerde II", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3979ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdc43e5735332a73270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc43e5735332a73270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2334ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc43e5735332a73270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2554ms
Redirected to http://test.host/products/52fdc43e5735332a73270000
Completed 302 Found in 2ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73280000'), "firstname"=>"Rhoda", "lastname"=>"Schuster"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4392ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a73290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3403ms
Redirected to http://test.host/users/52fdc43e5735332a73290000
Completed 302 Found in 2ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a732a0000'), "firstname"=>"Kevon", "lastname"=>"Rippin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3408ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fdc43e5735332a732a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc43e5735332a732a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2810ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc43e5735332a732a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2554ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a732b0000'), "firstname"=>"Nathen", "lastname"=>"Haag"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2619ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fdc43e5735332a732b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc43e5735332a732b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2425ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 7ms (Views: 6.2ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a732c0000'), "firstname"=>"Deborah", "lastname"=>"Legros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3958ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3899ms
Completed 200 OK in 7ms (Views: 6.1ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a732d0000'), "firstname"=>"Ericka", "lastname"=>"Bahringer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3840ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 3.5ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a732e0000'), "firstname"=>"Caesar", "lastname"=>"Kovacek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 28.4871ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fdc43e5735332a732e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc43e5735332a732e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3793ms
Completed 200 OK in 6ms (Views: 4.1ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc43e5735332a732f0000'), "firstname"=>"Katlyn", "lastname"=>"Green"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdc43e5735332a732f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc43e5735332a732f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3503ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fdc43e5735332a732f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6705ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3408ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3722ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3321ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3240ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2000000'), "name"=>"Juanita Cormier IV", "reference"=>"Eloy Waelchi", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4922ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4056ms
Redirected to http://test.host/admin/products/52fdc45c5735332ac2010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2020000'), "name"=>"Austen Moore", "reference"=>"Miss Lyric Torp", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3507ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fdc45c5735332ac2020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac2020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2993ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2030000'), "name"=>"Gunner Gislason I", "reference"=>"Mark Hickle", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3210ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fdc45c5735332ac2030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac2030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3010ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 200 OK in 23ms (Views: 21.2ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2040000'), "name"=>"Lula Dare", "reference"=>"Mrs. Morgan Labadie", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4473ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3216ms
Completed 200 OK in 5ms (Views: 4.3ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2050000'), "name"=>"Deven Erdman Sr.", "reference"=>"Mac Armstrong", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 7.0436ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.7ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2060000'), "name"=>"Brenda Schiller III", "reference"=>"Mohamed Goyette IV", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4062ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fdc45c5735332ac2060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac2060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2893ms
Completed 200 OK in 4ms (Views: 2.8ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2070000'), "name"=>"Shayne Erdman", "reference"=>"Rachel Fritsch IV", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4078ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdc45c5735332ac2070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2537ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac2070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3017ms
Redirected to http://test.host/admin/products/52fdc45c5735332ac2070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2080000'), "firstname"=>"Mandy", "lastname"=>"Morar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4062ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3242ms
Redirected to http://test.host/admin/users/52fdc45c5735332ac2090000
Completed 302 Found in 2ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac20a0000'), "firstname"=>"Curtis", "lastname"=>"Kris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2953ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fdc45c5735332ac20a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac20a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2391ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac20a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2762ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac20b0000'), "firstname"=>"Emiliano", "lastname"=>"Roob"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2431ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fdc45c5735332ac20b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac20b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2335ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 8ms (Views: 6.3ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac20c0000'), "firstname"=>"Jensen", "lastname"=>"Hettinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4873ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3503ms
Completed 200 OK in 5ms (Views: 4.3ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac20d0000'), "firstname"=>"Luigi", "lastname"=>"Reinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac20e0000'), "firstname"=>"Ed", "lastname"=>"Walter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3891ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fdc45c5735332ac20e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2213ms
Completed 200 OK in 32ms (Views: 31.2ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac20f0000'), "firstname"=>"Gaston", "lastname"=>"Satterfield"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4159ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdc45c5735332ac20f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac20f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2529ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fdc45c5735332ac20f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2100000'), "firstname"=>"Macy", "lastname"=>"Jacobi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4417ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms
Redirected to http://test.host/admin/clients/52fdc45c5735332ac2110000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2120000'), "firstname"=>"Shayne", "lastname"=>"Hessel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3416ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdc45c5735332ac2120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac2120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac2120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2883ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2130000'), "firstname"=>"Adela", "lastname"=>"Brown"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4114ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdc45c5735332ac2130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac2130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3495ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 6.6ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2140000'), "firstname"=>"Eldora", "lastname"=>"Beatty"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3992ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3188ms
Completed 200 OK in 6ms (Views: 4.7ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2150000'), "firstname"=>"Tony", "lastname"=>"Toy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4336ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2160000'), "firstname"=>"Josiah", "lastname"=>"Rempel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdc45c5735332ac2160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac2160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms
Completed 200 OK in 5ms (Views: 3.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2170000'), "firstname"=>"Stanton", "lastname"=>"Graham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdc45c5735332ac2170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac2170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac2170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms
Redirected to http://test.host/admin/clients/52fdc45c5735332ac2170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2180000'), "firstname"=>"Miracle", "lastname"=>"Bruen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2743ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3006ms
Redirected to http://test.host/clients/52fdc45c5735332ac2190000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac21a0000'), "firstname"=>"Creola", "lastname"=>"Kub"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdc45c5735332ac21a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac21a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac21a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2529ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac21b0000'), "firstname"=>"Filomena", "lastname"=>"King"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2915ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdc45c5735332ac21b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac21b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3826ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 5ms (Views: 3.6ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac21c0000'), "firstname"=>"Jonathan", "lastname"=>"Leannon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3660ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3379ms
Completed 200 OK in 6ms (Views: 5.2ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac21d0000'), "firstname"=>"Reuben", "lastname"=>"Daniel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6060ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.1ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac21e0000'), "firstname"=>"Frederick", "lastname"=>"Grant"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4649ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdc45c5735332ac21e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac21e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3363ms
Completed 200 OK in 3ms (Views: 1.9ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac21f0000'), "firstname"=>"Murray", "lastname"=>"Orn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3290ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdc45c5735332ac21f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac21f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2587ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac21f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2789ms
Redirected to http://test.host/clients/52fdc45c5735332ac21f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2200000'), "name"=>"Dr. Zion Schmitt", "reference"=>"Jovany Rolfson", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4261ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3546ms
Redirected to http://test.host/products/52fdc45c5735332ac2210000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2220000'), "name"=>"Stephania Emard", "reference"=>"Dr. Easton Schimmel", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3378ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fdc45c5735332ac2220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac2220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac2220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2649ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2230000'), "name"=>"Joey Turcotte", "reference"=>"Melisa Buckridge IV", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2943ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fdc45c5735332ac2230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac2230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3991ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 6.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2240000'), "name"=>"Cora West", "reference"=>"Kiera Schulist", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4065ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3873ms
Completed 200 OK in 7ms (Views: 6.4ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2250000'), "name"=>"Dorcas Torphy DVM", "reference"=>"Vernon Waelchi", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3387ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2260000'), "name"=>"Toy Homenick DVM", "reference"=>"Edison Kuhic", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fdc45c5735332ac2260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac2260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms
Completed 200 OK in 4ms (Views: 2.9ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2270000'), "name"=>"Lisette Rice", "reference"=>"Lauryn Cummings", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdc45c5735332ac2270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac2270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac2270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0472ms
Redirected to http://test.host/products/52fdc45c5735332ac2270000
Completed 302 Found in 6ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2280000'), "firstname"=>"Marc", "lastname"=>"Ryan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4003ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac2290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3276ms
Redirected to http://test.host/users/52fdc45c5735332ac2290000
Completed 302 Found in 2ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac22a0000'), "firstname"=>"Nikita", "lastname"=>"Larson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3437ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fdc45c5735332ac22a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac22a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2836ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac22a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2599ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac22b0000'), "firstname"=>"Genoveva", "lastname"=>"Altenwerth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2996ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fdc45c5735332ac22b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac22b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3813ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 7ms (Views: 5.5ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac22c0000'), "firstname"=>"Vena", "lastname"=>"Hickle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3479ms
Completed 200 OK in 6ms (Views: 5.9ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac22d0000'), "firstname"=>"Ezequiel", "lastname"=>"Bosco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3339ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac22e0000'), "firstname"=>"Willow", "lastname"=>"Satterfield"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3990ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fdc45c5735332ac22e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac22e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2475ms
Completed 200 OK in 4ms (Views: 2.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc45c5735332ac22f0000'), "firstname"=>"Emile", "lastname"=>"Bradtke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4677ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdc45c5735332ac22f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc45c5735332ac22f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2551ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fdc45c5735332ac22f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6382ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3571ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3646ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3528ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2807ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10000000'), "name"=>"Rosetta Hammes", "reference"=>"Alfreda Reinger", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4560ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4005ms
Redirected to http://test.host/admin/products/52fdc47b5735332b10010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10020000'), "name"=>"Noel Mann", "reference"=>"Vladimir Wintheiser", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3406ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fdc47b5735332b10020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc47b5735332b10020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2759ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc47b5735332b10020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2964ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10030000'), "name"=>"Delpha Sawayn V", "reference"=>"Mr. Henderson Spencer", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2507ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fdc47b5735332b10030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc47b5735332b10030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.4ms)
Completed 200 OK in 23ms (Views: 22.1ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10040000'), "name"=>"Chesley Marks", "reference"=>"Rodger Abernathy", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4520ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3403ms
Completed 200 OK in 5ms (Views: 4.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10050000'), "name"=>"Christina VonRueden", "reference"=>"Dr. Dario Swaniawski", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3253ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 4ms (Views: 3.7ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10060000'), "name"=>"Garrison Barrows", "reference"=>"Mr. Zena Murazik", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3637ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fdc47b5735332b10060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc47b5735332b10060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2650ms
Completed 200 OK in 4ms (Views: 2.4ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10070000'), "name"=>"Ima Klocko", "reference"=>"Katelyn Mayer II", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4333ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdc47b5735332b10070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc47b5735332b10070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4578ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc47b5735332b10070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5126ms
Redirected to http://test.host/admin/products/52fdc47b5735332b10070000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10080000'), "firstname"=>"Irwin", "lastname"=>"Baumbach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4529ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3789ms
Redirected to http://test.host/admin/users/52fdc47b5735332b10090000
Completed 302 Found in 2ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b100a0000'), "firstname"=>"Garnet", "lastname"=>"McDermott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3812ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fdc47b5735332b100a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc47b5735332b100a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3214ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc47b5735332b100a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3756ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b100b0000'), "firstname"=>"Emie", "lastname"=>"Kshlerin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3116ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fdc47b5735332b100b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc47b5735332b100b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2914ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 8ms (Views: 6.5ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b100c0000'), "firstname"=>"Milton", "lastname"=>"Ankunding"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5041ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3217ms
Completed 200 OK in 5ms (Views: 4.4ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b100d0000'), "firstname"=>"Loy", "lastname"=>"Terry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3197ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 4ms (Views: 3.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b100e0000'), "firstname"=>"Sarai", "lastname"=>"Effertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3735ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fdc47b5735332b100e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc47b5735332b100e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2827ms
Completed 200 OK in 33ms (Views: 31.3ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b100f0000'), "firstname"=>"Elyse", "lastname"=>"Lubowitz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4087ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdc47b5735332b100f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc47b5735332b100f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2788ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fdc47b5735332b100f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10100000'), "firstname"=>"Lelah", "lastname"=>"Berge"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4373ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3412ms
Redirected to http://test.host/admin/clients/52fdc47b5735332b10110000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10120000'), "firstname"=>"Justine", "lastname"=>"Wintheiser"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3190ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdc47b5735332b10120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc47b5735332b10120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3268ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc47b5735332b10120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3880ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10130000'), "firstname"=>"Raul", "lastname"=>"Waelchi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2527ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdc47b5735332b10130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc47b5735332b10130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4110ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 9ms (Views: 7.2ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10140000'), "firstname"=>"Edwin", "lastname"=>"Rosenbaum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4162ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2909ms
Completed 200 OK in 6ms (Views: 4.8ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10150000'), "firstname"=>"Felix", "lastname"=>"Hayes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5166ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 5ms (Views: 4.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10160000'), "firstname"=>"Jailyn", "lastname"=>"Kihn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4698ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdc47b5735332b10160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc47b5735332b10160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2689ms
Completed 200 OK in 4ms (Views: 3.0ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10170000'), "firstname"=>"Georgette", "lastname"=>"Fahey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3588ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdc47b5735332b10170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc47b5735332b10170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc47b5735332b10170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3439ms
Redirected to http://test.host/admin/clients/52fdc47b5735332b10170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10180000'), "firstname"=>"Candida", "lastname"=>"Berge"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2628ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3077ms
Redirected to http://test.host/clients/52fdc47b5735332b10190000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b101a0000'), "firstname"=>"Nico", "lastname"=>"Kilback"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2395ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdc47b5735332b101a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc47b5735332b101a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1980ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc47b5735332b101a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2224ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b101b0000'), "firstname"=>"Trudie", "lastname"=>"Dietrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2721ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdc47b5735332b101b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc47b5735332b101b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3958ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 4.3ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b101c0000'), "firstname"=>"Elvera", "lastname"=>"Becker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1412ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3546ms
Completed 200 OK in 6ms (Views: 5.5ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b101d0000'), "firstname"=>"Antonietta", "lastname"=>"Hills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4148ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.2ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b101e0000'), "firstname"=>"Chloe", "lastname"=>"Schiller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3652ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdc47b5735332b101e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc47b5735332b101e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4122ms
Completed 200 OK in 5ms (Views: 2.3ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b101f0000'), "firstname"=>"Isaiah", "lastname"=>"Donnelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdc47b5735332b101f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc47b5735332b101f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2699ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc47b5735332b101f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3154ms
Redirected to http://test.host/clients/52fdc47b5735332b101f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10200000'), "name"=>"Elton Stehr", "reference"=>"Jaeden Gulgowski", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4367ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4007ms
Redirected to http://test.host/products/52fdc47b5735332b10210000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10220000'), "name"=>"Clifton Kautzer", "reference"=>"Ryleigh Daugherty", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3886ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fdc47b5735332b10220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc47b5735332b10220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2702ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc47b5735332b10220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3077ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10230000'), "name"=>"Alexandra Ziemann MD", "reference"=>"Torrance Kub", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4048ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fdc47b5735332b10230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc47b5735332b10230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3660ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 7ms (Views: 5.9ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10240000'), "name"=>"Savanna Russel", "reference"=>"Ophelia Will", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4495ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3765ms
Completed 200 OK in 7ms (Views: 6.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10250000'), "name"=>"Edwardo Rice", "reference"=>"Will Treutel I", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2772ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 4.0ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10260000'), "name"=>"Zelda Hansen", "reference"=>"Augustus Torphy", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5092ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fdc47b5735332b10260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc47b5735332b10260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2957ms
Completed 200 OK in 4ms (Views: 2.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10270000'), "name"=>"Newton Wuckert DDS", "reference"=>"Mrs. Amie Kutch", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3888ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdc47b5735332b10270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc47b5735332b10270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2997ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc47b5735332b10270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3198ms
Redirected to http://test.host/products/52fdc47b5735332b10270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10280000'), "firstname"=>"Maureen", "lastname"=>"Jones"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3645ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b10290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3162ms
Redirected to http://test.host/users/52fdc47b5735332b10290000
Completed 302 Found in 2ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b102a0000'), "firstname"=>"Hermina", "lastname"=>"Prosacco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3253ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fdc47b5735332b102a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc47b5735332b102a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2861ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc47b5735332b102a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3099ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b102b0000'), "firstname"=>"Lamont", "lastname"=>"Ferry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3462ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fdc47b5735332b102b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc47b5735332b102b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4274ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 200 OK in 8ms (Views: 6.2ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b102c0000'), "firstname"=>"Jaunita", "lastname"=>"Fahey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3461ms
Completed 200 OK in 7ms (Views: 6.1ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b102d0000'), "firstname"=>"Buford", "lastname"=>"Paucek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3235ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b102e0000'), "firstname"=>"Kaleigh", "lastname"=>"Carroll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3554ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fdc47b5735332b102e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc47b5735332b102e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2787ms
Completed 200 OK in 5ms (Views: 3.3ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc47b5735332b102f0000'), "firstname"=>"Albertha", "lastname"=>"Franecki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4536ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdc47b5735332b102f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc47b5735332b102f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2840ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fdc47b5735332b102f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6503ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3175ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3143ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3546ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3224ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc4b15735332b7a000000'), "name"=>"Kiera Reynolds", "reference"=>"Mrs. Shyanne Wehner", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5093ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc4b15735332b7a010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3728ms
Redirected to http://test.host/admin/products/52fdc4b15735332b7a010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc4b15735332b7a020000'), "name"=>"Dora Thompson", "reference"=>"Jamel Christiansen", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3939ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fdc4b15735332b7a020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc4b15735332b7a020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2634ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc4b15735332b7a020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2873ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc4b15735332b7a030000'), "name"=>"Gerard Feest", "reference"=>"Mrs. Jordane Welch", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2632ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fdc4b15735332b7a030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc4b15735332b7a030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2355ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 200 OK in 22ms (Views: 20.9ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc4b15735332b7a040000'), "name"=>"Arvid Graham", "reference"=>"Jacey Kirlin", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4265ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3253ms
Completed 200 OK in 5ms (Views: 4.3ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc4b15735332b7a050000'), "name"=>"Miss Gino Pouros", "reference"=>"Murray Langosh", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3070ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.6ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc4b15735332b7a060000'), "name"=>"Maverick Ryan", "reference"=>"Reid Ziemann", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3873ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fdc4b15735332b7a060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc4b15735332b7a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2342ms
Completed 200 OK in 4ms (Views: 2.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc4b15735332b7a070000'), "name"=>"Myrtle Feeney", "reference"=>"Lizeth Mitchell", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 8.7743ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdc4b15735332b7a070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc4b15735332b7a070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3074ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc4b15735332b7a070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3796ms
Redirected to http://test.host/admin/products/52fdc4b15735332b7a070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc4b15735332b7a080000'), "firstname"=>"Marcelle", "lastname"=>"Turcotte"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4088ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc4b15735332b7a090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3673ms
Redirected to http://test.host/admin/users/52fdc4b15735332b7a090000
Completed 302 Found in 2ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc4b15735332b7a0a0000'), "firstname"=>"Kasey", "lastname"=>"Hessel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fdc4b15735332b7a0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc4b15735332b7a0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3016ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc4b15735332b7a0a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3542ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc4b15735332b7a0b0000'), "firstname"=>"Ofelia", "lastname"=>"Schaefer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3094ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fdc4b15735332b7a0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc4b15735332b7a0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3019ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 6.4ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc4b15735332b7a0c0000'), "firstname"=>"Jodie", "lastname"=>"Hagenes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4276ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3247ms
Completed 200 OK in 5ms (Views: 4.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc4b15735332b7a0d0000'), "firstname"=>"Lavinia", "lastname"=>"Hettinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3215ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc4b15735332b7a0e0000'), "firstname"=>"Treva", "lastname"=>"Bahringer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4046ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fdc4b15735332b7a0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc4b15735332b7a0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms
Completed 200 OK in 33ms (Views: 31.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc4b15735332b7a0f0000'), "firstname"=>"Juvenal", "lastname"=>"Huel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4120ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdc4b15735332b7a0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc4b15735332b7a0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2983ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fdc4b15735332b7a0f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc4b15735332b7a100000'), "firstname"=>"Arthur", "lastname"=>"Bechtelar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6706ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc4ed5735332b7a110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5403ms
Redirected to http://test.host/admin/clients/52fdc4ed5735332b7a110000
Completed 302 Found in 60192ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc4ed5735332b7a120000'), "firstname"=>"Malinda", "lastname"=>"Brakus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3283ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdc4ed5735332b7a120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc4ed5735332b7a120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4327ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc4ed5735332b7a120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3859ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 13587ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc4fb5735332b7a130000'), "firstname"=>"Alize", "lastname"=>"Hoeger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3179ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdc4fb5735332b7a130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc4fb5735332b7a130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4198ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 2019ms (Views: 7.0ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc4fd5735332b7a140000'), "firstname"=>"Skylar", "lastname"=>"Ullrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4343ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4018ms
Completed 200 OK in 993ms (Views: 5.4ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc4fe5735332b7a150000'), "firstname"=>"Loma", "lastname"=>"Runolfsdottir"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4554ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 1404ms (Views: 4.5ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc4ff5735332b7a160000'), "firstname"=>"Glenna", "lastname"=>"Daugherty"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4716ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdc4ff5735332b7a160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc4ff5735332b7a160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3732ms
Completed 200 OK in 820ms (Views: 3.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc5005735332b7a170000'), "firstname"=>"Modesto", "lastname"=>"Reichel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3817ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdc5005735332b7a170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc5005735332b7a170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4171ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc5005735332b7a170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms
Redirected to http://test.host/admin/clients/52fdc5005735332b7a170000
Completed 302 Found in 907ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc5015735332b7a180000'), "firstname"=>"Pansy", "lastname"=>"Schaefer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3343ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc5125735332b7a190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5182ms
Redirected to http://test.host/clients/52fdc5125735332b7a190000
Completed 302 Found in 16914ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc5125735332b7a1a0000'), "firstname"=>"Lisette", "lastname"=>"Moen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2929ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdc5125735332b7a1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc5125735332b7a1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3792ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc5125735332b7a1a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2960ms
Redirected to http://test.host/clients
Completed 302 Found in 23695ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc52a5735332b7a1b0000'), "firstname"=>"Dallas", "lastname"=>"Padberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2857ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdc52a5735332b7a1b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc52a5735332b7a1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3914ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 1846ms (Views: 3.7ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc52b5735332b7a1c0000'), "firstname"=>"Loma", "lastname"=>"Heller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4131ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5157ms
Completed 200 OK in 973ms (Views: 6.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc52c5735332b7a1d0000'), "firstname"=>"Manuela", "lastname"=>"Schoen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4426ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 1279ms (Views: 3.5ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc52e5735332b7a1e0000'), "firstname"=>"Kurtis", "lastname"=>"Kilback"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4858ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdc52e5735332b7a1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc52e5735332b7a1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4200ms
Completed 200 OK in 1161ms (Views: 2.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc52f5735332b7a1f0000'), "firstname"=>"Millie", "lastname"=>"Kirlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4156ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdc52f5735332b7a1f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc52f5735332b7a1f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4087ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc52f5735332b7a1f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3436ms
Redirected to http://test.host/clients/52fdc52f5735332b7a1f0000
Completed 302 Found in 1129ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc5305735332b7a200000'), "name"=>"Tristian Jerde", "reference"=>"Stone Schmidt", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5653ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc5305735332b7a210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4221ms
Redirected to http://test.host/products/52fdc5305735332b7a210000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc5305735332b7a220000'), "name"=>"Alberta Smitham", "reference"=>"Kirsten Lowe", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3836ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fdc5305735332b7a220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc5305735332b7a220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc5305735332b7a220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2754ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc5305735332b7a230000'), "name"=>"Jo Armstrong", "reference"=>"Cassidy Torp", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3052ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fdc5305735332b7a230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc5305735332b7a230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 6.3ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc5305735332b7a240000'), "name"=>"Diana McClure III", "reference"=>"Jeffry Prosacco", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4695ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3728ms
Completed 200 OK in 7ms (Views: 6.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc5305735332b7a250000'), "name"=>"Adah Greenfelder", "reference"=>"Ms. Earnestine Tillman", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 4ms (Views: 3.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc5305735332b7a260000'), "name"=>"Giovanny Bode", "reference"=>"Vivien Kassulke", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fdc5305735332b7a260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc5305735332b7a260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2805ms
Completed 200 OK in 4ms (Views: 2.9ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc5305735332b7a270000'), "name"=>"Jordi Hayes", "reference"=>"Ryleigh Hammes V", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4206ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdc5305735332b7a270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc5305735332b7a270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2847ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc5305735332b7a270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2777ms
Redirected to http://test.host/products/52fdc5305735332b7a270000
Completed 302 Found in 2ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc5305735332b7a280000'), "firstname"=>"Lorenza", "lastname"=>"Osinski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4159ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc5305735332b7a290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3444ms
Redirected to http://test.host/users/52fdc5305735332b7a290000
Completed 302 Found in 2ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc5305735332b7a2a0000'), "firstname"=>"Nicholaus", "lastname"=>"Ritchie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3011ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fdc5305735332b7a2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc5305735332b7a2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc5305735332b7a2a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2745ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc5305735332b7a2b0000'), "firstname"=>"Jacky", "lastname"=>"Spencer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2401ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fdc5305735332b7a2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc5305735332b7a2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2611ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 8ms (Views: 6.6ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc5305735332b7a2c0000'), "firstname"=>"Cale", "lastname"=>"Leuschke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4311ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3534ms
Completed 200 OK in 6ms (Views: 5.9ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc5305735332b7a2d0000'), "firstname"=>"Josefa", "lastname"=>"Smith"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3371ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc5305735332b7a2e0000'), "firstname"=>"Amy", "lastname"=>"Grimes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fdc5305735332b7a2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc5305735332b7a2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2543ms
Completed 200 OK in 4ms (Views: 2.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc5305735332b7a2f0000'), "firstname"=>"Junius", "lastname"=>"Collier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1669ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdc5305735332b7a2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc5305735332b7a2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3241ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fdc5305735332b7a2f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6451ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3512ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2717ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2679ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb000000'), "name"=>"Heber Carroll", "reference"=>"Victor Mueller", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4531ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4112ms
Redirected to http://test.host/admin/products/52fdc5d95735332bcb010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb020000'), "name"=>"Reggie Haley", "reference"=>"Destiney Beer", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3330ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fdc5d95735332bcb020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2638ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2962ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb030000'), "name"=>"Dr. Nyasia Turner", "reference"=>"Antonette Labadie", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2677ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fdc5d95735332bcb030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3041ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 200 OK in 22ms (Views: 21.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb040000'), "name"=>"Ms. Vicky Stokes", "reference"=>"Miss Agnes Carroll", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4282ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3197ms
Completed 200 OK in 5ms (Views: 4.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb050000'), "name"=>"Rollin Runte", "reference"=>"Mrs. Donnell Weber", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3531ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 4ms (Views: 3.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb060000'), "name"=>"Danny O'Connell III", "reference"=>"Shannon Marvin", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4297ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fdc5d95735332bcb060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2939ms
Completed 200 OK in 4ms (Views: 2.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb070000'), "name"=>"Ursula Fisher", "reference"=>"Mr. Bonita Schamberger", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3713ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdc5d95735332bcb070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2945ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5476ms
Redirected to http://test.host/admin/products/52fdc5d95735332bcb070000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb080000'), "firstname"=>"Eliseo", "lastname"=>"Kuhic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4273ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3641ms
Redirected to http://test.host/admin/users/52fdc5d95735332bcb090000
Completed 302 Found in 2ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb0a0000'), "firstname"=>"Reggie", "lastname"=>"Kshlerin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3095ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fdc5d95735332bcb0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3098ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb0a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3492ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb0b0000'), "firstname"=>"Kameron", "lastname"=>"Sporer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3075ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fdc5d95735332bcb0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2430ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 5.7ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb0c0000'), "firstname"=>"Mitchel", "lastname"=>"Dickens"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4967ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3513ms
Completed 200 OK in 5ms (Views: 4.5ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb0d0000'), "firstname"=>"Ethelyn", "lastname"=>"Veum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3003ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb0e0000'), "firstname"=>"Reed", "lastname"=>"Cummings"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fdc5d95735332bcb0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2473ms
Completed 200 OK in 33ms (Views: 32.1ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb0f0000'), "firstname"=>"Leonie", "lastname"=>"Schuppe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4043ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdc5d95735332bcb0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2625ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fdc5d95735332bcb0f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb100000'), "firstname"=>"Demarco", "lastname"=>"Hermiston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4180ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3333ms
Redirected to http://test.host/admin/clients/52fdc5d95735332bcb110000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb120000'), "firstname"=>"Sanford", "lastname"=>"Ferry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3039ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdc5d95735332bcb120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2846ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3140ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb130000'), "firstname"=>"Rozella", "lastname"=>"Gaylord"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2779ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdc5d95735332bcb130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 9ms (Views: 7.5ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb140000'), "firstname"=>"Dolores", "lastname"=>"Koss"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4810ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3345ms
Completed 200 OK in 6ms (Views: 4.9ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb150000'), "firstname"=>"Flossie", "lastname"=>"Beier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3325ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 5ms (Views: 4.1ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb160000'), "firstname"=>"Aisha", "lastname"=>"Grady"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdc5d95735332bcb160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2432ms
Completed 200 OK in 4ms (Views: 2.9ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb170000'), "firstname"=>"Florence", "lastname"=>"Nienow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3754ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdc5d95735332bcb170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3118ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4884ms
Redirected to http://test.host/admin/clients/52fdc5d95735332bcb170000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb180000'), "firstname"=>"Kip", "lastname"=>"Schamberger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3519ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms
Redirected to http://test.host/clients/52fdc5d95735332bcb190000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb1a0000'), "firstname"=>"Luz", "lastname"=>"Bogan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2229ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdc5d95735332bcb1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2702ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb1a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2445ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb1b0000'), "firstname"=>"Florence", "lastname"=>"Kirlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2296ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdc5d95735332bcb1b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2243ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 5ms (Views: 3.4ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb1c0000'), "firstname"=>"Joelle", "lastname"=>"Koch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3568ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3435ms
Completed 200 OK in 6ms (Views: 5.3ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb1d0000'), "firstname"=>"Dudley", "lastname"=>"Moore"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.0314ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.1ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb1e0000'), "firstname"=>"Makayla", "lastname"=>"Bosco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4304ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdc5d95735332bcb1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3044ms
Completed 200 OK in 3ms (Views: 1.9ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb1f0000'), "firstname"=>"Jared", "lastname"=>"Corwin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3547ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdc5d95735332bcb1f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb1f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3005ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb1f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3542ms
Redirected to http://test.host/clients/52fdc5d95735332bcb1f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb200000'), "name"=>"Aileen Hessel", "reference"=>"Wendy Rogahn", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4872ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms
Redirected to http://test.host/products/52fdc5d95735332bcb210000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb220000'), "name"=>"Eliezer Kub PhD", "reference"=>"Wyatt Waelchi", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3835ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fdc5d95735332bcb220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2706ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2670ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb230000'), "name"=>"Giuseppe Wiza", "reference"=>"Mrs. Dangelo Armstrong", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2858ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fdc5d95735332bcb230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 7ms (Views: 5.9ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb240000'), "name"=>"Isac Muller", "reference"=>"Lura Quitzon", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4043ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4487ms
Completed 200 OK in 7ms (Views: 6.8ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb250000'), "name"=>"Miss Eula O'Conner", "reference"=>"Leann Gulgowski", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3804ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb260000'), "name"=>"Connie Lang", "reference"=>"Oscar Haley", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4516ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fdc5d95735332bcb260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2564ms
Completed 200 OK in 4ms (Views: 2.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb270000'), "name"=>"Jerod Ritchie", "reference"=>"Kathleen Harris", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdc5d95735332bcb270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2557ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6065ms
Redirected to http://test.host/products/52fdc5d95735332bcb270000
Completed 302 Found in 6ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb280000'), "firstname"=>"Anastacio", "lastname"=>"Waters"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5186ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3255ms
Redirected to http://test.host/users/52fdc5d95735332bcb290000
Completed 302 Found in 2ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb2a0000'), "firstname"=>"Emil", "lastname"=>"McLaughlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3570ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fdc5d95735332bcb2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3003ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb2a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2861ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb2b0000'), "firstname"=>"Tyrel", "lastname"=>"O'Kon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2575ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fdc5d95735332bcb2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2520ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.3ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb2c0000'), "firstname"=>"Leonora", "lastname"=>"Kris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4469ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4382ms
Completed 200 OK in 7ms (Views: 6.6ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb2d0000'), "firstname"=>"Jerad", "lastname"=>"Howell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3919ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.4ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb2e0000'), "firstname"=>"Shayna", "lastname"=>"Hodkiewicz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4581ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fdc5d95735332bcb2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2768ms
Completed 200 OK in 4ms (Views: 2.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc5d95735332bcb2f0000'), "firstname"=>"Torrey", "lastname"=>"Bergstrom"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdc5d95735332bcb2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc5d95735332bcb2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2976ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fdc5d95735332bcb2f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6470ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3554ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3484ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa000000'), "name"=>"Neva Beier", "reference"=>"Alysa Dicki", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4877ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3996ms
Redirected to http://test.host/admin/products/52fdc63e5735332bfa010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa020000'), "name"=>"Izaiah Padberg", "reference"=>"Miss Jody Reynolds", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3495ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fdc63e5735332bfa020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2812ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3828ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa030000'), "name"=>"Ms. Joan Gottlieb", "reference"=>"Jasper Rice", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3072ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fdc63e5735332bfa030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3117ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.1ms)
Completed 200 OK in 23ms (Views: 21.5ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa040000'), "name"=>"Mr. Neal Rutherford", "reference"=>"Edna Ortiz III", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4312ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3283ms
Completed 200 OK in 5ms (Views: 4.3ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa050000'), "name"=>"Raquel Zemlak", "reference"=>"Kamille Dickinson", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3329ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 4ms (Views: 3.7ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa060000'), "name"=>"Torey Watsica DVM", "reference"=>"Tara Miller", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4003ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fdc63e5735332bfa060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2471ms
Completed 200 OK in 4ms (Views: 2.4ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa070000'), "name"=>"Ashly Ebert", "reference"=>"Oswaldo Bechtelar", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4673ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdc63e5735332bfa070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3806ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4670ms
Redirected to http://test.host/admin/products/52fdc63e5735332bfa070000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa080000'), "firstname"=>"Lavon", "lastname"=>"Dickinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4466ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3851ms
Redirected to http://test.host/admin/users/52fdc63e5735332bfa090000
Completed 302 Found in 2ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa0a0000'), "firstname"=>"Hector", "lastname"=>"Kreiger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3542ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fdc63e5735332bfa0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3079ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa0a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa0b0000'), "firstname"=>"Neva", "lastname"=>"Davis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3137ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fdc63e5735332bfa0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2714ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 7ms (Views: 5.8ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa0c0000'), "firstname"=>"Mavis", "lastname"=>"Mitchell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4903ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3711ms
Completed 200 OK in 5ms (Views: 4.4ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa0d0000'), "firstname"=>"Savion", "lastname"=>"Parker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3237ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.5ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa0e0000'), "firstname"=>"Estel", "lastname"=>"Renner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fdc63e5735332bfa0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms
Completed 200 OK in 32ms (Views: 30.9ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa0f0000'), "firstname"=>"Leslie", "lastname"=>"O'Keefe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4177ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdc63e5735332bfa0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2601ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fdc63e5735332bfa0f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa100000'), "firstname"=>"Consuelo", "lastname"=>"Kirlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4322ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms
Redirected to http://test.host/admin/clients/52fdc63e5735332bfa110000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa120000'), "firstname"=>"Annamae", "lastname"=>"Lemke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3235ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdc63e5735332bfa120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3209ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3514ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa130000'), "firstname"=>"Santos", "lastname"=>"Lowe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3095ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdc63e5735332bfa130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2943ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 8ms (Views: 7.2ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa140000'), "firstname"=>"Lelah", "lastname"=>"Langosh"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4350ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3277ms
Completed 200 OK in 6ms (Views: 4.9ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa150000'), "firstname"=>"Brannon", "lastname"=>"Beier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2986ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 5ms (Views: 4.1ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa160000'), "firstname"=>"Christ", "lastname"=>"Lakin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3980ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdc63e5735332bfa160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2923ms
Completed 200 OK in 4ms (Views: 2.9ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa170000'), "firstname"=>"Annetta", "lastname"=>"MacGyver"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3727ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdc63e5735332bfa170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2720ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4761ms
Redirected to http://test.host/admin/clients/52fdc63e5735332bfa170000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa180000'), "firstname"=>"Kallie", "lastname"=>"Maggio"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3546ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0406ms
Redirected to http://test.host/clients/52fdc63e5735332bfa190000
Completed 302 Found in 7ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa1a0000'), "firstname"=>"Eleonore", "lastname"=>"Hoppe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2646ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdc63e5735332bfa1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa1a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2292ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa1b0000'), "firstname"=>"Darrell", "lastname"=>"Swaniawski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2767ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdc63e5735332bfa1b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3105ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 3.4ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa1c0000'), "firstname"=>"Brain", "lastname"=>"Hoppe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3333ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3314ms
Completed 200 OK in 7ms (Views: 6.0ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa1d0000'), "firstname"=>"Jaden", "lastname"=>"Kulas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4016ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.1ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa1e0000'), "firstname"=>"Cedrick", "lastname"=>"Veum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4141ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdc63e5735332bfa1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2716ms
Completed 200 OK in 3ms (Views: 1.8ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa1f0000'), "firstname"=>"Gilbert", "lastname"=>"Sipes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3657ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdc63e5735332bfa1f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa1f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4180ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa1f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4682ms
Redirected to http://test.host/clients/52fdc63e5735332bfa1f0000
Completed 302 Found in 4ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa200000'), "name"=>"Haleigh Sanford", "reference"=>"Ramona Wisozk", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4332ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3699ms
Redirected to http://test.host/products/52fdc63e5735332bfa210000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa220000'), "name"=>"Otis Legros MD", "reference"=>"Adele Donnelly", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3440ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fdc63e5735332bfa220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2865ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2897ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa230000'), "name"=>"Adella Heller", "reference"=>"Miss Mabel Jerde", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5727ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fdc63e5735332bfa230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3846ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 8ms (Views: 6.7ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa240000'), "name"=>"Leif Hyatt", "reference"=>"Juston Kulas", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4771ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3943ms
Completed 200 OK in 7ms (Views: 6.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa250000'), "name"=>"Jacques Prohaska", "reference"=>"Rahsaan Johnston III", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3360ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.8ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa260000'), "name"=>"Destiny Hagenes", "reference"=>"Marian Grant", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4383ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fdc63e5735332bfa260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2628ms
Completed 200 OK in 4ms (Views: 2.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa270000'), "name"=>"Keaton Bradtke", "reference"=>"Branson Toy", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5111ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdc63e5735332bfa270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3397ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3148ms
Redirected to http://test.host/products/52fdc63e5735332bfa270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa280000'), "firstname"=>"Taurean", "lastname"=>"Carter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4261ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3671ms
Redirected to http://test.host/users/52fdc63e5735332bfa290000
Completed 302 Found in 2ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa2a0000'), "firstname"=>"Ethyl", "lastname"=>"Lesch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3663ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fdc63e5735332bfa2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2992ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa2a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3076ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa2b0000'), "firstname"=>"Johann", "lastname"=>"Fisher"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3019ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fdc63e5735332bfa2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2930ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.4ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa2c0000'), "firstname"=>"Thea", "lastname"=>"Hintz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4497ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4043ms
Completed 200 OK in 7ms (Views: 6.3ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa2d0000'), "firstname"=>"Arthur", "lastname"=>"Lindgren"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3433ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.4ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa2e0000'), "firstname"=>"Jolie", "lastname"=>"Gusikowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3956ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fdc63e5735332bfa2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2431ms
Completed 200 OK in 4ms (Views: 2.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc63e5735332bfa2f0000'), "firstname"=>"Adell", "lastname"=>"Frami"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3680ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdc63e5735332bfa2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc63e5735332bfa2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fdc63e5735332bfa2f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6209ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2979ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3237ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2246ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3418ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26000000'), "name"=>"Peter Morissette", "reference"=>"Miss Wilfredo Haag", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4488ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3973ms
Redirected to http://test.host/admin/products/52fdc6665735332c26010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26020000'), "name"=>"Adolph Hansen V", "reference"=>"Aiyana Wunsch", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3684ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fdc6665735332c26020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc6665735332c26020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2977ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc6665735332c26020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3261ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26030000'), "name"=>"Zack Tillman II", "reference"=>"Nichole Reilly", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fdc6665735332c26030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc6665735332c26030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3047ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms)
Completed 200 OK in 23ms (Views: 21.5ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26040000'), "name"=>"Jadon Larson", "reference"=>"Nathanial Ziemann", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4357ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3343ms
Completed 200 OK in 5ms (Views: 4.4ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26050000'), "name"=>"Jamarcus Powlowski", "reference"=>"Braden Mraz", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3273ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26060000'), "name"=>"Mrs. Carolanne Quitzon", "reference"=>"Benedict McDermott DVM", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4176ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fdc6665735332c26060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc6665735332c26060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms
Completed 200 OK in 4ms (Views: 2.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26070000'), "name"=>"Dennis Towne", "reference"=>"Myrtis Konopelski", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4160ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdc6665735332c26070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc6665735332c26070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3842ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc6665735332c26070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5109ms
Redirected to http://test.host/admin/products/52fdc6665735332c26070000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26080000'), "firstname"=>"Frederique", "lastname"=>"Cormier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3770ms
Redirected to http://test.host/admin/users/52fdc6665735332c26090000
Completed 302 Found in 2ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c260a0000'), "firstname"=>"Wendy", "lastname"=>"Bogan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3448ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fdc6665735332c260a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc6665735332c260a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3371ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc6665735332c260a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3018ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c260b0000'), "firstname"=>"Freddie", "lastname"=>"Olson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2800ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fdc6665735332c260b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc6665735332c260b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 7ms (Views: 5.9ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c260c0000'), "firstname"=>"Kathleen", "lastname"=>"Wiza"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4636ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3697ms
Completed 200 OK in 5ms (Views: 4.7ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c260d0000'), "firstname"=>"Marjolaine", "lastname"=>"Botsford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3748ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c260e0000'), "firstname"=>"Ludwig", "lastname"=>"Stanton"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4072ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fdc6665735332c260e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc6665735332c260e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms
Completed 200 OK in 33ms (Views: 31.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c260f0000'), "firstname"=>"Thelma", "lastname"=>"Runolfsdottir"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4459ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdc6665735332c260f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc6665735332c260f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2635ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fdc6665735332c260f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26100000'), "firstname"=>"Dallas", "lastname"=>"Harvey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4637ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms
Redirected to http://test.host/admin/clients/52fdc6665735332c26110000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26120000'), "firstname"=>"Aubree", "lastname"=>"Gerhold"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3229ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdc6665735332c26120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc6665735332c26120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc6665735332c26120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3006ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26130000'), "firstname"=>"Mozelle", "lastname"=>"Kilback"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2681ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdc6665735332c26130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc6665735332c26130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2833ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 9ms (Views: 7.4ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26140000'), "firstname"=>"Annalise", "lastname"=>"Muller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4265ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3238ms
Completed 200 OK in 6ms (Views: 4.8ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26150000'), "firstname"=>"Forrest", "lastname"=>"Flatley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4193ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.5ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26160000'), "firstname"=>"Meredith", "lastname"=>"Vandervort"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4311ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdc6665735332c26160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc6665735332c26160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2536ms
Completed 200 OK in 4ms (Views: 2.9ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26170000'), "firstname"=>"Vinnie", "lastname"=>"Okuneva"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdc6665735332c26170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc6665735332c26170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2446ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc6665735332c26170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3136ms
Redirected to http://test.host/admin/clients/52fdc6665735332c26170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26180000'), "firstname"=>"Khalil", "lastname"=>"Adams"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2676ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3294ms
Redirected to http://test.host/clients/52fdc6665735332c26190000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c261a0000'), "firstname"=>"Wiley", "lastname"=>"White"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2503ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdc6665735332c261a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc6665735332c261a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc6665735332c261a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2610ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c261b0000'), "firstname"=>"Phyllis", "lastname"=>"Sipes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2495ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdc6665735332c261b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc6665735332c261b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2538ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 5ms (Views: 3.7ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c261c0000'), "firstname"=>"Warren", "lastname"=>"Bartell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4133ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3632ms
Completed 200 OK in 6ms (Views: 5.4ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c261d0000'), "firstname"=>"Lilly", "lastname"=>"Jakubowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3626ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.4ms)
Completed 200 OK in 4ms (Views: 3.1ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c261e0000'), "firstname"=>"Sam", "lastname"=>"West"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3923ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdc6665735332c261e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc6665735332c261e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms
Completed 200 OK in 3ms (Views: 1.8ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c261f0000'), "firstname"=>"Bertram", "lastname"=>"Torphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3420ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdc6665735332c261f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc6665735332c261f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3907ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc6665735332c261f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3658ms
Redirected to http://test.host/clients/52fdc6665735332c261f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26200000'), "name"=>"Ciara Bashirian DVM", "reference"=>"Mrs. Cyril Cassin", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4812ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3569ms
Redirected to http://test.host/products/52fdc6665735332c26210000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26220000'), "name"=>"Ms. Ellie Luettgen", "reference"=>"Madge Kerluke", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3442ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fdc6665735332c26220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc6665735332c26220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2733ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc6665735332c26220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2725ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26230000'), "name"=>"Marcos Bartoletti", "reference"=>"Lupe Bailey", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2716ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fdc6665735332c26230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc6665735332c26230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 7ms (Views: 6.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26240000'), "name"=>"Frederic VonRueden II", "reference"=>"Miss Vincenza Sporer", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4573ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3829ms
Completed 200 OK in 7ms (Views: 6.3ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26250000'), "name"=>"Lew Breitenberg", "reference"=>"Alta Donnelly", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0134ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 4ms (Views: 3.8ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26260000'), "name"=>"Miss Berta Sporer", "reference"=>"Christelle Hayes PhD", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4491ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fdc6665735332c26260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc6665735332c26260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2741ms
Completed 200 OK in 4ms (Views: 2.7ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26270000'), "name"=>"Oran Huels", "reference"=>"Austyn Glover III", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5512ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdc6665735332c26270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc6665735332c26270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3129ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdc6665735332c26270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2903ms
Redirected to http://test.host/products/52fdc6665735332c26270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26280000'), "firstname"=>"Mayra", "lastname"=>"Ernser"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4027ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c26290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3814ms
Redirected to http://test.host/users/52fdc6665735332c26290000
Completed 302 Found in 2ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c262a0000'), "firstname"=>"Amelia", "lastname"=>"Friesen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3695ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fdc6665735332c262a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc6665735332c262a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3124ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc6665735332c262a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2481ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c262b0000'), "firstname"=>"Chad", "lastname"=>"Prohaska"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2843ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fdc6665735332c262b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc6665735332c262b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2983ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 7ms (Views: 5.6ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c262c0000'), "firstname"=>"Jayme", "lastname"=>"Goldner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4530ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4266ms
Completed 200 OK in 7ms (Views: 6.1ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c262d0000'), "firstname"=>"Lorena", "lastname"=>"Trantow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3745ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.4ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c262e0000'), "firstname"=>"Ozella", "lastname"=>"Frami"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4280ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fdc6665735332c262e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc6665735332c262e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms
Completed 200 OK in 4ms (Views: 2.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdc6665735332c262f0000'), "firstname"=>"Cortez", "lastname"=>"Luettgen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3754ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdc6665735332c262f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdc6665735332c262f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2516ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fdc6665735332c262f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6776ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2797ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2792ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2249ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2223ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc7095735332cc3000000'), "firstname"=>"Clay", "lastname"=>"Hane"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4459ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc7095735332cc3010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3894ms
Redirected to http://test.host/admin/clients/52fdc7095735332cc3010000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc7095735332cc3020000'), "firstname"=>"Randy", "lastname"=>"Morissette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3076ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdc7095735332cc3020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc7095735332cc3020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc7095735332cc3020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2858ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc7095735332cc3030000'), "firstname"=>"Josephine", "lastname"=>"Paucek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2674ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdc7095735332cc3030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc7095735332cc3030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2405ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 200 OK in 19ms (Views: 17.8ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc7095735332cc3040000'), "firstname"=>"Melvin", "lastname"=>"West"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4596ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3561ms
Completed 200 OK in 6ms (Views: 4.8ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc7095735332cc3050000'), "firstname"=>"Ignacio", "lastname"=>"Zieme"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5220ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 5ms (Views: 4.4ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc7095735332cc3060000'), "firstname"=>"Harold", "lastname"=>"Willms"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4354ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdc7095735332cc3060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc7095735332cc3060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3436ms
Completed 200 OK in 5ms (Views: 3.5ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc7095735332cc3070000'), "firstname"=>"Dena", "lastname"=>"Jaskolski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5344ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdc7095735332cc3070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc7095735332cc3070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 29.0635ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc7095735332cc3070000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4399ms
Redirected to http://test.host/admin/clients/52fdc7095735332cc3070000
Completed 302 Found in 33ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc70a5735332cc3080000'), "firstname"=>"Paul", "lastname"=>"Breitenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2970ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc70a5735332cc3090000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3169ms
Redirected to http://test.host/clients/52fdc70a5735332cc3090000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc70a5735332cc30a0000'), "firstname"=>"Flo", "lastname"=>"Donnelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2443ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdc70a5735332cc30a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc70a5735332cc30a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc70a5735332cc30a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2486ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc70a5735332cc30b0000'), "firstname"=>"Blaze", "lastname"=>"Lemke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2439ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdc70a5735332cc30b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc70a5735332cc30b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2577ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 3.8ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc70a5735332cc30c0000'), "firstname"=>"Eulah", "lastname"=>"Kessler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3772ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3483ms
Completed 200 OK in 6ms (Views: 5.6ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc70a5735332cc30d0000'), "firstname"=>"Jacynthe", "lastname"=>"Ullrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3740ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.2ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc70a5735332cc30e0000'), "firstname"=>"Oral", "lastname"=>"Batz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3785ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdc70a5735332cc30e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc70a5735332cc30e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2557ms
Completed 200 OK in 3ms (Views: 1.9ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc70a5735332cc30f0000'), "firstname"=>"Milo", "lastname"=>"Denesik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3462ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdc70a5735332cc30f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc70a5735332cc30f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3359ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc70a5735332cc30f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2783ms
Redirected to http://test.host/clients/52fdc70a5735332cc30f0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6963ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3073ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2149ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2869ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2032ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8055735332d08000000'), "firstname"=>"Orval", "lastname"=>"Zemlak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4574ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8055735332d08010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms
Redirected to http://test.host/admin/clients/52fdc8055735332d08010000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8055735332d08020000'), "firstname"=>"Harrison", "lastname"=>"Green"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdc8055735332d08020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8055735332d08020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2789ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8055735332d08020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5157ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 5ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8055735332d08030000'), "firstname"=>"Westley", "lastname"=>"Davis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3376ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdc8055735332d08030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8055735332d08030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2972ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms)
Completed 200 OK in 20ms (Views: 18.8ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8055735332d08040000'), "firstname"=>"Adolf", "lastname"=>"Batz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4368ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3438ms
Completed 200 OK in 6ms (Views: 4.8ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8055735332d08050000'), "firstname"=>"Eunice", "lastname"=>"Konopelski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4274ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8055735332d08060000'), "firstname"=>"Nathanial", "lastname"=>"Schaefer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4625ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdc8055735332d08060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8055735332d08060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3434ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8055735332d08070000'), "firstname"=>"Kristy", "lastname"=>"Wolf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4983ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdc8055735332d08070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8055735332d08070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 29.5113ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8055735332d08070000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4503ms
Redirected to http://test.host/admin/clients/52fdc8055735332d08070000
Completed 302 Found in 33ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8055735332d08080000'), "firstname"=>"Winfield", "lastname"=>"Jones"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2882ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8055735332d08090000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3418ms
Redirected to http://test.host/clients/52fdc8055735332d08090000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8055735332d080a0000'), "firstname"=>"Forrest", "lastname"=>"O'Conner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7869ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdc8055735332d080a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8055735332d080a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3123ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8055735332d080a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3446ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8055735332d080b0000'), "firstname"=>"Delbert", "lastname"=>"Legros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3291ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdc8055735332d080b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8055735332d080b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3575ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 3.9ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8055735332d080c0000'), "firstname"=>"Earnestine", "lastname"=>"Rippin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3720ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3391ms
Completed 200 OK in 6ms (Views: 5.9ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8055735332d080d0000'), "firstname"=>"Elwin", "lastname"=>"Torphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4262ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.5ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8055735332d080e0000'), "firstname"=>"Erick", "lastname"=>"Grimes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5554ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdc8055735332d080e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8055735332d080e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3346ms
Completed 200 OK in 4ms (Views: 1.9ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8055735332d080f0000'), "firstname"=>"Adaline", "lastname"=>"Sawayn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdc8055735332d080f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8055735332d080f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8055735332d080f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2847ms
Redirected to http://test.host/clients/52fdc8055735332d080f0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6806ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2863ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1889ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2450ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1496ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8105735332d2f000000'), "firstname"=>"Guadalupe", "lastname"=>"Sauer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4572ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8825735332d2f010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5260ms
Redirected to http://test.host/admin/clients/52fdc8825735332d2f010000
Completed 302 Found in 114198ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8825735332d2f020000'), "firstname"=>"Merritt", "lastname"=>"Boyer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3863ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdc8825735332d2f020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8825735332d2f020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4207ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8825735332d2f020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3238ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 494ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8835735332d2f030000'), "firstname"=>"Jonathan", "lastname"=>"Quitzon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3161ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdc8835735332d2f030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8835735332d2f030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4192ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.7ms)
Completed 200 OK in 275ms (Views: 19.8ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8835735332d2f040000'), "firstname"=>"Vladimir", "lastname"=>"Luettgen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4411ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4516ms
Completed 200 OK in 966ms (Views: 5.4ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8845735332d2f050000'), "firstname"=>"Mohammed", "lastname"=>"Johnston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4674ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 797ms (Views: 4.5ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8855735332d2f060000'), "firstname"=>"Kayden", "lastname"=>"Kris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4222ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdc8855735332d2f060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8855735332d2f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3982ms
Completed 200 OK in 344ms (Views: 3.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8855735332d2f070000'), "firstname"=>"Rogelio", "lastname"=>"Medhurst"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4046ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdc8855735332d2f070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8855735332d2f070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3448ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8855735332d2f070000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3950ms
Redirected to http://test.host/admin/clients/52fdc8855735332d2f070000
Completed 302 Found in 176ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8865735332d2f080000'), "firstname"=>"Kaylee", "lastname"=>"Stokes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8865735332d2f090000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3265ms
Redirected to http://test.host/clients/52fdc8865735332d2f090000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8865735332d2f0a0000'), "firstname"=>"Garth", "lastname"=>"Bode"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2521ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdc8865735332d2f0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8865735332d2f0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3623ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8865735332d2f0a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3860ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8865735332d2f0b0000'), "firstname"=>"Destini", "lastname"=>"Cole"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4459ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdc8865735332d2f0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8865735332d2f0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4018ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 5ms (Views: 3.6ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8865735332d2f0c0000'), "firstname"=>"Ian", "lastname"=>"Bernhard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3582ms
Completed 200 OK in 6ms (Views: 5.6ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8865735332d2f0d0000'), "firstname"=>"Burley", "lastname"=>"Goodwin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4719ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 3.4ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8865735332d2f0e0000'), "firstname"=>"Janick", "lastname"=>"Krajcik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4313ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdc8865735332d2f0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8865735332d2f0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2894ms
Completed 200 OK in 3ms (Views: 1.9ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8865735332d2f0f0000'), "firstname"=>"Aileen", "lastname"=>"Borer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3212ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdc8865735332d2f0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8865735332d2f0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2970ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8865735332d2f0f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2906ms
Redirected to http://test.host/clients/52fdc8865735332d2f0f0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7613ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3326ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2554ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3076ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2032ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8915735332dab000000'), "firstname"=>"Amparo", "lastname"=>"Hansen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4878ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8915735332dab010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3991ms
Redirected to http://test.host/admin/clients/52fdc8915735332dab010000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8915735332dab020000'), "firstname"=>"Tess", "lastname"=>"Steuber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3464ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdc8915735332dab020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8915735332dab020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8915735332dab020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3289ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdc8915735332dab030000'), "firstname"=>"Alanis", "lastname"=>"Kessler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2552ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdc8915735332dab030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdc8915735332dab030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2334ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms)
Completed 200 OK in 2625935ms (Views: 2625933.4ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.3955ms
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd2d35735332dab040000'), "firstname"=>"Raven", "lastname"=>"Spinka"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3135ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3901ms
Completed 200 OK in 278547ms (Views: 278545.4ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3ea5735332dab050000'), "firstname"=>"Jena", "lastname"=>"Weber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4758ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 1291ms (Views: 1290.4ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3eb5735332dab060000'), "firstname"=>"Rosanna", "lastname"=>"Bode"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4752ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd3eb5735332dab060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd3eb5735332dab060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2968ms
Completed 200 OK in 767ms (Views: 765.9ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3ec5735332dab070000'), "firstname"=>"Laurie", "lastname"=>"Monahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4619ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd3ec5735332dab070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd3ec5735332dab070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd3ec5735332dab070000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3507ms
Redirected to http://test.host/admin/clients/52fdd3ec5735332dab070000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3ec5735332dab080000'), "firstname"=>"Jose", "lastname"=>"Wolff"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3ec5735332dab090000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4171ms
Redirected to http://test.host/clients/52fdd3ec5735332dab090000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3ec5735332dab0a0000'), "firstname"=>"Myrtice", "lastname"=>"Mayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4312ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd3ec5735332dab0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd3ec5735332dab0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3935ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd3ec5735332dab0a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3429ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3ec5735332dab0b0000'), "firstname"=>"Shane", "lastname"=>"Zieme"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3133ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd3ec5735332dab0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd3ec5735332dab0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3067ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 679ms (Views: 677.5ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3ed5735332dab0c0000'), "firstname"=>"Camilla", "lastname"=>"Lindgren"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5047ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4600ms
Completed 200 OK in 500ms (Views: 499.6ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3ed5735332dab0d0000'), "firstname"=>"Brook", "lastname"=>"Nikolaus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3797ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 837ms (Views: 835.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3ee5735332dab0e0000'), "firstname"=>"Luna", "lastname"=>"Veum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4628ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd3ee5735332dab0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd3ee5735332dab0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5015ms
Completed 200 OK in 703ms (Views: 672.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3ef5735332dab0f0000'), "firstname"=>"Audra", "lastname"=>"Lueilwitz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4924ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd3ef5735332dab0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd3ef5735332dab0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2560ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd3ef5735332dab0f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3070ms
Redirected to http://test.host/clients/52fdd3ef5735332dab0f0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6999ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3296ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2419ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1913ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd3fa5735333458000000'), "name"=>"Jenifer Greenholt", "reference"=>"Virginie Eichmann", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5040ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd3fa5735333458010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms
Redirected to http://test.host/admin/products/52fdd3fa5735333458010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd3fa5735333458020000'), "name"=>"Sean Kuvalis V", "reference"=>"Pearlie Wisoky", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1555ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fdd3fa5735333458020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd3fa5735333458020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd3fa5735333458020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd3fa5735333458030000'), "name"=>"Brian Ankunding", "reference"=>"Mrs. Sophia Heller", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fdd3fa5735333458030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd3fa5735333458030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2543ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms)
Completed 200 OK in 23ms (Views: 21.8ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd3fa5735333458040000'), "name"=>"Adaline Dare", "reference"=>"Russell Stehr", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5097ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3502ms
Completed 200 OK in 5ms (Views: 4.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd3fa5735333458050000'), "name"=>"Mr. Odessa Hermiston", "reference"=>"Savanah Roberts", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3242ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.7ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd3fa5735333458060000'), "name"=>"Freeda Harvey", "reference"=>"May Anderson", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3850ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fdd3fa5735333458060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd3fa5735333458060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms
Completed 200 OK in 4ms (Views: 2.4ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd3fa5735333458070000'), "name"=>"Mrs. Ellsworth Schulist", "reference"=>"Roman Von", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4123ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdd3fa5735333458070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd3fa5735333458070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3981ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd3fa5735333458070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3928ms
Redirected to http://test.host/admin/products/52fdd3fa5735333458070000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd3fa5735333458080000'), "firstname"=>"Khalid", "lastname"=>"Hoppe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd3fa5735333458090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3175ms
Redirected to http://test.host/admin/users/52fdd3fa5735333458090000
Completed 302 Found in 2ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd3fa57353334580a0000'), "firstname"=>"Oswaldo", "lastname"=>"Bartoletti"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3605ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fdd3fa57353334580a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd3fa57353334580a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd3fa57353334580a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3049ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd3fa57353334580b0000'), "firstname"=>"Keeley", "lastname"=>"Schneider"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2503ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fdd3fa57353334580b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd3fa57353334580b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2274ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 7ms (Views: 5.9ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd3fa57353334580c0000'), "firstname"=>"Reinhold", "lastname"=>"Tremblay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5086ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3153ms
Completed 200 OK in 5ms (Views: 4.3ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd3fa57353334580d0000'), "firstname"=>"Juliana", "lastname"=>"Dach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2994ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd3fa57353334580e0000'), "firstname"=>"David", "lastname"=>"Jakubowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5510ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fdd3fa57353334580e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd3fa57353334580e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms
Completed 200 OK in 33ms (Views: 32.0ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd3fa57353334580f0000'), "firstname"=>"Devante", "lastname"=>"Weissnat"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4596ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdd3fa57353334580f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd3fa57353334580f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3642ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fdd3fa57353334580f0000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3fa5735333458100000'), "firstname"=>"Leone", "lastname"=>"Jones"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4571ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3fa5735333458110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms
Redirected to http://test.host/admin/clients/52fdd3fa5735333458110000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3fa5735333458120000'), "firstname"=>"Valentina", "lastname"=>"Dickinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4078ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd3fa5735333458120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd3fa5735333458120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3624ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd3fa5735333458120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4986ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3fa5735333458130000'), "firstname"=>"Marcos", "lastname"=>"Robel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3211ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd3fa5735333458130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd3fa5735333458130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2567ms
Completed 500 Internal Server Error in 2007ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3fc5735333458140000'), "firstname"=>"Clement", "lastname"=>"Davis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4698ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 153ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3fd5735333458150000'), "firstname"=>"Cleora", "lastname"=>"Dibbert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5141ms
Processing by Iord::GenericController#new as HTML
Completed 500 Internal Server Error in 145ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3fd5735333458160000'), "firstname"=>"Jolie", "lastname"=>"Okuneva"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5075ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd3fd5735333458160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd3fd5735333458160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3141ms
Completed 500 Internal Server Error in 152ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3fd5735333458170000'), "firstname"=>"Amos", "lastname"=>"Mante"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4985ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd3fd5735333458170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd3fd5735333458170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3127ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd3fd5735333458170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms
Redirected to http://test.host/admin/clients/52fdd3fd5735333458170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3fd5735333458180000'), "firstname"=>"Hilma", "lastname"=>"Cronin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3763ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3fd5735333458190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4654ms
Redirected to http://test.host/clients/52fdd3fd5735333458190000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3fd57353334581a0000'), "firstname"=>"Precious", "lastname"=>"Willms"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4841ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd3fd57353334581a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd3fd57353334581a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4520ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd3fd57353334581a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4656ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3fd57353334581b0000'), "firstname"=>"Kathryn", "lastname"=>"Reichel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4143ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd3fd57353334581b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd3fd57353334581b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2937ms
Completed 500 Internal Server Error in 157ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3fd57353334581c0000'), "firstname"=>"Gerald", "lastname"=>"McGlynn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4718ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 150ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3fd57353334581d0000'), "firstname"=>"Marian", "lastname"=>"Nienow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5246ms
Processing by Iord::GenericController#new as HTML
Completed 500 Internal Server Error in 150ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3fd57353334581e0000'), "firstname"=>"Queenie", "lastname"=>"Wolff"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4630ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd3fd57353334581e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd3fd57353334581e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2960ms
Completed 500 Internal Server Error in 148ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd3fd57353334581f0000'), "firstname"=>"Owen", "lastname"=>"Fahey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4898ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd3fd57353334581f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd3fd57353334581f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3475ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd3fd57353334581f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3294ms
Redirected to http://test.host/clients/52fdd3fd57353334581f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd3fe5735333458200000'), "name"=>"Grayson Huel", "reference"=>"Georgette Skiles", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5401ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd3fe5735333458210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5262ms
Redirected to http://test.host/products/52fdd3fe5735333458210000
Completed 302 Found in 3ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd3fe5735333458220000'), "name"=>"Kurtis Gulgowski", "reference"=>"Nyah Corkery IV", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fdd3fe5735333458220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd3fe5735333458220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3197ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd3fe5735333458220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2698ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd3fe5735333458230000'), "name"=>"Marielle Schmeler", "reference"=>"Dr. Beverly Runte", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3738ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fdd3fe5735333458230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd3fe5735333458230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3790ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 6.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd3fe5735333458240000'), "name"=>"Brenda Reilly", "reference"=>"Aliyah Corkery", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4145ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3917ms
Completed 200 OK in 7ms (Views: 6.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd3fe5735333458250000'), "name"=>"Selmer Rohan", "reference"=>"Cleveland Wilkinson", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3510ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd3fe5735333458260000'), "name"=>"Mr. Adell Bogisich", "reference"=>"Mrs. Charlene Rodriguez", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fdd3fe5735333458260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd3fe5735333458260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3741ms
Completed 200 OK in 5ms (Views: 2.8ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd3fe5735333458270000'), "name"=>"Mrs. Mabelle Thiel", "reference"=>"Macy Jerde", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdd3fe5735333458270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd3fe5735333458270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2479ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd3fe5735333458270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2682ms
Redirected to http://test.host/products/52fdd3fe5735333458270000
Completed 302 Found in 2ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd3fe5735333458280000'), "firstname"=>"Rene", "lastname"=>"Tromp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4286ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd3fe5735333458290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3010ms
Redirected to http://test.host/users/52fdd3fe5735333458290000
Completed 302 Found in 2ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd3fe57353334582a0000'), "firstname"=>"Monte", "lastname"=>"Morissette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3002ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fdd3fe57353334582a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd3fe57353334582a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2405ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd3fe57353334582a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2383ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd3fe57353334582b0000'), "firstname"=>"Kallie", "lastname"=>"Hackett"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2286ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fdd3fe57353334582b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd3fe57353334582b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2293ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 7ms (Views: 6.1ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd3fe57353334582c0000'), "firstname"=>"Emory", "lastname"=>"Hand"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4206ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3488ms
Completed 200 OK in 6ms (Views: 6.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd3fe57353334582d0000'), "firstname"=>"Dariana", "lastname"=>"Hammes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3199ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd3fe57353334582e0000'), "firstname"=>"Alexa", "lastname"=>"Blanda"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fdd3fe57353334582e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd3fe57353334582e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2775ms
Completed 200 OK in 4ms (Views: 2.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd3fe57353334582f0000'), "firstname"=>"Gussie", "lastname"=>"Borer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1878ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdd3fe57353334582f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd3fe57353334582f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4334ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fdd3fe57353334582f0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6810ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3537ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3641ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3291ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3278ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd40d5735333472000000'), "firstname"=>"Jammie", "lastname"=>"Kessler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4457ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd40d5735333472010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4259ms
Redirected to http://test.host/admin/clients/52fdd40d5735333472010000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd40d5735333472020000'), "firstname"=>"Zoey", "lastname"=>"Willms"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3312ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd40d5735333472020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd40d5735333472020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2729ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd40d5735333472020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3249ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd40d5735333472030000'), "firstname"=>"Richmond", "lastname"=>"Jones"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2761ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd40d5735333472030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd40d5735333472030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms
Completed 500 Internal Server Error in 15550ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd41d5735333472040000'), "firstname"=>"Kameron", "lastname"=>"Considine"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5004ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 52779ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4525735333472050000'), "firstname"=>"Domenic", "lastname"=>"Reynolds"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5148ms
Processing by Iord::GenericController#new as HTML
Completed 500 Internal Server Error in 478ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4525735333472060000'), "firstname"=>"Ella", "lastname"=>"Stamm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4920ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd4525735333472060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4525735333472060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3095ms
Completed 500 Internal Server Error in 335ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4525735333472070000'), "firstname"=>"Ida", "lastname"=>"Anderson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4730ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd4525735333472070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4525735333472070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4525735333472070000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3489ms
Redirected to http://test.host/admin/clients/52fdd4525735333472070000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4525735333472080000'), "firstname"=>"Bryon", "lastname"=>"Kerluke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2673ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4525735333472090000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3172ms
Redirected to http://test.host/clients/52fdd4525735333472090000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd45257353334720a0000'), "firstname"=>"Myrtice", "lastname"=>"Spencer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2541ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd45257353334720a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd45257353334720a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3157ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd45257353334720a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2984ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd45257353334720b0000'), "firstname"=>"Eugenia", "lastname"=>"Wyman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3372ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd45257353334720b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd45257353334720b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3368ms
Completed 500 Internal Server Error in 257ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd45357353334720c0000'), "firstname"=>"Peter", "lastname"=>"Heller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4615ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 300ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd45357353334720d0000'), "firstname"=>"Griffin", "lastname"=>"Schiller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5285ms
Processing by Iord::GenericController#new as HTML
Completed 500 Internal Server Error in 234ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd45357353334720e0000'), "firstname"=>"Sophie", "lastname"=>"Walker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4756ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd45357353334720e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd45357353334720e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2987ms
Completed 500 Internal Server Error in 279ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd45357353334720f0000'), "firstname"=>"Vernon", "lastname"=>"Lubowitz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4379ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd45357353334720f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd45357353334720f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2543ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd45357353334720f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2862ms
Redirected to http://test.host/clients/52fdd45357353334720f0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6795ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2799ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2198ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2408ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2002ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd46857353334ed000000'), "firstname"=>"Raphael", "lastname"=>"Koepp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4965ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd46857353334ed010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4066ms
Redirected to http://test.host/admin/clients/52fdd46857353334ed010000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd46857353334ed020000'), "firstname"=>"Leon", "lastname"=>"Emmerich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3319ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd46857353334ed020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd46857353334ed020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2649ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd46857353334ed020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3039ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd46857353334ed030000'), "firstname"=>"Estevan", "lastname"=>"Breitenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3324ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd46857353334ed030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd46857353334ed030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2975ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms)
Completed 200 OK in 19ms (Views: 17.9ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd46857353334ed040000'), "firstname"=>"Eula", "lastname"=>"Greenfelder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5243ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3664ms
Completed 200 OK in 6ms (Views: 4.6ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd46857353334ed050000'), "firstname"=>"Hanna", "lastname"=>"Bins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4336ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 5ms (Views: 4.1ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd46857353334ed060000'), "firstname"=>"Bettie", "lastname"=>"Schuster"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4159ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd46857353334ed060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd46857353334ed060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2895ms
Completed 200 OK in 5ms (Views: 3.5ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd46857353334ed070000'), "firstname"=>"Jayde", "lastname"=>"Connelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd46857353334ed070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd46857353334ed070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3703ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd46857353334ed070000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4966ms
Redirected to http://test.host/admin/clients/52fdd46857353334ed070000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd46857353334ed080000'), "firstname"=>"Demarcus", "lastname"=>"Deckow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4168ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd46857353334ed090000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3984ms
Redirected to http://test.host/clients/52fdd46857353334ed090000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd46857353334ed0a0000'), "firstname"=>"Ludwig", "lastname"=>"Leuschke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2962ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd46857353334ed0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd46857353334ed0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2458ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd46857353334ed0a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd46857353334ed0b0000'), "firstname"=>"Selina", "lastname"=>"Greenholt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2458ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd46857353334ed0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd46857353334ed0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2889ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 3.8ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd46857353334ed0c0000'), "firstname"=>"Axel", "lastname"=>"Johnston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3798ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4754ms
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd46857353334ed0d0000'), "firstname"=>"Annette", "lastname"=>"Flatley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4246ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.2ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd46857353334ed0e0000'), "firstname"=>"Kyra", "lastname"=>"Koch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1154ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd46857353334ed0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd46857353334ed0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2984ms
Completed 200 OK in 3ms (Views: 2.0ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd46857353334ed0f0000'), "firstname"=>"Axel", "lastname"=>"Sauer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4624ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd46857353334ed0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd46857353334ed0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3403ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd46857353334ed0f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3049ms
Redirected to http://test.host/clients/52fdd46857353334ed0f0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6687ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2930ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1977ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2594ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1633ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd47a5735333532000000'), "name"=>"Bertram Oberbrunner", "reference"=>"Ms. Shanon Lang", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4646ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd47a5735333532010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3834ms
Redirected to http://test.host/admin/products/52fdd47a5735333532010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd47a5735333532020000'), "name"=>"Ryann Goodwin Sr.", "reference"=>"Aliyah Yundt IV", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3137ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fdd47a5735333532020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd47a5735333532020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd47a5735333532020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2810ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd47a5735333532030000'), "name"=>"Omari Nitzsche", "reference"=>"Henderson Walker", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2618ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fdd47a5735333532030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd47a5735333532030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2348ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms)
Completed 200 OK in 23ms (Views: 21.5ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd47a5735333532040000'), "name"=>"Adrian Abernathy", "reference"=>"Dr. Fernando Littel", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4284ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3248ms
Completed 200 OK in 5ms (Views: 4.4ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd47a5735333532050000'), "name"=>"Liana Kozey", "reference"=>"Dr. Deron Kemmer", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 12.0152ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 4ms (Views: 4.0ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd47a5735333532060000'), "name"=>"Oscar Klocko DVM", "reference"=>"Preston Kuhn IV", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4700ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fdd47a5735333532060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd47a5735333532060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2991ms
Completed 200 OK in 4ms (Views: 2.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd47a5735333532070000'), "name"=>"Arturo Hansen", "reference"=>"Bartholome Emmerich", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3863ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdd47a5735333532070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd47a5735333532070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3009ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd47a5735333532070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms
Redirected to http://test.host/admin/products/52fdd47a5735333532070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd47b5735333532080000'), "firstname"=>"Brandon", "lastname"=>"Howe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4585ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd47b5735333532090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3351ms
Redirected to http://test.host/admin/users/52fdd47b5735333532090000
Completed 302 Found in 2ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd47b57353335320a0000'), "firstname"=>"Libby", "lastname"=>"Legros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3080ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fdd47b57353335320a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd47b57353335320a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3272ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd47b57353335320a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3100ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd47b57353335320b0000'), "firstname"=>"Brandt", "lastname"=>"Dooley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4264ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fdd47b57353335320b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd47b57353335320b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3315ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 7ms (Views: 5.8ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd47b57353335320c0000'), "firstname"=>"Kathryne", "lastname"=>"Jones"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4445ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3173ms
Completed 200 OK in 5ms (Views: 4.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd47b57353335320d0000'), "firstname"=>"Meghan", "lastname"=>"Harvey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3167ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.4ms)
Completed 200 OK in 4ms (Views: 3.3ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd47b57353335320e0000'), "firstname"=>"Rosalinda", "lastname"=>"Haag"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3894ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fdd47b57353335320e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd47b57353335320e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2756ms
Completed 200 OK in 33ms (Views: 31.3ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd47b57353335320f0000'), "firstname"=>"Antwon", "lastname"=>"Johns"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4148ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdd47b57353335320f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd47b57353335320f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fdd47b57353335320f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd47b5735333532100000'), "firstname"=>"Mark", "lastname"=>"Spinka"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4332ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd47b5735333532110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3878ms
Redirected to http://test.host/admin/clients/52fdd47b5735333532110000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd47b5735333532120000'), "firstname"=>"Jalyn", "lastname"=>"Wolff"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4881ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd47b5735333532120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd47b5735333532120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3074ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd47b5735333532120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3536ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd47b5735333532130000'), "firstname"=>"Myrna", "lastname"=>"D'Amore"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3180ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd47b5735333532130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd47b5735333532130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2783ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 6.6ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd47b5735333532140000'), "firstname"=>"Pietro", "lastname"=>"Labadie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4572ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3201ms
Completed 200 OK in 5ms (Views: 4.4ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd47b5735333532150000'), "firstname"=>"Graham", "lastname"=>"Kling"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4379ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 5ms (Views: 4.2ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd47b5735333532160000'), "firstname"=>"Katheryn", "lastname"=>"McCullough"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd47b5735333532160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd47b5735333532160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2482ms
Completed 200 OK in 4ms (Views: 3.0ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd47b5735333532170000'), "firstname"=>"Alysa", "lastname"=>"Powlowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3765ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd47b5735333532170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd47b5735333532170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2452ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd47b5735333532170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2904ms
Redirected to http://test.host/admin/clients/52fdd47b5735333532170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd47b5735333532180000'), "firstname"=>"Khalil", "lastname"=>"VonRueden"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2641ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd47b5735333532190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3461ms
Redirected to http://test.host/clients/52fdd47b5735333532190000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd47b57353335321a0000'), "firstname"=>"Lavina", "lastname"=>"Ziemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3780ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd47b57353335321a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd47b57353335321a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd47b57353335321a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2303ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd47b57353335321b0000'), "firstname"=>"Saul", "lastname"=>"Littel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2182ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd47b57353335321b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd47b57353335321b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2047ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 3.4ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd47b57353335321c0000'), "firstname"=>"Lamar", "lastname"=>"Welch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3379ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3586ms
Completed 200 OK in 7ms (Views: 6.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd47b57353335321d0000'), "firstname"=>"Gail", "lastname"=>"Kemmer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.4506ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.2ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd47b57353335321e0000'), "firstname"=>"Kathryn", "lastname"=>"Kunze"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4371ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd47b57353335321e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd47b57353335321e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms
Completed 200 OK in 3ms (Views: 1.9ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd47b57353335321f0000'), "firstname"=>"Hilton", "lastname"=>"Pfeffer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3627ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd47b57353335321f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd47b57353335321f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3003ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd47b57353335321f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3387ms
Redirected to http://test.host/clients/52fdd47b57353335321f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd47b5735333532200000'), "name"=>"Scottie Bahringer", "reference"=>"Justice Funk", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4838ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd47b5735333532210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4048ms
Redirected to http://test.host/products/52fdd47b5735333532210000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd47b5735333532220000'), "name"=>"Ayden Monahan PhD", "reference"=>"Cruz Flatley", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fdd47b5735333532220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd47b5735333532220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd47b5735333532220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3117ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd47b5735333532230000'), "name"=>"Deshawn O'Reilly MD", "reference"=>"Dalton Lesch", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2704ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fdd47b5735333532230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd47b5735333532230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 7ms (Views: 5.9ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd47b5735333532240000'), "name"=>"Kattie Schuppe", "reference"=>"Camren Kassulke", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3645ms
Completed 200 OK in 7ms (Views: 6.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd47b5735333532250000'), "name"=>"Rebeca Dare II", "reference"=>"Velva Lind", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3610ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 4.0ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd47b5735333532260000'), "name"=>"Mckenna Orn", "reference"=>"Eloise Zieme", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fdd47b5735333532260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd47b5735333532260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2374ms
Completed 200 OK in 4ms (Views: 2.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd47b5735333532270000'), "name"=>"Ana Dicki III", "reference"=>"Damion Leffler", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3645ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdd47b5735333532270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd47b5735333532270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2439ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd47b5735333532270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0527ms
Redirected to http://test.host/products/52fdd47b5735333532270000
Completed 302 Found in 5ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd47b5735333532280000'), "firstname"=>"Gilbert", "lastname"=>"Glover"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4427ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd47b5735333532290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4912ms
Redirected to http://test.host/users/52fdd47b5735333532290000
Completed 302 Found in 3ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd47b57353335322a0000'), "firstname"=>"Alexander", "lastname"=>"O'Connell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4766ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fdd47b57353335322a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd47b57353335322a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3151ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd47b57353335322a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3085ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd47b57353335322b0000'), "firstname"=>"Kendall", "lastname"=>"Huel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3007ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fdd47b57353335322b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd47b57353335322b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2728ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.3ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd47b57353335322c0000'), "firstname"=>"Mia", "lastname"=>"Auer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3672ms
Completed 200 OK in 6ms (Views: 5.9ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd47b57353335322d0000'), "firstname"=>"Colin", "lastname"=>"Hayes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3237ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 4ms (Views: 3.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd47b57353335322e0000'), "firstname"=>"Mallie", "lastname"=>"Harber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4309ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fdd47b57353335322e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd47b57353335322e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms
Completed 200 OK in 4ms (Views: 2.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd47b57353335322f0000'), "firstname"=>"Joseph", "lastname"=>"Altenwerth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3758ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdd47b57353335322f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd47b57353335322f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2562ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fdd47b57353335322f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6576ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3097ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3022ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3173ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e000000'), "name"=>"Adrain Davis", "reference"=>"Lionel Davis", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4550ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4010ms
Redirected to http://test.host/admin/products/52fdd4ac573533355e010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e020000'), "name"=>"Nicklaus Zemlak", "reference"=>"Horacio Welch DVM", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3479ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fdd4ac573533355e020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2684ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2982ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e030000'), "name"=>"Destin Schuster", "reference"=>"Misael Fisher", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3151ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fdd4ac573533355e030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2974ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 200 OK in 22ms (Views: 21.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e040000'), "name"=>"Sandrine Bailey", "reference"=>"Mr. Francis Bednar", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4770ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms
Completed 200 OK in 5ms (Views: 4.4ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e050000'), "name"=>"Miss Kody Wuckert", "reference"=>"Dr. Orville Wolf", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3340ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 4ms (Views: 3.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e060000'), "name"=>"Bradford Toy", "reference"=>"Bret Schroeder II", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 9.4889ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fdd4ac573533355e060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4314ms
Completed 200 OK in 4ms (Views: 2.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e070000'), "name"=>"Rebeca Miller", "reference"=>"Estella D'Amore", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3857ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdd4ac573533355e070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3010ms
Redirected to http://test.host/admin/products/52fdd4ac573533355e070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e080000'), "firstname"=>"Garnet", "lastname"=>"Barton"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3832ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3187ms
Redirected to http://test.host/admin/users/52fdd4ac573533355e090000
Completed 302 Found in 2ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e0a0000'), "firstname"=>"Seamus", "lastname"=>"Denesik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2904ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fdd4ac573533355e0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2352ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e0a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2766ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e0b0000'), "firstname"=>"Devyn", "lastname"=>"Zemlak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2357ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fdd4ac573533355e0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3012ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 6.3ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e0c0000'), "firstname"=>"Ali", "lastname"=>"Barrows"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3987ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3046ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e0d0000'), "firstname"=>"Shaun", "lastname"=>"Daniel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3002ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e0e0000'), "firstname"=>"Savannah", "lastname"=>"Stracke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4211ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fdd4ac573533355e0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2603ms
Completed 200 OK in 32ms (Views: 30.8ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e0f0000'), "firstname"=>"Lee", "lastname"=>"Gaylord"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4610ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdd4ac573533355e0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3059ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fdd4ac573533355e0f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e100000'), "firstname"=>"Lelah", "lastname"=>"Hansen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3909ms
Redirected to http://test.host/admin/clients/52fdd4ac573533355e110000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e120000'), "firstname"=>"Virgil", "lastname"=>"Rippin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3620ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd4ac573533355e120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2988ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3014ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e130000'), "firstname"=>"Muhammad", "lastname"=>"Torphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3115ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd4ac573533355e130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3441ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 6.8ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e140000'), "firstname"=>"Walker", "lastname"=>"Gleason"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3869ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3073ms
Completed 200 OK in 5ms (Views: 4.4ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e150000'), "firstname"=>"Eunice", "lastname"=>"Boyle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4822ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e160000'), "firstname"=>"Jaylan", "lastname"=>"Price"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4314ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd4ac573533355e160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms
Completed 200 OK in 4ms (Views: 3.0ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e170000'), "firstname"=>"Allan", "lastname"=>"Ullrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3839ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd4ac573533355e170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3221ms
Redirected to http://test.host/admin/clients/52fdd4ac573533355e170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e180000'), "firstname"=>"Eli", "lastname"=>"Davis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2654ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3338ms
Redirected to http://test.host/clients/52fdd4ac573533355e190000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e1a0000'), "firstname"=>"Leann", "lastname"=>"McClure"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2674ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd4ac573533355e1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2428ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e1a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2567ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e1b0000'), "firstname"=>"Jackson", "lastname"=>"Lesch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2542ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd4ac573533355e1b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2870ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e1c0000'), "firstname"=>"Vivian", "lastname"=>"White"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3678ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3581ms
Completed 200 OK in 7ms (Views: 6.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e1d0000'), "firstname"=>"Anjali", "lastname"=>"Cummerata"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3429ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.4ms)
Completed 200 OK in 4ms (Views: 3.2ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e1e0000'), "firstname"=>"Caitlyn", "lastname"=>"Roberts"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2385ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd4ac573533355e1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3604ms
Completed 200 OK in 4ms (Views: 2.0ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e1f0000'), "firstname"=>"Alicia", "lastname"=>"Torphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd4ac573533355e1f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e1f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2951ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e1f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3235ms
Redirected to http://test.host/clients/52fdd4ac573533355e1f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e200000'), "name"=>"Gail Rosenbaum", "reference"=>"Tyrel Runte", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4710ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3951ms
Redirected to http://test.host/products/52fdd4ac573533355e210000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e220000'), "name"=>"Corine Volkman", "reference"=>"Ms. Lenny DuBuque", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3318ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fdd4ac573533355e220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2884ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2573ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e230000'), "name"=>"Buford DuBuque", "reference"=>"Damion Kertzmann", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fdd4ac573533355e230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3142ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 7ms (Views: 5.9ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e240000'), "name"=>"Mateo Jast", "reference"=>"Jalyn Davis", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3672ms
Completed 200 OK in 7ms (Views: 6.1ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e250000'), "name"=>"Devonte Ullrich", "reference"=>"Jon Hintz", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3173ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e260000'), "name"=>"Dejah Paucek", "reference"=>"Deanna Graham", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4420ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fdd4ac573533355e260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3627ms
Completed 200 OK in 4ms (Views: 2.8ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e270000'), "name"=>"Leila Bartell", "reference"=>"Margarette Casper", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4208ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdd4ac573533355e270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2345ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2696ms
Redirected to http://test.host/products/52fdd4ac573533355e270000
Completed 302 Found in 2ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e280000'), "firstname"=>"Bianka", "lastname"=>"Blick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6126ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3353ms
Redirected to http://test.host/users/52fdd4ac573533355e290000
Completed 302 Found in 2ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e2a0000'), "firstname"=>"Randal", "lastname"=>"Deckow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fdd4ac573533355e2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2146ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e2a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2602ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e2b0000'), "firstname"=>"Jed", "lastname"=>"McGlynn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2763ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fdd4ac573533355e2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4001ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 8ms (Views: 5.8ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e2c0000'), "firstname"=>"Shad", "lastname"=>"Greenfelder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4648ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3584ms
Completed 200 OK in 6ms (Views: 5.9ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e2d0000'), "firstname"=>"Halie", "lastname"=>"Murphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3286ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e2e0000'), "firstname"=>"Lila", "lastname"=>"Kertzmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3922ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fdd4ac573533355e2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms
Completed 200 OK in 4ms (Views: 2.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ac573533355e2f0000'), "firstname"=>"Garret", "lastname"=>"Dach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4562ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdd4ac573533355e2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd4ac573533355e2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3722ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fdd4ac573533355e2f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6447ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3088ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3157ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2709ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2677ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6000000'), "name"=>"Keely Romaguera", "reference"=>"Tabitha Kris", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4522ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3984ms
Redirected to http://test.host/admin/products/52fdd4ef57353335d6010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6020000'), "name"=>"Elsie Zieme", "reference"=>"Josefina Brakus", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3285ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fdd4ef57353335d6020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d6020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2704ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d6020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2851ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6030000'), "name"=>"Lynn Lubowitz", "reference"=>"Nico Bosco", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3224ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fdd4ef57353335d6030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d6030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2976ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 200 OK in 22ms (Views: 21.1ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6040000'), "name"=>"Maya Batz", "reference"=>"Ellis Schamberger", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4281ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3198ms
Completed 200 OK in 5ms (Views: 4.3ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6050000'), "name"=>"Jolie Willms DVM", "reference"=>"Mr. Lola Prosacco", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3238ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.6ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6060000'), "name"=>"Holden Jenkins", "reference"=>"Crystal Langworth", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3944ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fdd4ef57353335d6060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms
Completed 200 OK in 4ms (Views: 2.4ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6070000'), "name"=>"Melany Kutch", "reference"=>"Amaya Parker", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3738ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdd4ef57353335d6070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d6070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2831ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d6070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms
Redirected to http://test.host/admin/products/52fdd4ef57353335d6070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6080000'), "firstname"=>"Norris", "lastname"=>"Williamson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4330ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3217ms
Redirected to http://test.host/admin/users/52fdd4ef57353335d6090000
Completed 302 Found in 2ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d60a0000'), "firstname"=>"Helena", "lastname"=>"Greenfelder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3515ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fdd4ef57353335d60a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d60a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2917ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d60a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3107ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d60b0000'), "firstname"=>"Rudy", "lastname"=>"Miller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3152ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fdd4ef57353335d60b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d60b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2675ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 5.7ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d60c0000'), "firstname"=>"Nannie", "lastname"=>"Friesen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3874ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3855ms
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d60d0000'), "firstname"=>"Dan", "lastname"=>"Lang"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3500ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d60e0000'), "firstname"=>"Jerrell", "lastname"=>"Streich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3923ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fdd4ef57353335d60e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d60e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2987ms
Completed 200 OK in 32ms (Views: 31.2ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d60f0000'), "firstname"=>"Dedric", "lastname"=>"Satterfield"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4565ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdd4ef57353335d60f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d60f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3078ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fdd4ef57353335d60f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6100000'), "firstname"=>"Vilma", "lastname"=>"Rodriguez"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4983ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3515ms
Redirected to http://test.host/admin/clients/52fdd4ef57353335d6110000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6120000'), "firstname"=>"Osborne", "lastname"=>"Wyman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3536ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd4ef57353335d6120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d6120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2539ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d6120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3185ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6130000'), "firstname"=>"Rick", "lastname"=>"Effertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3131ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd4ef57353335d6130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d6130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2935ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 6.7ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6140000'), "firstname"=>"Nora", "lastname"=>"Sanford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5262ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3754ms
Completed 200 OK in 6ms (Views: 4.6ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6150000'), "firstname"=>"Chris", "lastname"=>"Kassulke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4265ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 5ms (Views: 4.1ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6160000'), "firstname"=>"Anabel", "lastname"=>"Prosacco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd4ef57353335d6160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d6160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2702ms
Completed 200 OK in 5ms (Views: 3.5ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6170000'), "firstname"=>"Aletha", "lastname"=>"Padberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4321ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd4ef57353335d6170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d6170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2404ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d6170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3007ms
Redirected to http://test.host/admin/clients/52fdd4ef57353335d6170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6180000'), "firstname"=>"Tamia", "lastname"=>"Goyette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2450ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2932ms
Redirected to http://test.host/clients/52fdd4ef57353335d6190000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d61a0000'), "firstname"=>"Camylle", "lastname"=>"Luettgen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2225ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd4ef57353335d61a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d61a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2278ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d61a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2377ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d61b0000'), "firstname"=>"Norene", "lastname"=>"Block"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2278ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd4ef57353335d61b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d61b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2218ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 3.4ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d61c0000'), "firstname"=>"Helga", "lastname"=>"Brekke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3141ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3692ms
Completed 200 OK in 7ms (Views: 6.4ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d61d0000'), "firstname"=>"Heath", "lastname"=>"Kerluke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3754ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.2ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d61e0000'), "firstname"=>"Delpha", "lastname"=>"Buckridge"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3729ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd4ef57353335d61e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d61e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2275ms
Completed 200 OK in 3ms (Views: 1.9ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d61f0000'), "firstname"=>"Gaston", "lastname"=>"Kemmer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2967ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd4ef57353335d61f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d61f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2342ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d61f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2562ms
Redirected to http://test.host/clients/52fdd4ef57353335d61f0000
Completed 302 Found in 2ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6200000'), "name"=>"Andy Predovic", "reference"=>"Ova Adams", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4166ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3365ms
Redirected to http://test.host/products/52fdd4ef57353335d6210000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6220000'), "name"=>"Nelle Nader", "reference"=>"Miss Emily Lebsack", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3151ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fdd4ef57353335d6220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d6220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2654ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d6220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2443ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6230000'), "name"=>"Jayce Abernathy", "reference"=>"Kamryn Lesch", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2441ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fdd4ef57353335d6230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d6230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2367ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 7ms (Views: 5.8ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6240000'), "name"=>"Roslyn Connelly", "reference"=>"Cletus Lehner", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3532ms
Completed 200 OK in 7ms (Views: 6.1ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6250000'), "name"=>"Adaline Reinger", "reference"=>"Sasha Terry", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3644ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 4.3ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6260000'), "name"=>"Lonnie Rohan I", "reference"=>"Max Daniel", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4287ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fdd4ef57353335d6260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d6260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2643ms
Completed 200 OK in 4ms (Views: 2.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6270000'), "name"=>"Floy Crist", "reference"=>"Katelyn Kilback I", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5045ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdd4ef57353335d6270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d6270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2658ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d6270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3069ms
Redirected to http://test.host/products/52fdd4ef57353335d6270000
Completed 302 Found in 2ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6280000'), "firstname"=>"Britney", "lastname"=>"Ward"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4247ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d6290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3184ms
Redirected to http://test.host/users/52fdd4ef57353335d6290000
Completed 302 Found in 2ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d62a0000'), "firstname"=>"Ariel", "lastname"=>"Reinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3529ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fdd4ef57353335d62a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d62a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4393ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d62a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4399ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d62b0000'), "firstname"=>"Rickie", "lastname"=>"Hagenes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3174ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fdd4ef57353335d62b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d62b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3050ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.4ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d62c0000'), "firstname"=>"Lexi", "lastname"=>"Dicki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4807ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3623ms
Completed 200 OK in 6ms (Views: 5.9ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d62d0000'), "firstname"=>"Camryn", "lastname"=>"Will"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3239ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d62e0000'), "firstname"=>"Peyton", "lastname"=>"Hirthe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4430ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fdd4ef57353335d62e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d62e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3826ms
Completed 200 OK in 4ms (Views: 2.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd4ef57353335d62f0000'), "firstname"=>"Meagan", "lastname"=>"Mills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3897ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdd4ef57353335d62f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd4ef57353335d62f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2326ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fdd4ef57353335d62f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6727ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3498ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3789ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3325ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3019ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601000000'), "name"=>"Burnice Murphy DDS", "reference"=>"Ms. Sid Rau", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4880ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms
Redirected to http://test.host/admin/products/52fdd50d5735333601010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601020000'), "name"=>"Cortney Ruecker", "reference"=>"Emilia Beer", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3418ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fdd50d5735333601020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd50d5735333601020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2697ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd50d5735333601020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3415ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601030000'), "name"=>"Ansel Eichmann Sr.", "reference"=>"Josiah Bednar", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3145ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fdd50d5735333601030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd50d5735333601030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3024ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.1ms)
Completed 200 OK in 23ms (Views: 21.4ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601040000'), "name"=>"Miss Lisette Metz", "reference"=>"Osbaldo Bauch", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4829ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3333ms
Completed 200 OK in 5ms (Views: 4.4ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601050000'), "name"=>"Zoie Herman", "reference"=>"Miss Rosendo Veum", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1363ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.7ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601060000'), "name"=>"Jefferey Legros II", "reference"=>"Maddison Murphy", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4088ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fdd50d5735333601060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd50d5735333601060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2524ms
Completed 200 OK in 4ms (Views: 2.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601070000'), "name"=>"Otilia Farrell", "reference"=>"Arianna Bergstrom I", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3972ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdd50d5735333601070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd50d5735333601070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3713ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd50d5735333601070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4884ms
Redirected to http://test.host/admin/products/52fdd50d5735333601070000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601080000'), "firstname"=>"Lyda", "lastname"=>"Koelpin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4172ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3114ms
Redirected to http://test.host/admin/users/52fdd50d5735333601090000
Completed 302 Found in 2ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd50d57353336010a0000'), "firstname"=>"Melvina", "lastname"=>"Murphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2950ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fdd50d57353336010a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd50d57353336010a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2389ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd50d57353336010a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3316ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd50d57353336010b0000'), "firstname"=>"Elda", "lastname"=>"Dicki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2501ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fdd50d57353336010b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd50d57353336010b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2716ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 7ms (Views: 5.9ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd50d57353336010c0000'), "firstname"=>"Douglas", "lastname"=>"Pacocha"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4982ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3944ms
Completed 200 OK in 5ms (Views: 4.6ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd50d57353336010d0000'), "firstname"=>"Jimmie", "lastname"=>"Ledner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3230ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.4ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd50d57353336010e0000'), "firstname"=>"Eryn", "lastname"=>"Roob"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3971ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fdd50d57353336010e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd50d57353336010e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2942ms
Completed 200 OK in 33ms (Views: 31.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd50d57353336010f0000'), "firstname"=>"Abby", "lastname"=>"Schmidt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4516ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdd50d57353336010f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd50d57353336010f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fdd50d57353336010f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601100000'), "firstname"=>"Else", "lastname"=>"Wisozk"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 30.5115ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4265ms
Redirected to http://test.host/admin/clients/52fdd50d5735333601110000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601120000'), "firstname"=>"Hollie", "lastname"=>"Johnson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3668ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd50d5735333601120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd50d5735333601120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3091ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd50d5735333601120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3506ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601130000'), "firstname"=>"Reynold", "lastname"=>"Konopelski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd50d5735333601130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd50d5735333601130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2904ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 6.7ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601140000'), "firstname"=>"Madonna", "lastname"=>"Kutch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4428ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3187ms
Completed 200 OK in 5ms (Views: 4.4ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601150000'), "firstname"=>"Hortense", "lastname"=>"Swaniawski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3362ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601160000'), "firstname"=>"Elvis", "lastname"=>"Vandervort"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd50d5735333601160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd50d5735333601160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms
Completed 200 OK in 4ms (Views: 2.9ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601170000'), "firstname"=>"Devan", "lastname"=>"Upton"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3664ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd50d5735333601170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd50d5735333601170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2562ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd50d5735333601170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2960ms
Redirected to http://test.host/admin/clients/52fdd50d5735333601170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601180000'), "firstname"=>"Alexandre", "lastname"=>"Conn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2682ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3036ms
Redirected to http://test.host/clients/52fdd50d5735333601190000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd50d57353336011a0000'), "firstname"=>"Loy", "lastname"=>"Krajcik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2551ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd50d57353336011a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd50d57353336011a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2374ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd50d57353336011a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2574ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd50d57353336011b0000'), "firstname"=>"Shany", "lastname"=>"Will"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2475ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd50d57353336011b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd50d57353336011b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 5ms (Views: 3.6ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd50d57353336011c0000'), "firstname"=>"Elinor", "lastname"=>"Mertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4114ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3643ms
Completed 200 OK in 7ms (Views: 6.2ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd50d57353336011d0000'), "firstname"=>"Florine", "lastname"=>"Streich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.4ms)
Completed 200 OK in 4ms (Views: 3.2ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd50d57353336011e0000'), "firstname"=>"Amely", "lastname"=>"O'Kon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4318ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd50d57353336011e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd50d57353336011e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3472ms
Completed 200 OK in 4ms (Views: 2.0ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd50d57353336011f0000'), "firstname"=>"Brock", "lastname"=>"Tromp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8135ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd50d57353336011f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd50d57353336011f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd50d57353336011f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3104ms
Redirected to http://test.host/clients/52fdd50d57353336011f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601200000'), "name"=>"Davin Olson II", "reference"=>"Eugenia Collins", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4672ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3576ms
Redirected to http://test.host/products/52fdd50d5735333601210000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601220000'), "name"=>"Delpha Boyle", "reference"=>"Mrs. Spencer Balistreri", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3724ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fdd50d5735333601220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd50d5735333601220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3373ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd50d5735333601220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2622ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601230000'), "name"=>"Vicenta Bahringer", "reference"=>"Faustino Bartoletti", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2538ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fdd50d5735333601230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd50d5735333601230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2381ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 7ms (Views: 5.9ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601240000'), "name"=>"Fred Keebler", "reference"=>"Ms. Alfreda Hills", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3900ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4042ms
Completed 200 OK in 7ms (Views: 6.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601250000'), "name"=>"Astrid Stiedemann", "reference"=>"Carmelo Ward", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3826ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.0ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601260000'), "name"=>"Jimmie Barrows", "reference"=>"Justus Runte III", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5038ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fdd50d5735333601260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd50d5735333601260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3049ms
Completed 200 OK in 4ms (Views: 2.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601270000'), "name"=>"Dino Nitzsche", "reference"=>"Edwin Buckridge", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3783ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdd50d5735333601270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd50d5735333601270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2994ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd50d5735333601270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3272ms
Redirected to http://test.host/products/52fdd50d5735333601270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601280000'), "firstname"=>"Vallie", "lastname"=>"Kautzer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4077ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd50d5735333601290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3370ms
Redirected to http://test.host/users/52fdd50d5735333601290000
Completed 302 Found in 8ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd50d57353336012a0000'), "firstname"=>"Lorenzo", "lastname"=>"Hamill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5214ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fdd50d57353336012a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd50d57353336012a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2909ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd50d57353336012a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2688ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd50d57353336012b0000'), "firstname"=>"Rusty", "lastname"=>"Grant"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2563ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fdd50d57353336012b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd50d57353336012b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2554ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.3ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd50d57353336012c0000'), "firstname"=>"Rollin", "lastname"=>"Morissette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4128ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3593ms
Completed 200 OK in 6ms (Views: 6.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd50d57353336012d0000'), "firstname"=>"Ludwig", "lastname"=>"Greenholt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3418ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 3.6ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd50d57353336012e0000'), "firstname"=>"Sidney", "lastname"=>"Beatty"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4508ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fdd50d57353336012e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd50d57353336012e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms
Completed 200 OK in 4ms (Views: 2.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd50d57353336012f0000'), "firstname"=>"Regan", "lastname"=>"Kohler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3767ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdd50d57353336012f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd50d57353336012f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2423ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fdd50d57353336012f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6383ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2949ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3311ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3178ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd57b5735333631000000'), "name"=>"Ms. Mckenna White", "reference"=>"Nettie White IV", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5169ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd57b5735333631010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3871ms
Redirected to http://test.host/admin/products/52fdd57b5735333631010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd57b5735333631020000'), "name"=>"Conrad Marvin", "reference"=>"Orval Conroy", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3346ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fdd57b5735333631020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd57b5735333631020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2653ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd57b5735333631020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2998ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd57b5735333631030000'), "name"=>"Piper Dooley", "reference"=>"Lou Collins", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3064ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fdd57b5735333631030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd57b5735333631030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2997ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms)
Completed 200 OK in 22ms (Views: 20.7ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd57b5735333631040000'), "name"=>"Lilly Green", "reference"=>"Valentin Feeney", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4141ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3224ms
Completed 200 OK in 5ms (Views: 4.3ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd57b5735333631050000'), "name"=>"Ms. Breana Stamm", "reference"=>"Cary Dickinson", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3243ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.7ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd57b5735333631060000'), "name"=>"Dallin Feeney", "reference"=>"Mr. Lavern Cruickshank", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fdd57b5735333631060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd57b5735333631060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms
Completed 200 OK in 4ms (Views: 2.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd57b5735333631070000'), "name"=>"Lacey Ernser Jr.", "reference"=>"Ladarius Kautzer", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3780ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdd57b5735333631070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd57b5735333631070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2478ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd57b5735333631070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3148ms
Redirected to http://test.host/admin/products/52fdd57b5735333631070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd57b5735333631080000'), "firstname"=>"Courtney", "lastname"=>"Hartmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4112ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd57b5735333631090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3166ms
Redirected to http://test.host/admin/users/52fdd57b5735333631090000
Completed 302 Found in 2ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd57b57353336310a0000'), "firstname"=>"Bruce", "lastname"=>"Bashirian"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3126ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fdd57b57353336310a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd57b57353336310a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2599ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd57b57353336310a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2993ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd57b57353336310b0000'), "firstname"=>"Virginie", "lastname"=>"Smitham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2800ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fdd57b57353336310b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd57b57353336310b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 5.7ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd57b57353336310c0000'), "firstname"=>"Al", "lastname"=>"Kessler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3919ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3116ms
Completed 200 OK in 5ms (Views: 4.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd57b57353336310d0000'), "firstname"=>"Bette", "lastname"=>"Jones"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3188ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.4ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd57b57353336310e0000'), "firstname"=>"Isaias", "lastname"=>"Towne"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3926ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fdd57b57353336310e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd57b57353336310e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2473ms
Completed 200 OK in 32ms (Views: 30.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd57b57353336310f0000'), "firstname"=>"Grace", "lastname"=>"Veum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4062ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdd57b57353336310f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd57b57353336310f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2562ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fdd57b57353336310f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd57b5735333631100000'), "firstname"=>"Dillan", "lastname"=>"Zemlak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4562ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd57b5735333631110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3499ms
Redirected to http://test.host/admin/clients/52fdd57b5735333631110000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd57b5735333631120000'), "firstname"=>"Emilia", "lastname"=>"Jones"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3178ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd57b5735333631120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd57b5735333631120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2563ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd57b5735333631120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3240ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd57b5735333631130000'), "firstname"=>"Corrine", "lastname"=>"Hermann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3152ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd57b5735333631130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd57b5735333631130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 6.7ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd57b5735333631140000'), "firstname"=>"Tiara", "lastname"=>"Wisozk"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4181ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3253ms
Completed 200 OK in 5ms (Views: 4.4ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd57b5735333631150000'), "firstname"=>"Royal", "lastname"=>"Abshire"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4154ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 5ms (Views: 4.2ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd57b5735333631160000'), "firstname"=>"Lue", "lastname"=>"Deckow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd57b5735333631160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd57b5735333631160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2510ms
Completed 200 OK in 4ms (Views: 3.0ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd57b5735333631170000'), "firstname"=>"Rosetta", "lastname"=>"Kuphal"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3774ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd57b5735333631170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd57b5735333631170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2428ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd57b5735333631170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3293ms
Redirected to http://test.host/admin/clients/52fdd57b5735333631170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd57b5735333631180000'), "firstname"=>"Sarai", "lastname"=>"Hand"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2766ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1751ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd57b5735333631190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3047ms
Redirected to http://test.host/clients/52fdd57b5735333631190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1837ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd57b57353336311a0000'), "firstname"=>"Merle", "lastname"=>"Johns"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2330ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1722ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd57b57353336311a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd57b57353336311a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2378ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd57b57353336311a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2566ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1745ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd57c57353336311b0000'), "firstname"=>"Ora", "lastname"=>"Armstrong"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2489ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd57c57353336311b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd57c57353336311b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 3.5ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd57c57353336311c0000'), "firstname"=>"Jamison", "lastname"=>"Stiedemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3381ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3735ms
Completed 200 OK in 7ms (Views: 6.2ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd57c57353336311d0000'), "firstname"=>"Tyshawn", "lastname"=>"Lakin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3473ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.2ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd57c57353336311e0000'), "firstname"=>"Brenna", "lastname"=>"Cummings"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3640ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd57c57353336311e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd57c57353336311e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2752ms
Completed 200 OK in 3ms (Views: 2.0ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd57c57353336311f0000'), "firstname"=>"Lynn", "lastname"=>"Gleichner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3184ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd57c57353336311f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd57c57353336311f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd57c57353336311f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2767ms
Redirected to http://test.host/clients/52fdd57c57353336311f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd57c5735333631200000'), "name"=>"Bethany Reynolds", "reference"=>"Dasia Schulist", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4820ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd57c5735333631210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3644ms
Redirected to http://test.host/products/52fdd57c5735333631210000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd57c5735333631220000'), "name"=>"Gene Schimmel", "reference"=>"Dr. Adonis Runolfsdottir", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3408ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fdd57c5735333631220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd57c5735333631220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2699ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd57c5735333631220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2676ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd57c5735333631230000'), "name"=>"Sophia Wunsch I", "reference"=>"Lesly Johnston V", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2656ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fdd57c5735333631230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd57c5735333631230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 7ms (Views: 6.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd57c5735333631240000'), "name"=>"Urban Jacobi", "reference"=>"River Graham", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4105ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3916ms
Completed 200 OK in 7ms (Views: 6.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd57c5735333631250000'), "name"=>"Alison Wiza", "reference"=>"Ms. Alexandria Ferry", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3363ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 4ms (Views: 3.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd57c5735333631260000'), "name"=>"Parker Skiles", "reference"=>"Giovanna Beier", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fdd57c5735333631260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd57c5735333631260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2576ms
Completed 200 OK in 4ms (Views: 2.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd57c5735333631270000'), "name"=>"Hermann Leannon", "reference"=>"Kamille Huel DVM", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6176ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdd57c5735333631270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd57c5735333631270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2541ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd57c5735333631270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2830ms
Redirected to http://test.host/products/52fdd57c5735333631270000
Completed 302 Found in 2ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd57c5735333631280000'), "firstname"=>"Vernie", "lastname"=>"Waters"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd57c5735333631290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3294ms
Redirected to http://test.host/users/52fdd57c5735333631290000
Completed 302 Found in 2ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd57c57353336312a0000'), "firstname"=>"Bianka", "lastname"=>"Upton"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3113ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fdd57c57353336312a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd57c57353336312a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2521ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd57c57353336312a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2582ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd57c57353336312b0000'), "firstname"=>"Frieda", "lastname"=>"Towne"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2589ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fdd57c57353336312b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd57c57353336312b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 6ms (Views: 5.3ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd57c57353336312c0000'), "firstname"=>"Price", "lastname"=>"Buckridge"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3887ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3596ms
Completed 200 OK in 6ms (Views: 6.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd57c57353336312d0000'), "firstname"=>"Rosie", "lastname"=>"Huel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3253ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd57c57353336312e0000'), "firstname"=>"Eldred", "lastname"=>"Simonis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4056ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fdd57c57353336312e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd57c57353336312e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms
Completed 200 OK in 4ms (Views: 2.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd57c57353336312f0000'), "firstname"=>"Edyth", "lastname"=>"Ryan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3651ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdd57c57353336312f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd57c57353336312f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fdd57c57353336312f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6496ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3278ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3332ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2883ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c000000'), "name"=>"Donny Rowe", "reference"=>"Talia Mayert", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4921ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms
Redirected to http://test.host/admin/products/52fdd59e573533365c010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c020000'), "name"=>"Leora Hessel DDS", "reference"=>"Johnathan Hackett", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3555ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fdd59e573533365c020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd59e573533365c020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3236ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd59e573533365c020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3858ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c030000'), "name"=>"Pinkie Mills", "reference"=>"Samantha Littel", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fdd59e573533365c030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd59e573533365c030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2912ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms)
Completed 200 OK in 23ms (Views: 21.6ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c040000'), "name"=>"Marcella Buckridge", "reference"=>"Joanny Gleichner", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5104ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3375ms
Completed 200 OK in 5ms (Views: 4.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c050000'), "name"=>"Carson Kilback", "reference"=>"Precious Cruickshank", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.7ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c060000'), "name"=>"Luigi Herzog", "reference"=>"Andy Gutmann MD", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4009ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fdd59e573533365c060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd59e573533365c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms
Completed 200 OK in 4ms (Views: 2.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c070000'), "name"=>"Gregorio Dach DVM", "reference"=>"Name Monahan", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3675ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdd59e573533365c070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd59e573533365c070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2757ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd59e573533365c070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3713ms
Redirected to http://test.host/admin/products/52fdd59e573533365c070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c080000'), "firstname"=>"Davion", "lastname"=>"Rohan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4461ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3293ms
Redirected to http://test.host/admin/users/52fdd59e573533365c090000
Completed 302 Found in 2ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c0a0000'), "firstname"=>"Shirley", "lastname"=>"Bode"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2997ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fdd59e573533365c0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd59e573533365c0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2469ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd59e573533365c0a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3267ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c0b0000'), "firstname"=>"Ricardo", "lastname"=>"Kautzer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3041ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fdd59e573533365c0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd59e573533365c0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2960ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 5.7ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c0c0000'), "firstname"=>"Hilton", "lastname"=>"Muller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3887ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4216ms
Completed 200 OK in 6ms (Views: 4.9ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c0d0000'), "firstname"=>"Jaron", "lastname"=>"Hansen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3485ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.4ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c0e0000'), "firstname"=>"Andy", "lastname"=>"Auer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0886ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fdd59e573533365c0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd59e573533365c0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3301ms
Completed 200 OK in 33ms (Views: 31.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c0f0000'), "firstname"=>"Wilburn", "lastname"=>"Goodwin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4913ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdd59e573533365c0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd59e573533365c0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3113ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fdd59e573533365c0f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c100000'), "firstname"=>"Marcellus", "lastname"=>"Brown"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5031ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2603ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms
Redirected to http://test.host/admin/clients/52fdd59e573533365c110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2178ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c120000'), "firstname"=>"Evan", "lastname"=>"Langworth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3049ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1696ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd59e573533365c120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd59e573533365c120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2624ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd59e573533365c120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3000ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1860ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c130000'), "firstname"=>"Christophe", "lastname"=>"Weimann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2690ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd59e573533365c130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd59e573533365c130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3256ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.2ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c140000'), "firstname"=>"Petra", "lastname"=>"Gislason"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4271ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3266ms
Completed 200 OK in 5ms (Views: 4.4ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c150000'), "firstname"=>"Paxton", "lastname"=>"Sawayn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 31.2864ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 5ms (Views: 4.2ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c160000'), "firstname"=>"Randal", "lastname"=>"Mraz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4506ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd59e573533365c160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd59e573533365c160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2957ms
Completed 200 OK in 4ms (Views: 3.0ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c170000'), "firstname"=>"Orpha", "lastname"=>"Jacobson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3726ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd59e573533365c170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd59e573533365c170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3071ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd59e573533365c170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms
Redirected to http://test.host/admin/clients/52fdd59e573533365c170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c180000'), "firstname"=>"Alexis", "lastname"=>"Gleason"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3113ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2243ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3411ms
Redirected to http://test.host/clients/52fdd59e573533365c190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2295ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c1a0000'), "firstname"=>"Jeffry", "lastname"=>"Wolf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2775ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2172ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd59e573533365c1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd59e573533365c1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2384ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd59e573533365c1a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2584ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1781ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c1b0000'), "firstname"=>"Elwyn", "lastname"=>"Harris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2391ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd59e573533365c1b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd59e573533365c1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2541ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 4.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c1c0000'), "firstname"=>"Aditya", "lastname"=>"Pfeffer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3724ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3396ms
Completed 200 OK in 7ms (Views: 6.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c1d0000'), "firstname"=>"Nels", "lastname"=>"Volkman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3601ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.4ms)
Completed 200 OK in 4ms (Views: 3.1ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c1e0000'), "firstname"=>"Jayson", "lastname"=>"O'Kon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3870ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd59e573533365c1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd59e573533365c1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2796ms
Completed 200 OK in 3ms (Views: 2.0ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c1f0000'), "firstname"=>"Miles", "lastname"=>"Lubowitz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4166ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd59e573533365c1f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd59e573533365c1f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2557ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd59e573533365c1f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2595ms
Redirected to http://test.host/clients/52fdd59e573533365c1f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c200000'), "name"=>"Icie Labadie Jr.", "reference"=>"Jonatan Lang MD", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5056ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3841ms
Redirected to http://test.host/products/52fdd59e573533365c210000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c220000'), "name"=>"Cletus Johns", "reference"=>"Ernestine Bernier", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fdd59e573533365c220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd59e573533365c220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2723ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd59e573533365c220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2888ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c230000'), "name"=>"Norma King", "reference"=>"Jalen Monahan", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2664ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fdd59e573533365c230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd59e573533365c230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 8ms (Views: 6.9ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c240000'), "name"=>"Tia Gorczany", "reference"=>"Citlalli McLaughlin", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4366ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3764ms
Completed 200 OK in 7ms (Views: 6.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c250000'), "name"=>"Montana Bruen", "reference"=>"Gabriel Hermiston", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3289ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c260000'), "name"=>"Nels Casper", "reference"=>"Marie Brakus III", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3914ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fdd59e573533365c260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd59e573533365c260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2624ms
Completed 200 OK in 4ms (Views: 2.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c270000'), "name"=>"Dagmar Russel", "reference"=>"Ms. Lorna Turner", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5199ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdd59e573533365c270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd59e573533365c270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3324ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd59e573533365c270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2962ms
Redirected to http://test.host/products/52fdd59e573533365c270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c280000'), "firstname"=>"Geo", "lastname"=>"Predovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3108ms
Redirected to http://test.host/users/52fdd59e573533365c290000
Completed 302 Found in 2ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c2a0000'), "firstname"=>"Dell", "lastname"=>"Dickens"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3066ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fdd59e573533365c2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd59e573533365c2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2529ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd59e573533365c2a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2650ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c2b0000'), "firstname"=>"Milo", "lastname"=>"Sporer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2626ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fdd59e573533365c2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd59e573533365c2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2409ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 7ms (Views: 5.5ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c2c0000'), "firstname"=>"Kamren", "lastname"=>"Davis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4865ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3980ms
Completed 200 OK in 7ms (Views: 6.1ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c2d0000'), "firstname"=>"Raleigh", "lastname"=>"Renner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3336ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c2e0000'), "firstname"=>"Sharon", "lastname"=>"Reichert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fdd59e573533365c2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd59e573533365c2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms
Completed 200 OK in 4ms (Views: 2.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd59e573533365c2f0000'), "firstname"=>"Heidi", "lastname"=>"Leuschke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1734ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdd59e573533365c2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd59e573533365c2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4222ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fdd59e573533365c2f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6953ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3413ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3362ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3399ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3472ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688000000'), "name"=>"Orie Farrell", "reference"=>"Pedro Krajcik", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5220ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2336ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3726ms
Redirected to http://test.host/admin/products/52fdd6145735333688010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2123ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688020000'), "name"=>"Wilfred Fisher", "reference"=>"Geoffrey Fay", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3342ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2252ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fdd6145735333688020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd6145735333688020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2653ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd6145735333688020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2341ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688030000'), "name"=>"Dr. Garrick Lang", "reference"=>"Terrill Kilback", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3016ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fdd6145735333688030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd6145735333688030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3058ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms)
Completed 200 OK in 22ms (Views: 21.1ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688040000'), "name"=>"Tatyana Larkin", "reference"=>"Fabian Murray", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4319ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3286ms
Completed 200 OK in 5ms (Views: 4.3ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688050000'), "name"=>"Ara Cormier", "reference"=>"Tre Wolf", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3215ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.7ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688060000'), "name"=>"Cleve Nicolas Jr.", "reference"=>"Sven Runte", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3975ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fdd6145735333688060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd6145735333688060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms
Completed 200 OK in 4ms (Views: 2.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688070000'), "name"=>"Emmanuel Stiedemann", "reference"=>"Bernadette Ullrich DVM", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3827ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdd6145735333688070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd6145735333688070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3777ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd6145735333688070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5082ms
Redirected to http://test.host/admin/products/52fdd6145735333688070000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688080000'), "firstname"=>"Micheal", "lastname"=>"Rice"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4593ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2254ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3592ms
Redirected to http://test.host/admin/users/52fdd6145735333688090000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2276ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd61457353336880a0000'), "firstname"=>"Camilla", "lastname"=>"Rowe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3504ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2212ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fdd61457353336880a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd61457353336880a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2935ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd61457353336880a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3475ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2256ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd61457353336880b0000'), "firstname"=>"Diana", "lastname"=>"Kuhic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2991ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fdd61457353336880b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd61457353336880b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2092ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 5.9ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd61457353336880c0000'), "firstname"=>"Elenor", "lastname"=>"Heathcote"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4516ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3151ms
Completed 200 OK in 5ms (Views: 4.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd61457353336880d0000'), "firstname"=>"Pat", "lastname"=>"Konopelski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3084ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd61457353336880e0000'), "firstname"=>"Estrella", "lastname"=>"Willms"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fdd61457353336880e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd61457353336880e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2433ms
Completed 200 OK in 4ms (Views: 2.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd61457353336880f0000'), "firstname"=>"Rodrigo", "lastname"=>"Barrows"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4552ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdd61457353336880f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd61457353336880f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3178ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fdd61457353336880f0000
Completed 302 Found in 4ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688100000'), "firstname"=>"Vita", "lastname"=>"Metz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4549ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1843ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3908ms
Redirected to http://test.host/admin/clients/52fdd6145735333688110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2320ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688120000'), "firstname"=>"Ima", "lastname"=>"Bogan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3513ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2217ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd6145735333688120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd6145735333688120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2827ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd6145735333688120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3242ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2053ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688130000'), "firstname"=>"Emie", "lastname"=>"Thiel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2737ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd6145735333688130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd6145735333688130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.0ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688140000'), "firstname"=>"Jess", "lastname"=>"Emmerich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4231ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3282ms
Completed 200 OK in 6ms (Views: 4.4ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688150000'), "firstname"=>"Bobby", "lastname"=>"Becker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4089ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688160000'), "firstname"=>"Kristin", "lastname"=>"Marquardt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4202ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd6145735333688160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd6145735333688160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2380ms
Completed 200 OK in 4ms (Views: 3.0ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688170000'), "firstname"=>"Noble", "lastname"=>"Mohr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd6145735333688170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd6145735333688170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2725ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd6145735333688170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3074ms
Redirected to http://test.host/admin/clients/52fdd6145735333688170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688180000'), "firstname"=>"Vicenta", "lastname"=>"Ward"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3033ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2029ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3476ms
Redirected to http://test.host/clients/52fdd6145735333688190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2516ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd61457353336881a0000'), "firstname"=>"Caroline", "lastname"=>"Borer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2343ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1513ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd61457353336881a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd61457353336881a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2439ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd61457353336881a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2580ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1773ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd61457353336881b0000'), "firstname"=>"Shane", "lastname"=>"Schamberger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2625ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd61457353336881b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd61457353336881b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3847ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 3.9ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd61457353336881c0000'), "firstname"=>"Janelle", "lastname"=>"Conroy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3801ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4265ms
Completed 200 OK in 7ms (Views: 6.3ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd61457353336881d0000'), "firstname"=>"May", "lastname"=>"Simonis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8041ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.2ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd61457353336881e0000'), "firstname"=>"Aida", "lastname"=>"VonRueden"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4734ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd61457353336881e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd61457353336881e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3543ms
Completed 200 OK in 4ms (Views: 2.0ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd61457353336881f0000'), "firstname"=>"Katarina", "lastname"=>"Bechtelar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3310ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd61457353336881f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd61457353336881f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2628ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd61457353336881f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2853ms
Redirected to http://test.host/clients/52fdd61457353336881f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688200000'), "name"=>"Mrs. Jerome Lindgren", "reference"=>"Wade Bechtelar Sr.", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4373ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3547ms
Redirected to http://test.host/products/52fdd6145735333688210000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688220000'), "name"=>"Mason Weissnat", "reference"=>"Agustin Ryan", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1851ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fdd6145735333688220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd6145735333688220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2560ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd6145735333688220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2523ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1870ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688230000'), "name"=>"Kurtis Nicolas", "reference"=>"Sanford Littel DVM", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fdd6145735333688230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd6145735333688230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3528ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 6.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688240000'), "name"=>"Gloria Harris", "reference"=>"Dr. Destiny Herzog", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4676ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3824ms
Completed 200 OK in 7ms (Views: 6.1ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688250000'), "name"=>"Ms. Kara Hamill", "reference"=>"Mabelle Herman", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3238ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688260000'), "name"=>"Mrs. Mary Anderson", "reference"=>"Sister VonRueden", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3972ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fdd6145735333688260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd6145735333688260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3665ms
Completed 200 OK in 4ms (Views: 2.8ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688270000'), "name"=>"Mrs. Christiana Medhurst", "reference"=>"Nathaniel Goldner V", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1945ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdd6145735333688270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd6145735333688270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2747ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd6145735333688270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2879ms
Redirected to http://test.host/products/52fdd6145735333688270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688280000'), "firstname"=>"Emmy", "lastname"=>"Hessel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3992ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd6145735333688290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3219ms
Redirected to http://test.host/users/52fdd6145735333688290000
Completed 302 Found in 2ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd61457353336882a0000'), "firstname"=>"Dovie", "lastname"=>"Schamberger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3134ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd61457353336882b0000'), "firstname"=>"Ophelia", "lastname"=>"White"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2416ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fdd61457353336882b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd61457353336882b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3654ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 7ms (Views: 5.9ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd61557353336882c0000'), "firstname"=>"Bruce", "lastname"=>"Schultz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4256ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3592ms
Completed 200 OK in 7ms (Views: 6.4ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd61557353336882d0000'), "firstname"=>"Mitchel", "lastname"=>"Breitenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3292ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd61557353336882e0000'), "firstname"=>"Arjun", "lastname"=>"Casper"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fdd61557353336882e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd61557353336882e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2433ms
Completed 200 OK in 4ms (Views: 2.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd61557353336882f0000'), "firstname"=>"Ignacio", "lastname"=>"Von"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4817ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdd61557353336882f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd61557353336882f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3473ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fdd61557353336882f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7167ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3482ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2767ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3413ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b2000000'), "name"=>"Nolan Murphy", "reference"=>"Sarai Funk", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5146ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2318ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b2010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4109ms
Redirected to http://test.host/admin/products/52fdd63357353336b2010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2345ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b2020000'), "name"=>"Keven Stokes", "reference"=>"Hank Donnelly", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3921ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1770ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fdd63357353336b2020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd63357353336b2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3084ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd63357353336b2020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3781ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1797ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b2030000'), "name"=>"Pauline Ritchie", "reference"=>"Judah Rutherford", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2482ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fdd63357353336b2030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd63357353336b2030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2446ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 200 OK in 22ms (Views: 20.9ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b2040000'), "name"=>"Murphy Schulist", "reference"=>"Francis Altenwerth", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 214.9933ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3942ms
Completed 200 OK in 5ms (Views: 4.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b2050000'), "name"=>"Adelia Reynolds", "reference"=>"Derrick Rosenbaum", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3777ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.7ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b2060000'), "name"=>"Amiya Dach", "reference"=>"Otis Moore", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4336ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fdd63357353336b2060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd63357353336b2060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3063ms
Completed 200 OK in 4ms (Views: 2.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b2070000'), "name"=>"Liliana Hoeger", "reference"=>"Jaycee Schamberger", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdd63357353336b2070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd63357353336b2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd63357353336b2070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3589ms
Redirected to http://test.host/admin/products/52fdd63357353336b2070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b2080000'), "firstname"=>"Lisandro", "lastname"=>"Stoltenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4449ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2100ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b2090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5522ms
Redirected to http://test.host/admin/users/52fdd63357353336b2090000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2624ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b20a0000'), "firstname"=>"Rosa", "lastname"=>"Rogahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3628ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2308ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fdd63357353336b20a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd63357353336b20a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2946ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd63357353336b20a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3481ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2269ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b20b0000'), "firstname"=>"Elissa", "lastname"=>"Waters"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2519ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fdd63357353336b20b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd63357353336b20b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 5.6ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b20c0000'), "firstname"=>"Jed", "lastname"=>"Stoltenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4450ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3252ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b20d0000'), "firstname"=>"Friedrich", "lastname"=>"Bogan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3440ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 4ms (Views: 3.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b20e0000'), "firstname"=>"Magdalena", "lastname"=>"Anderson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4280ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fdd63357353336b20e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd63357353336b20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms
Completed 200 OK in 4ms (Views: 2.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b20f0000'), "firstname"=>"Kyler", "lastname"=>"Hudson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.5323ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdd63357353336b20f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd63357353336b20f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2803ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fdd63357353336b20f0000
Completed 302 Found in 4ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b2100000'), "firstname"=>"Karli", "lastname"=>"Heaney"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4628ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1861ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b2110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3462ms
Redirected to http://test.host/admin/clients/52fdd63357353336b2110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1898ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b2120000'), "firstname"=>"Julie", "lastname"=>"Predovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3100ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1760ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd63357353336b2120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd63357353336b2120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2711ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd63357353336b2120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3189ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2070ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b2130000'), "firstname"=>"Jovan", "lastname"=>"Moen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2471ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd63357353336b2130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd63357353336b2130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2450ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 6.6ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b2140000'), "firstname"=>"Pansy", "lastname"=>"Murazik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4388ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3733ms
Completed 200 OK in 6ms (Views: 4.8ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b2150000'), "firstname"=>"Milton", "lastname"=>"Mayert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4458ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 5ms (Views: 4.1ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b2160000'), "firstname"=>"Donald", "lastname"=>"Pfeffer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4413ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd63357353336b2160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd63357353336b2160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2478ms
Completed 200 OK in 5ms (Views: 3.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b2170000'), "firstname"=>"Jared", "lastname"=>"Armstrong"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4613ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd63357353336b2170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd63357353336b2170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd63357353336b2170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2961ms
Redirected to http://test.host/admin/clients/52fdd63357353336b2170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b2180000'), "firstname"=>"Pamela", "lastname"=>"Spinka"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2617ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1754ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b2190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3051ms
Redirected to http://test.host/clients/52fdd63357353336b2190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2343ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b21a0000'), "firstname"=>"Osborne", "lastname"=>"Cruickshank"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1968ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd63357353336b21a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd63357353336b21a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2456ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd63357353336b21a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2554ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1791ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b21b0000'), "firstname"=>"Alison", "lastname"=>"O'Kon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2419ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd63357353336b21b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd63357353336b21b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2409ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 5ms (Views: 3.5ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b21c0000'), "firstname"=>"Isaiah", "lastname"=>"Brekke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.3874ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4458ms
Completed 200 OK in 7ms (Views: 6.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b21d0000'), "firstname"=>"Elenora", "lastname"=>"Feest"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3727ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.1ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b21e0000'), "firstname"=>"Mossie", "lastname"=>"Altenwerth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3914ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd63357353336b21e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd63357353336b21e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2458ms
Completed 200 OK in 3ms (Views: 1.9ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b21f0000'), "firstname"=>"Laury", "lastname"=>"Klein"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3086ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd63357353336b21f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd63357353336b21f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2874ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd63357353336b21f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2665ms
Redirected to http://test.host/clients/52fdd63357353336b21f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b2200000'), "name"=>"Jamil Wiegand", "reference"=>"Frederique Bernhard", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4437ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b2210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3610ms
Redirected to http://test.host/products/52fdd63357353336b2210000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b2220000'), "name"=>"Tatyana Brakus", "reference"=>"Alisa Bernier", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3340ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1867ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fdd63357353336b2220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd63357353336b2220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2544ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd63357353336b2220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2620ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1815ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd63357353336b2230000'), "name"=>"Elmira Hoppe", "reference"=>"Malvina Dietrich MD", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2529ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fdd63357353336b2230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd63357353336b2230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2560ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 7ms (Views: 5.9ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd63457353336b2240000'), "name"=>"Mrs. Eve Kilback", "reference"=>"Jovanny Cormier III", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4871ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4186ms
Completed 200 OK in 7ms (Views: 6.4ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd63457353336b2250000'), "name"=>"Geovanny MacGyver I", "reference"=>"Floy Carter", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0816ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd63457353336b2260000'), "name"=>"Selina Anderson", "reference"=>"Reyes Schulist", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4059ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fdd63457353336b2260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd63457353336b2260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2506ms
Completed 200 OK in 4ms (Views: 2.4ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd63457353336b2270000'), "name"=>"Emma Schneider", "reference"=>"Miss Norwood Weber", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4242ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdd63457353336b2270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd63457353336b2270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4939ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd63457353336b2270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3352ms
Redirected to http://test.host/products/52fdd63457353336b2270000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd63457353336b2280000'), "firstname"=>"Orrin", "lastname"=>"Mosciski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4224ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1859ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd63457353336b2290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3213ms
Redirected to http://test.host/users/52fdd63457353336b2290000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1871ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd63457353336b22a0000'), "firstname"=>"Loyce", "lastname"=>"Fritsch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3020ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1875ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fdd63457353336b22a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd63457353336b22a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2445ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd63457353336b22a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2586ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1783ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd63457353336b22b0000'), "firstname"=>"Robin", "lastname"=>"Huels"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2470ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fdd63457353336b22b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd63457353336b22b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2414ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 5.7ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd63457353336b22c0000'), "firstname"=>"Aurelio", "lastname"=>"Lynch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4647ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3684ms
Completed 200 OK in 6ms (Views: 6.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd63457353336b22d0000'), "firstname"=>"Titus", "lastname"=>"Lehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3281ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd63457353336b22e0000'), "firstname"=>"Americo", "lastname"=>"Hirthe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fdd63457353336b22e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd63457353336b22e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms
Completed 200 OK in 4ms (Views: 2.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd63457353336b22f0000'), "firstname"=>"Arlene", "lastname"=>"Pacocha"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3717ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdd63457353336b22f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd63457353336b22f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2475ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fdd63457353336b22f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6392ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3569ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3605ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3246ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c000000'), "name"=>"Treva Green", "reference"=>"Gilberto Rowe", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4897ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1691ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2042ms
Redirected to http://test.host/admin/products/52fdd820573533373c010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2315ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c020000'), "name"=>"Margarett Wiegand", "reference"=>"Mallory Barton", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3978ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2243ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fdd820573533373c020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd820573533373c020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3043ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd820573533373c020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3466ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2342ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c030000'), "name"=>"Seth Prosacco", "reference"=>"Ansley Metz IV", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3013ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fdd820573533373c030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd820573533373c030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3013ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms)
Completed 200 OK in 23ms (Views: 21.4ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c040000'), "name"=>"Verner Kirlin", "reference"=>"Mrs. Savion Heller", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4374ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3328ms
Completed 200 OK in 5ms (Views: 4.3ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c050000'), "name"=>"Cedrick MacGyver", "reference"=>"Daniela Johns", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3321ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.6ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c060000'), "name"=>"Dr. Alayna Sporer", "reference"=>"Hassie Luettgen", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fdd820573533373c060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd820573533373c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2571ms
Completed 200 OK in 4ms (Views: 2.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c070000'), "name"=>"Oliver Conroy DDS", "reference"=>"Izaiah Wunsch IV", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3782ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdd820573533373c070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd820573533373c070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3734ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd820573533373c070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5083ms
Redirected to http://test.host/admin/products/52fdd820573533373c070000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c080000'), "firstname"=>"Alivia", "lastname"=>"Shanahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4500ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2032ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3726ms
Redirected to http://test.host/admin/users/52fdd820573533373c090000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2318ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c0a0000'), "firstname"=>"Kristoffer", "lastname"=>"Will"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3452ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2201ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fdd820573533373c0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd820573533373c0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2881ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd820573533373c0a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3400ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2261ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c0b0000'), "firstname"=>"Elyssa", "lastname"=>"Lockman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2851ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fdd820573533373c0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd820573533373c0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2456ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 7ms (Views: 6.0ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c0c0000'), "firstname"=>"Schuyler", "lastname"=>"Emard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4402ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3098ms
Completed 200 OK in 5ms (Views: 4.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c0d0000'), "firstname"=>"Donato", "lastname"=>"Daniel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3191ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c0e0000'), "firstname"=>"Lucinda", "lastname"=>"Prosacco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6531ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fdd820573533373c0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd820573533373c0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms
Completed 200 OK in 4ms (Views: 2.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c0f0000'), "firstname"=>"Halie", "lastname"=>"Fadel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5220ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdd820573533373c0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd820573533373c0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fdd820573533373c0f0000
Completed 302 Found in 4ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c100000'), "firstname"=>"Lauretta", "lastname"=>"Parisian"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4307ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2243ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3736ms
Redirected to http://test.host/admin/clients/52fdd820573533373c110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2084ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c120000'), "firstname"=>"Steve", "lastname"=>"Boehm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3616ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2275ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd820573533373c120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd820573533373c120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4367ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd820573533373c120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3724ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2392ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c130000'), "firstname"=>"Annalise", "lastname"=>"Macejkovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2909ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd820573533373c130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd820573533373c130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2996ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 6.8ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c140000'), "firstname"=>"Tyreek", "lastname"=>"Kessler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4411ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4336ms
Completed 200 OK in 6ms (Views: 4.9ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c150000'), "firstname"=>"April", "lastname"=>"Schinner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3080ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 5ms (Views: 4.2ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c160000'), "firstname"=>"Verna", "lastname"=>"Flatley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4025ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd820573533373c160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd820573533373c160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2471ms
Completed 200 OK in 4ms (Views: 3.0ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c170000'), "firstname"=>"Elinore", "lastname"=>"Bartell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3727ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd820573533373c170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd820573533373c170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2449ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd820573533373c170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3243ms
Redirected to http://test.host/admin/clients/52fdd820573533373c170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c180000'), "firstname"=>"Else", "lastname"=>"McGlynn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2921ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1602ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4554ms
Redirected to http://test.host/clients/52fdd820573533373c190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1918ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c1a0000'), "firstname"=>"Michale", "lastname"=>"Kemmer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2525ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1698ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdd820573533373c1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd820573533373c1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2428ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd820573533373c1a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2551ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1893ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c1b0000'), "firstname"=>"Amir", "lastname"=>"Stroman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2347ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdd820573533373c1b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd820573533373c1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2417ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 3.4ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c1c0000'), "firstname"=>"Kyle", "lastname"=>"Willms"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3332ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3542ms
Completed 200 OK in 7ms (Views: 6.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c1d0000'), "firstname"=>"Margaretta", "lastname"=>"Harris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4504ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c1e0000'), "firstname"=>"Dwight", "lastname"=>"Mann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4016ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdd820573533373c1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd820573533373c1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms
Completed 200 OK in 3ms (Views: 1.9ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c1f0000'), "firstname"=>"King", "lastname"=>"Stamm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3150ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdd820573533373c1f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd820573533373c1f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdd820573533373c1f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2971ms
Redirected to http://test.host/clients/52fdd820573533373c1f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c200000'), "name"=>"Miss Keith Cummings", "reference"=>"Keaton DuBuque", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4904ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1873ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3561ms
Redirected to http://test.host/products/52fdd820573533373c210000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2020ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c220000'), "name"=>"Miss Bessie Fay", "reference"=>"Kaci Cummings", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3228ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1787ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fdd820573533373c220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd820573533373c220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2576ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd820573533373c220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2617ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1814ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c230000'), "name"=>"Gillian Heidenreich", "reference"=>"Olen Weber", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2486ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fdd820573533373c230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd820573533373c230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2534ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 7ms (Views: 5.9ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c240000'), "name"=>"Ora Bashirian", "reference"=>"Austen Schimmel MD", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4017ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3621ms
Completed 200 OK in 7ms (Views: 6.0ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c250000'), "name"=>"Caesar Spencer DVM", "reference"=>"Rae Grimes", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 4.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c260000'), "name"=>"Santino Anderson", "reference"=>"Alexandra Okuneva", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4471ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fdd820573533373c260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd820573533373c260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2965ms
Completed 200 OK in 4ms (Views: 2.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c270000'), "name"=>"Dr. Armando Shanahan", "reference"=>"Bertram Schultz", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdd820573533373c270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd820573533373c270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2829ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdd820573533373c270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3096ms
Redirected to http://test.host/products/52fdd820573533373c270000
Completed 302 Found in 2ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c280000'), "firstname"=>"Haleigh", "lastname"=>"Homenick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1781ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3162ms
Redirected to http://test.host/users/52fdd820573533373c290000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2213ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c2a0000'), "firstname"=>"Malinda", "lastname"=>"Bartell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2107ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fdd820573533373c2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd820573533373c2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3385ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd820573533373c2a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2577ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1995ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd820573533373c2b0000'), "firstname"=>"Valentina", "lastname"=>"Schamberger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2519ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fdd820573533373c2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd820573533373c2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2516ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.3ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd821573533373c2c0000'), "firstname"=>"Trent", "lastname"=>"Cruickshank"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4069ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3661ms
Completed 200 OK in 6ms (Views: 5.8ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd821573533373c2d0000'), "firstname"=>"Citlalli", "lastname"=>"Rosenbaum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3314ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 3.4ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd821573533373c2e0000'), "firstname"=>"Ciara", "lastname"=>"Becker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5238ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fdd821573533373c2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd821573533373c2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2830ms
Completed 200 OK in 4ms (Views: 2.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdd821573533373c2f0000'), "firstname"=>"Elenor", "lastname"=>"Conroy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5752ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdd821573533373c2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdd821573533373c2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fdd821573533373c2f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7088ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3364ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3393ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2863ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2774ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf5055735333a62000000'), "name"=>"Rosina Witting", "reference"=>"Alessia Marquardt IV", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5583ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2799ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf5125735333a62010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5263ms
Redirected to http://test.host/admin/products/52fdf5125735333a62010000
Completed 302 Found in 13269ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2540ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf5125735333a62020000'), "name"=>"Miss Susanna Cremin", "reference"=>"Raegan Osinski", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3719ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2355ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fdf5125735333a62020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf5125735333a62020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4143ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf5125735333a62020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3900ms
Redirected to http://test.host/admin/products
Completed 302 Found in 919ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2358ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf5135735333a62030000'), "name"=>"Yasmeen Moore", "reference"=>"Mrs. Cindy D'Amore", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2657ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fdf5135735333a62030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf5135735333a62030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4023ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.2ms)
Completed 200 OK in 448ms (Views: 19.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf5135735333a62040000'), "name"=>"Florence Goyette", "reference"=>"Herminia Herzog", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4453ms
Completed 200 OK in 280ms (Views: 4.7ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf5145735333a62050000'), "name"=>"Timmothy Bode", "reference"=>"Nico Reilly", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3190ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 319ms (Views: 4.0ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf5145735333a62060000'), "name"=>"Ellis Herzog", "reference"=>"Gilda Ziemann", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4183ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fdf5145735333a62060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf5145735333a62060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3539ms
Completed 200 OK in 320ms (Views: 2.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf5145735333a62070000'), "name"=>"Oliver Kling", "reference"=>"Dorcas Simonis", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3760ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdf5145735333a62070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf5145735333a62070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4144ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf5145735333a62070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3923ms
Redirected to http://test.host/admin/products/52fdf5145735333a62070000
Completed 302 Found in 311ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf5155735333a62080000'), "firstname"=>"Lorenzo", "lastname"=>"Cronin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4278ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1804ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf5155735333a62090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4606ms
Redirected to http://test.host/admin/users/52fdf5155735333a62090000
Completed 302 Found in 321ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2151ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf5155735333a620a0000'), "firstname"=>"Kianna", "lastname"=>"Murazik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2928ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1741ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fdf5155735333a620a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf5155735333a620a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf5155735333a620a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms
Redirected to http://test.host/admin/users
Completed 302 Found in 311ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2375ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf5155735333a620b0000'), "firstname"=>"Ashley", "lastname"=>"Rolfson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3006ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fdf5155735333a620b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf5155735333a620b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4034ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 340ms (Views: 5.8ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf5165735333a620c0000'), "firstname"=>"Cyril", "lastname"=>"Rogahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6722ms
Completed 200 OK in 372ms (Views: 35.3ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf5165735333a620d0000'), "firstname"=>"Horace", "lastname"=>"McClure"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5154ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 303ms (Views: 3.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf5165735333a620e0000'), "firstname"=>"Giovani", "lastname"=>"Wiza"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4473ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fdf5165735333a620e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf5165735333a620e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4192ms
Completed 200 OK in 542ms (Views: 2.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a620f0000'), "firstname"=>"Linnie", "lastname"=>"Skiles"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4127ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdf5175735333a620f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf5175735333a620f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fdf5175735333a620f0000
Completed 302 Found in 453ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a62100000'), "firstname"=>"Amely", "lastname"=>"Collier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5114ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2356ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a62110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3962ms
Redirected to http://test.host/admin/clients/52fdf5175735333a62110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2337ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a62120000'), "firstname"=>"Reggie", "lastname"=>"Kuvalis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3571ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2253ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdf5175735333a62120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf5175735333a62120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3023ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf5175735333a62120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3046ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2654ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a62130000'), "firstname"=>"Cristobal", "lastname"=>"Legros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3778ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdf5175735333a62130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf5175735333a62130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2408ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 6.8ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a62140000'), "firstname"=>"Rowena", "lastname"=>"Zemlak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4437ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3821ms
Completed 200 OK in 6ms (Views: 4.6ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a62150000'), "firstname"=>"Marilyne", "lastname"=>"Watsica"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5067ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 4.2ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a62160000'), "firstname"=>"Herbert", "lastname"=>"Hamill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.6145ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdf5175735333a62160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf5175735333a62160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3076ms
Completed 200 OK in 4ms (Views: 3.0ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a62170000'), "firstname"=>"Jaiden", "lastname"=>"Haag"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4204ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdf5175735333a62170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf5175735333a62170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2894ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf5175735333a62170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3620ms
Redirected to http://test.host/admin/clients/52fdf5175735333a62170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a62180000'), "firstname"=>"Tavares", "lastname"=>"Altenwerth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3403ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2454ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a62190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4409ms
Redirected to http://test.host/clients/52fdf5175735333a62190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1684ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a621a0000'), "firstname"=>"Beulah", "lastname"=>"Stoltenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2257ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1528ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdf5175735333a621a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf5175735333a621a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2330ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf5175735333a621a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2351ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1597ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a621b0000'), "firstname"=>"Tamia", "lastname"=>"Schinner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2220ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdf5175735333a621b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf5175735333a621b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2244ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 3.4ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a621c0000'), "firstname"=>"Leila", "lastname"=>"Pfannerstill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3507ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3678ms
Completed 200 OK in 7ms (Views: 6.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a621d0000'), "firstname"=>"Muriel", "lastname"=>"Tremblay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4389ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.1ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a621e0000'), "firstname"=>"Lillian", "lastname"=>"Herzog"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3929ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdf5175735333a621e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf5175735333a621e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms
Completed 200 OK in 3ms (Views: 1.9ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a621f0000'), "firstname"=>"Delia", "lastname"=>"Moore"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3391ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdf5175735333a621f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf5175735333a621f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2555ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf5175735333a621f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2588ms
Redirected to http://test.host/clients/52fdf5175735333a621f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a62200000'), "name"=>"Deangelo Beahan MD", "reference"=>"Amos Hirthe", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4901ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1933ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a62210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.1370ms
Redirected to http://test.host/products/52fdf5175735333a62210000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1982ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a62220000'), "name"=>"Mrs. Jalyn Hilll", "reference"=>"Alessandra Aufderhar", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3335ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1817ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fdf5175735333a62220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf5175735333a62220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2597ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf5175735333a62220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2615ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1833ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a62230000'), "name"=>"Aubree Kilback", "reference"=>"Elisa Veum", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2495ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fdf5175735333a62230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf5175735333a62230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2529ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 7ms (Views: 5.8ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a62240000'), "name"=>"Abdullah Romaguera", "reference"=>"Gina Beer", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4003ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3636ms
Completed 200 OK in 7ms (Views: 6.1ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a62250000'), "name"=>"Oda Kshlerin", "reference"=>"Mallory Stiedemann", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3795ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 5ms (Views: 4.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a62260000'), "name"=>"Humberto Hagenes", "reference"=>"Diana Mueller", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4801ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fdf5175735333a62260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf5175735333a62260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3010ms
Completed 200 OK in 4ms (Views: 2.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a62270000'), "name"=>"Sidney Hessel", "reference"=>"Kaelyn Lesch", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdf5175735333a62270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf5175735333a62270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2424ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf5175735333a62270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2653ms
Redirected to http://test.host/products/52fdf5175735333a62270000
Completed 302 Found in 2ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a62280000'), "firstname"=>"Thelma", "lastname"=>"Nader"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4234ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1952ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a62290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3264ms
Redirected to http://test.host/users/52fdf5175735333a62290000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2192ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf5175735333a622a0000'), "firstname"=>"Mason", "lastname"=>"Pollich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4187ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2933ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fdf5175735333a622a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf5175735333a622a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3333ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf5175735333a622a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2546ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1706ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf5185735333a622b0000'), "firstname"=>"Albertha", "lastname"=>"Turcotte"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2331ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fdf5185735333a622b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf5185735333a622b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2203ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.4ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf5185735333a622c0000'), "firstname"=>"Judd", "lastname"=>"Wilkinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4454ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3506ms
Completed 200 OK in 6ms (Views: 5.8ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf5185735333a622d0000'), "firstname"=>"Libbie", "lastname"=>"Fritsch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3325ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf5185735333a622e0000'), "firstname"=>"Jalon", "lastname"=>"Gutkowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4843ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fdf5185735333a622e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf5185735333a622e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3172ms
Completed 200 OK in 4ms (Views: 2.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf5185735333a622f0000'), "firstname"=>"David", "lastname"=>"McClure"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3841ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdf5185735333a622f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf5185735333a622f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2659ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fdf5185735333a622f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6776ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3991ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3332ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3355ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f000000'), "name"=>"Gayle Brekke V", "reference"=>"Ms. Brycen Jacobson", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5198ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2276ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4196ms
Redirected to http://test.host/admin/products/52fdf6ee5735333b8f010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2368ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f020000'), "name"=>"Berta Larkin I", "reference"=>"Nicholas Bernhard", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3690ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2247ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fdf6ee5735333b8f020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3491ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2316ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f030000'), "name"=>"Mr. Esperanza West", "reference"=>"Fae Carter", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3015ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fdf6ee5735333b8f030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3056ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.1ms)
Completed 200 OK in 23ms (Views: 21.6ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f040000'), "name"=>"Denis Gerhold", "reference"=>"Kameron Huel III", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4436ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3221ms
Completed 200 OK in 5ms (Views: 4.2ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f050000'), "name"=>"Dr. Shayna O'Conner", "reference"=>"Kassandra Frami", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3564ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 4ms (Views: 3.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f060000'), "name"=>"Chanelle Dietrich", "reference"=>"Jace Bernier", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4017ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fdf6ee5735333b8f060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2322ms
Completed 200 OK in 4ms (Views: 2.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f070000'), "name"=>"Georgiana Lubowitz", "reference"=>"Victoria Conroy", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdf6ee5735333b8f070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4024ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5260ms
Redirected to http://test.host/admin/products/52fdf6ee5735333b8f070000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f080000'), "firstname"=>"Dixie", "lastname"=>"Kuhn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2144ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3109ms
Redirected to http://test.host/admin/users/52fdf6ee5735333b8f090000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1921ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f0a0000'), "firstname"=>"Nicolette", "lastname"=>"Jacobs"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3042ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1728ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fdf6ee5735333b8f0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2326ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f0a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2965ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1722ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f0b0000'), "firstname"=>"Evelyn", "lastname"=>"Waelchi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2292ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fdf6ee5735333b8f0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2197ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 8ms (Views: 6.6ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f0c0000'), "firstname"=>"Roel", "lastname"=>"Barrows"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5071ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3408ms
Completed 200 OK in 5ms (Views: 4.4ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f0d0000'), "firstname"=>"Lane", "lastname"=>"Hamill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3333ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.4ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f0e0000'), "firstname"=>"Chanel", "lastname"=>"Schaefer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4029ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fdf6ee5735333b8f0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2663ms
Completed 200 OK in 4ms (Views: 2.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f0f0000'), "firstname"=>"Kristian", "lastname"=>"Upton"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4795ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdf6ee5735333b8f0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2898ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fdf6ee5735333b8f0f0000
Completed 302 Found in 4ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f100000'), "firstname"=>"Adela", "lastname"=>"Lubowitz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4416ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1853ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3323ms
Redirected to http://test.host/admin/clients/52fdf6ee5735333b8f110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1827ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f120000'), "firstname"=>"Leland", "lastname"=>"Beatty"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3096ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1763ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdf6ee5735333b8f120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2724ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3722ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3123ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f130000'), "firstname"=>"Josiah", "lastname"=>"Dicki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3146ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdf6ee5735333b8f130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2789ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 6.7ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f140000'), "firstname"=>"Daphnee", "lastname"=>"Lesch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5549ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3283ms
Completed 200 OK in 6ms (Views: 4.5ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f150000'), "firstname"=>"Jaqueline", "lastname"=>"Schneider"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4415ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 5ms (Views: 4.2ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f160000'), "firstname"=>"Valentina", "lastname"=>"Bartell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4001ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdf6ee5735333b8f160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms
Completed 200 OK in 4ms (Views: 3.0ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f170000'), "firstname"=>"Maurine", "lastname"=>"Nicolas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3763ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdf6ee5735333b8f170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3142ms
Redirected to http://test.host/admin/clients/52fdf6ee5735333b8f170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f180000'), "firstname"=>"Tod", "lastname"=>"Watsica"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2636ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1772ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3384ms
Redirected to http://test.host/clients/52fdf6ee5735333b8f190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1923ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f1a0000'), "firstname"=>"Hipolito", "lastname"=>"Hand"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2740ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdf6ee5735333b8f1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2628ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f1a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2652ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1822ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f1b0000'), "firstname"=>"Yoshiko", "lastname"=>"Bernier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2479ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdf6ee5735333b8f1b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2394ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 3.4ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f1c0000'), "firstname"=>"Harley", "lastname"=>"Mayert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3267ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3872ms
Completed 200 OK in 7ms (Views: 6.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f1d0000'), "firstname"=>"Ricardo", "lastname"=>"Hansen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3590ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 3.5ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f1e0000'), "firstname"=>"Maryse", "lastname"=>"Metz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdf6ee5735333b8f1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2337ms
Completed 200 OK in 3ms (Views: 1.9ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f1f0000'), "firstname"=>"Aliya", "lastname"=>"Renner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2925ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdf6ee5735333b8f1f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f1f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2773ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f1f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3057ms
Redirected to http://test.host/clients/52fdf6ee5735333b8f1f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f200000'), "name"=>"Annabelle Ortiz", "reference"=>"Angel Connelly", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4391ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2311ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3980ms
Redirected to http://test.host/products/52fdf6ee5735333b8f210000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2356ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f220000'), "name"=>"Wilton Bartell", "reference"=>"Mr. Leslie Cole", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2247ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fdf6ee5735333b8f220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3419ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2585ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1671ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f230000'), "name"=>"Barton Vandervort", "reference"=>"Broderick Bode", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2885ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fdf6ee5735333b8f230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2834ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 7ms (Views: 5.9ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f240000'), "name"=>"Alana Lind", "reference"=>"Joshuah Witting", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4520ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3739ms
Completed 200 OK in 7ms (Views: 6.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f250000'), "name"=>"Mr. Joe Ruecker", "reference"=>"Jena Medhurst III", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3358ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 5ms (Views: 4.4ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f260000'), "name"=>"Thaddeus Raynor", "reference"=>"Jennyfer Lemke I", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4234ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fdf6ee5735333b8f260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2536ms
Completed 200 OK in 4ms (Views: 2.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f270000'), "name"=>"Alec Boyle", "reference"=>"Mr. Gay Swift", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3735ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdf6ee5735333b8f270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2610ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2820ms
Redirected to http://test.host/products/52fdf6ee5735333b8f270000
Completed 302 Found in 2ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f280000'), "firstname"=>"Camylle", "lastname"=>"Kreiger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3960ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1790ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3166ms
Redirected to http://test.host/users/52fdf6ee5735333b8f290000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1883ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f2a0000'), "firstname"=>"Carter", "lastname"=>"Lakin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2998ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1907ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fdf6ee5735333b8f2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3705ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f2a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3061ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1856ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f2b0000'), "firstname"=>"Nathen", "lastname"=>"Streich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2500ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fdf6ee5735333b8f2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.3ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f2c0000'), "firstname"=>"Milo", "lastname"=>"Hintz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3891ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3595ms
Completed 200 OK in 6ms (Views: 5.9ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f2d0000'), "firstname"=>"Roger", "lastname"=>"Morar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3336ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f2e0000'), "firstname"=>"Guiseppe", "lastname"=>"Reichert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fdf6ee5735333b8f2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4129ms
Completed 200 OK in 4ms (Views: 2.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf6ee5735333b8f2f0000'), "firstname"=>"Audreanne", "lastname"=>"Windler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4482ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdf6ee5735333b8f2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf6ee5735333b8f2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fdf6ee5735333b8f2f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6362ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3531ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3234ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3212ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf7595735333c57000000'), "name"=>"Osborne Dickinson", "reference"=>"Bridget Ondricka PhD", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5095ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2252ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf7595735333c57010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3934ms
Redirected to http://test.host/admin/products/52fdf7595735333c57010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1948ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf7595735333c57020000'), "name"=>"Verdie McKenzie", "reference"=>"Van Veum", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1680ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fdf7595735333c57020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf7595735333c57020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf7595735333c57020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2865ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1689ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf7595735333c57030000'), "name"=>"Bettye Moore I", "reference"=>"Lenna Gaylord", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2431ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fdf7595735333c57030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf7595735333c57030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2848ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms)
Completed 200 OK in 22ms (Views: 21.2ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf7595735333c57040000'), "name"=>"Calista Kshlerin", "reference"=>"Hyman Bode MD", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4726ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3203ms
Completed 200 OK in 5ms (Views: 4.3ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf7595735333c57050000'), "name"=>"Hailey Abbott II", "reference"=>"Nettie Hammes", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3310ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.6ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf7595735333c57060000'), "name"=>"Mrs. Rhiannon Schroeder", "reference"=>"Lacey McLaughlin", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fdf7595735333c57060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf7595735333c57060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms
Completed 200 OK in 4ms (Views: 2.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf7595735333c57070000'), "name"=>"Adelbert Veum", "reference"=>"Valentin Gulgowski", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdf7595735333c57070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf7595735333c57070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4144ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf7595735333c57070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4951ms
Redirected to http://test.host/admin/products/52fdf7595735333c57070000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf7595735333c57080000'), "firstname"=>"Lafayette", "lastname"=>"Mayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5017ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2093ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf7595735333c57090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3675ms
Redirected to http://test.host/admin/users/52fdf7595735333c57090000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2392ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf7595735333c570a0000'), "firstname"=>"Zelma", "lastname"=>"Daniel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3455ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2181ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fdf7595735333c570a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf7595735333c570a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3033ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf7595735333c570a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2298ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf7595735333c570b0000'), "firstname"=>"Bernard", "lastname"=>"Schiller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fdf7595735333c570b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf7595735333c570b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2470ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 5.9ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf7595735333c570c0000'), "firstname"=>"Carissa", "lastname"=>"Hintz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4959ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3229ms
Completed 200 OK in 5ms (Views: 4.3ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf7595735333c570d0000'), "firstname"=>"Lenore", "lastname"=>"Feest"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3136ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf7595735333c570e0000'), "firstname"=>"Glennie", "lastname"=>"Adams"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3972ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fdf7595735333c570e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf7595735333c570e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2434ms
Completed 200 OK in 4ms (Views: 2.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c570f0000'), "firstname"=>"Karine", "lastname"=>"Ratke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4374ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdf75a5735333c570f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf75a5735333c570f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fdf75a5735333c570f0000
Completed 302 Found in 4ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c57100000'), "firstname"=>"Lyric", "lastname"=>"Olson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4582ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1848ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c57110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3552ms
Redirected to http://test.host/admin/clients/52fdf75a5735333c57110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1915ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c57120000'), "firstname"=>"Wellington", "lastname"=>"Gislason"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3107ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1789ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdf75a5735333c57120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf75a5735333c57120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2500ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf75a5735333c57120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2936ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1859ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c57130000'), "firstname"=>"Talon", "lastname"=>"Bayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2745ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdf75a5735333c57130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf75a5735333c57130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4284ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.0ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c57140000'), "firstname"=>"Alyce", "lastname"=>"Kerluke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3258ms
Completed 200 OK in 5ms (Views: 4.4ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c57150000'), "firstname"=>"Braxton", "lastname"=>"Cruickshank"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4112ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c57160000'), "firstname"=>"Fay", "lastname"=>"Haag"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4042ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdf75a5735333c57160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf75a5735333c57160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms
Completed 200 OK in 4ms (Views: 3.0ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c57170000'), "firstname"=>"Xavier", "lastname"=>"Ziemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3595ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdf75a5735333c57170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf75a5735333c57170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2351ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf75a5735333c57170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2938ms
Redirected to http://test.host/admin/clients/52fdf75a5735333c57170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c57180000'), "firstname"=>"Bryon", "lastname"=>"Cormier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2512ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1581ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c57190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2776ms
Redirected to http://test.host/clients/52fdf75a5735333c57190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1662ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c571a0000'), "firstname"=>"Lamont", "lastname"=>"Kiehn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2143ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1488ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdf75a5735333c571a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf75a5735333c571a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2193ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf75a5735333c571a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2284ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1553ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c571b0000'), "firstname"=>"Heidi", "lastname"=>"Hagenes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2500ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdf75a5735333c571b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf75a5735333c571b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3721ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 3.8ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c571c0000'), "firstname"=>"Isaias", "lastname"=>"Schamberger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3658ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3621ms
Completed 200 OK in 7ms (Views: 6.3ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c571d0000'), "firstname"=>"Kyle", "lastname"=>"Schowalter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3402ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.4ms)
Completed 200 OK in 4ms (Views: 3.1ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c571e0000'), "firstname"=>"Retta", "lastname"=>"Nicolas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdf75a5735333c571e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf75a5735333c571e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3098ms
Completed 200 OK in 4ms (Views: 2.3ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c571f0000'), "firstname"=>"Patsy", "lastname"=>"Robel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3570ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdf75a5735333c571f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf75a5735333c571f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2354ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf75a5735333c571f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2357ms
Redirected to http://test.host/clients/52fdf75a5735333c571f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c57200000'), "name"=>"Prince Satterfield", "reference"=>"Claud Adams DDS", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1667ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c57210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3487ms
Redirected to http://test.host/products/52fdf75a5735333c57210000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1707ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c57220000'), "name"=>"Miss Alexys Mann", "reference"=>"Roberto Becker", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3005ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1614ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fdf75a5735333c57220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf75a5735333c57220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2381ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf75a5735333c57220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2404ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1602ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c57230000'), "name"=>"Lura Schroeder DDS", "reference"=>"Mrs. Paige Champlin", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2434ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fdf75a5735333c57230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf75a5735333c57230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3388ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 6.4ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c57240000'), "name"=>"Mr. Catherine Little", "reference"=>"Sigrid Gaylord", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4188ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3666ms
Completed 200 OK in 7ms (Views: 6.1ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c57250000'), "name"=>"Mariah Schaden", "reference"=>"Caleb Von PhD", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3155ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c57260000'), "name"=>"Eric Wilderman", "reference"=>"Coby Barton Jr.", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3874ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fdf75a5735333c57260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf75a5735333c57260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2803ms
Completed 200 OK in 4ms (Views: 2.7ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c57270000'), "name"=>"Mya Keebler", "reference"=>"Eugenia Bins PhD", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4974ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdf75a5735333c57270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf75a5735333c57270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf75a5735333c57270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3267ms
Redirected to http://test.host/products/52fdf75a5735333c57270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c57280000'), "firstname"=>"Percy", "lastname"=>"Schoen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4431ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1835ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c57290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3550ms
Redirected to http://test.host/users/52fdf75a5735333c57290000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2330ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c572a0000'), "firstname"=>"Melany", "lastname"=>"Eichmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3259ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1766ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fdf75a5735333c572a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf75a5735333c572a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf75a5735333c572a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2551ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2192ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c572b0000'), "firstname"=>"Jasen", "lastname"=>"Halvorson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2953ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fdf75a5735333c572b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf75a5735333c572b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2249ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 7ms (Views: 6.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c572c0000'), "firstname"=>"Tony", "lastname"=>"Connelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4663ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms
Completed 200 OK in 6ms (Views: 5.9ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c572d0000'), "firstname"=>"Clarabelle", "lastname"=>"Huel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3223ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.4ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c572e0000'), "firstname"=>"Louie", "lastname"=>"Swaniawski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3939ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fdf75a5735333c572e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf75a5735333c572e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2541ms
Completed 200 OK in 4ms (Views: 2.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf75a5735333c572f0000'), "firstname"=>"Marisol", "lastname"=>"Keebler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3715ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdf75a5735333c572f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf75a5735333c572f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2771ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fdf75a5735333c572f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7376ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2967ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3140ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3133ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3189ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a000000'), "name"=>"Brisa Hagenes", "reference"=>"Keith Lehner", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4653ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1848ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4112ms
Redirected to http://test.host/admin/products/52fdf8205735333d5a010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1914ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a020000'), "name"=>"Freida Lowe", "reference"=>"Ariel Farrell", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3161ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1747ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fdf8205735333d5a020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3035ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3016ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2325ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a030000'), "name"=>"Vance Ortiz", "reference"=>"Ara Welch", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 8.6090ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fdf8205735333d5a030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3092ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 200 OK in 24ms (Views: 22.2ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a040000'), "name"=>"Rebekah Luettgen", "reference"=>"Jessika MacGyver", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4286ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3225ms
Completed 200 OK in 5ms (Views: 4.3ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a050000'), "name"=>"Ms. Charlene Schaden", "reference"=>"Horace Hoppe", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3199ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 5ms (Views: 4.1ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a060000'), "name"=>"Lulu Schuppe MD", "reference"=>"Haskell Franecki IV", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4801ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fdf8205735333d5a060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3673ms
Completed 200 OK in 4ms (Views: 2.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a070000'), "name"=>"Sonny Yost", "reference"=>"Nikko Hessel", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3911ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdf8205735333d5a070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2524ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3175ms
Redirected to http://test.host/admin/products/52fdf8205735333d5a070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a080000'), "firstname"=>"Alexandre", "lastname"=>"Smith"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3990ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1794ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3125ms
Redirected to http://test.host/admin/users/52fdf8205735333d5a090000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1903ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a0a0000'), "firstname"=>"Carol", "lastname"=>"Gibson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2982ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1711ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fdf8205735333d5a0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2975ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a0a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3034ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2473ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a0b0000'), "firstname"=>"Casimir", "lastname"=>"Jacobson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fdf8205735333d5a0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2913ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 5.7ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a0c0000'), "firstname"=>"Benjamin", "lastname"=>"McClure"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4043ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3130ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a0d0000'), "firstname"=>"Juwan", "lastname"=>"Okuneva"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a0e0000'), "firstname"=>"Geraldine", "lastname"=>"Jones"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3906ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fdf8205735333d5a0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3335ms
Completed 200 OK in 5ms (Views: 4.1ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a0f0000'), "firstname"=>"Stanton", "lastname"=>"Reinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdf8205735333d5a0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2773ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fdf8205735333d5a0f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a100000'), "firstname"=>"Bryana", "lastname"=>"Yost"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4445ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2014ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3856ms
Redirected to http://test.host/admin/clients/52fdf8205735333d5a110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3159ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a120000'), "firstname"=>"Ahmad", "lastname"=>"Hessel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4636ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2290ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdf8205735333d5a120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2983ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3480ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2348ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a130000'), "firstname"=>"Blake", "lastname"=>"Hegmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3004ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdf8205735333d5a130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2879ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 6.7ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a140000'), "firstname"=>"Juliet", "lastname"=>"Paucek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3984ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3207ms
Completed 200 OK in 5ms (Views: 4.4ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a150000'), "firstname"=>"Emilie", "lastname"=>"Pagac"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4324ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 5ms (Views: 4.2ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a160000'), "firstname"=>"Belle", "lastname"=>"Gerlach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4128ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdf8205735333d5a160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms
Completed 200 OK in 4ms (Views: 3.0ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a170000'), "firstname"=>"Deondre", "lastname"=>"Cormier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdf8205735333d5a170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2568ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3108ms
Redirected to http://test.host/admin/clients/52fdf8205735333d5a170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a180000'), "firstname"=>"Christelle", "lastname"=>"Spencer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4062ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3207ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4701ms
Redirected to http://test.host/clients/52fdf8205735333d5a190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2155ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a1a0000'), "firstname"=>"Kevin", "lastname"=>"Casper"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2193ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1528ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdf8205735333d5a1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2259ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a1a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2341ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1603ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a1b0000'), "firstname"=>"Nicole", "lastname"=>"Kub"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2252ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdf8205735333d5a1b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2764ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 5ms (Views: 4.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a1c0000'), "firstname"=>"Abe", "lastname"=>"Heaney"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3557ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3159ms
Completed 200 OK in 7ms (Views: 6.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a1d0000'), "firstname"=>"Raphael", "lastname"=>"Bosco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4112ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.2ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a1e0000'), "firstname"=>"Aurore", "lastname"=>"Haley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdf8205735333d5a1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms
Completed 200 OK in 3ms (Views: 1.9ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a1f0000'), "firstname"=>"Jo", "lastname"=>"Spencer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3143ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdf8205735333d5a1f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a1f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a1f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2784ms
Redirected to http://test.host/clients/52fdf8205735333d5a1f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a200000'), "name"=>"Dan Corwin", "reference"=>"Mr. Anabel O'Conner", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1872ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3614ms
Redirected to http://test.host/products/52fdf8205735333d5a210000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2222ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a220000'), "name"=>"Mr. Phyllis Schaefer", "reference"=>"Wilhelm Schmidt", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6703ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1849ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fdf8205735333d5a220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2601ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2959ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2250ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a230000'), "name"=>"Angel Blick", "reference"=>"Jovani O'Conner", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2563ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fdf8205735333d5a230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.2ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a240000'), "name"=>"Soledad Hagenes", "reference"=>"Ms. Thomas Schowalter", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3835ms
Completed 200 OK in 7ms (Views: 6.7ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a250000'), "name"=>"Dayana Ritchie", "reference"=>"Grant Treutel", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3843ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 5ms (Views: 4.1ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a260000'), "name"=>"Adrienne Kling", "reference"=>"Ms. Yazmin Prohaska", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4030ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fdf8205735333d5a260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2492ms
Completed 200 OK in 4ms (Views: 2.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a270000'), "name"=>"Hannah Hegmann PhD", "reference"=>"Favian Auer PhD", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3737ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdf8205735333d5a270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2842ms
Redirected to http://test.host/products/52fdf8205735333d5a270000
Completed 302 Found in 2ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a280000'), "firstname"=>"Amir", "lastname"=>"Langosh"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4107ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1778ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4331ms
Redirected to http://test.host/users/52fdf8205735333d5a290000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1886ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a2a0000'), "firstname"=>"Virginie", "lastname"=>"Johnson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2980ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1723ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fdf8205735333d5a2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2458ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a2a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2579ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1918ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a2b0000'), "firstname"=>"Hortense", "lastname"=>"Considine"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2302ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fdf8205735333d5a2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2407ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 6ms (Views: 5.3ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a2c0000'), "firstname"=>"Arvid", "lastname"=>"Schaden"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4320ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3644ms
Completed 200 OK in 7ms (Views: 6.1ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a2d0000'), "firstname"=>"Tyler", "lastname"=>"Hansen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4063ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.5ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a2e0000'), "firstname"=>"Hillard", "lastname"=>"Lehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3799ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fdf8205735333d5a2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2109ms
Completed 200 OK in 4ms (Views: 2.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdf8205735333d5a2f0000'), "firstname"=>"Keaton", "lastname"=>"Kessler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3837ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdf8205735333d5a2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdf8205735333d5a2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fdf8205735333d5a2f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6421ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3445ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3032ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3543ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdfe075735334450000000'), "name"=>"Mr. Noemy MacGyver", "reference"=>"Gilbert Wiegand II", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4613ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1821ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdfe075735334450010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3912ms
Redirected to http://test.host/admin/products/52fdfe075735334450010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1960ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdfe075735334450020000'), "name"=>"Kelsi Nicolas", "reference"=>"Kole Hackett", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3091ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1742ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fdfe075735334450020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdfe075735334450020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2936ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdfe075735334450020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3476ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2309ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdfe075735334450030000'), "name"=>"Mariane Leuschke V", "reference"=>"Dawson Stanton DVM", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3083ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fdfe075735334450030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdfe075735334450030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3058ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms)
Completed 500 Internal Server Error in 26ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdfe075735334450040000'), "name"=>"Dr. Abagail Baumbach", "reference"=>"Alexanne Cormier MD", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4213ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3224ms
Completed 500 Internal Server Error in 8ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdfe075735334450050000'), "name"=>"Preston Baumbach", "reference"=>"Hosea Reichert", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 500 Internal Server Error in 8ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdfe075735334450060000'), "name"=>"Savion Reinger", "reference"=>"Faustino Ondricka", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4384ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fdfe075735334450060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdfe075735334450060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2543ms
Completed 500 Internal Server Error in 37ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdfe075735334450070000'), "name"=>"Guy Gleichner", "reference"=>"Hilma Glover", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4166ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdfe075735334450070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdfe075735334450070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2583ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdfe075735334450070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3140ms
Redirected to http://test.host/admin/products/52fdfe075735334450070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdfe075735334450080000'), "firstname"=>"Hunter", "lastname"=>"Sipes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4148ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1848ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdfe075735334450090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3808ms
Redirected to http://test.host/admin/users/52fdfe075735334450090000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3665ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdfe0857353344500a0000'), "firstname"=>"Deron", "lastname"=>"Mayert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3900ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1968ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fdfe0857353344500a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdfe0857353344500a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2622ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdfe0857353344500a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1484ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdfe0857353344500b0000'), "firstname"=>"Haskell", "lastname"=>"Pouros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3101ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fdfe0857353344500b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdfe0857353344500b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2738ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 500 Internal Server Error in 11ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdfe0857353344500c0000'), "firstname"=>"Devyn", "lastname"=>"Wolf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4143ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4514ms
Completed 500 Internal Server Error in 9ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdfe0857353344500d0000'), "firstname"=>"Junius", "lastname"=>"Friesen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4180ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 7ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdfe0857353344500e0000'), "firstname"=>"Dax", "lastname"=>"Erdman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4335ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fdfe0857353344500e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdfe0857353344500e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2657ms
Completed 500 Internal Server Error in 7ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdfe0857353344500f0000'), "firstname"=>"Nina", "lastname"=>"Nikolaus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4624ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdfe0857353344500f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdfe0857353344500f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4592ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fdfe0857353344500f0000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdfe085735334450100000'), "firstname"=>"Micheal", "lastname"=>"Hermiston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4703ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1959ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdfe085735334450110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3349ms
Redirected to http://test.host/admin/clients/52fdfe085735334450110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1788ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdfe085735334450120000'), "firstname"=>"Elisha", "lastname"=>"Bergstrom"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4539ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1994ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdfe085735334450120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdfe085735334450120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3941ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdfe085735334450120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3199ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1991ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdfe085735334450130000'), "firstname"=>"Danny", "lastname"=>"Williamson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2473ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdfe085735334450130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdfe085735334450130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 500 Internal Server Error in 12ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdfe085735334450140000'), "firstname"=>"Vivianne", "lastname"=>"Becker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3354ms
Completed 500 Internal Server Error in 10ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdfe085735334450150000'), "firstname"=>"Hal", "lastname"=>"Mraz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4215ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 9ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdfe085735334450160000'), "firstname"=>"Louisa", "lastname"=>"Schroeder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4221ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdfe085735334450160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdfe085735334450160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2858ms
Completed 500 Internal Server Error in 8ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdfe085735334450170000'), "firstname"=>"Rafael", "lastname"=>"Pacocha"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0742ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdfe085735334450170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdfe085735334450170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3699ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdfe085735334450170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3767ms
Redirected to http://test.host/admin/clients/52fdfe085735334450170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdfe085735334450180000'), "firstname"=>"Cassie", "lastname"=>"Rempel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2704ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1781ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdfe085735334450190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3475ms
Redirected to http://test.host/clients/52fdfe085735334450190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1879ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdfe0857353344501a0000'), "firstname"=>"Melisa", "lastname"=>"Nienow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2389ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1722ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdfe0857353344501a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdfe0857353344501a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2392ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdfe0857353344501a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2528ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1973ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdfe0857353344501b0000'), "firstname"=>"Ignacio", "lastname"=>"Blanda"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2506ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdfe0857353344501b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdfe0857353344501b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2532ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 8ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdfe0857353344501c0000'), "firstname"=>"Micah", "lastname"=>"Mosciski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3984ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4134ms
Completed 500 Internal Server Error in 11ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdfe0857353344501d0000'), "firstname"=>"Makenzie", "lastname"=>"Weimann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3936ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 8ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdfe0857353344501e0000'), "firstname"=>"Dashawn", "lastname"=>"Lemke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4027ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdfe0857353344501e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdfe0857353344501e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms
Completed 500 Internal Server Error in 38ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdfe0857353344501f0000'), "firstname"=>"Doug", "lastname"=>"Schmeler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4207ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdfe0857353344501f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdfe0857353344501f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2764ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdfe0857353344501f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2915ms
Redirected to http://test.host/clients/52fdfe0857353344501f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdfe085735334450200000'), "name"=>"Victoria Howe", "reference"=>"Miss Delpha Littel", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8588ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1858ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4747ms
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdfe085735334450210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3065ms
Redirected to http://test.host/products/52fdfe085735334450210000
Completed 302 Found in 16ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2140ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdfe085735334450220000'), "name"=>"Kyla Bins", "reference"=>"Vernice Strosin", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1794ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fdfe085735334450220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdfe085735334450220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2616ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdfe085735334450220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2656ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1842ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdfe085735334450230000'), "name"=>"Nicole Schamberger", "reference"=>"Domingo Dooley", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fdfe085735334450230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdfe085735334450230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2899ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2384ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 500 Internal Server Error in 13ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdfe085735334450240000'), "name"=>"Andrew Hayes", "reference"=>"Rocky Prosacco", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4079ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4357ms
Completed 500 Internal Server Error in 11ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdfe085735334450250000'), "name"=>"Clemmie Schmeler PhD", "reference"=>"Alta Fay", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3962ms
Processing by ProductsController#new as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2563ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 500 Internal Server Error in 9ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdfe085735334450260000'), "name"=>"Camryn Lesch", "reference"=>"Sammy Pollich", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3973ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fdfe085735334450260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdfe085735334450260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2270ms
Completed 500 Internal Server Error in 8ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdfe085735334450270000'), "name"=>"Elvis Sawayn", "reference"=>"Mrs. Heaven Marks", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4017ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdfe085735334450270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdfe085735334450270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2318ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1593ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdfe085735334450270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2581ms
Redirected to http://test.host/products/52fdfe085735334450270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdfe085735334450280000'), "firstname"=>"Ayden", "lastname"=>"Murazik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3897ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1595ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdfe085735334450290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4017ms
Redirected to http://test.host/users/52fdfe085735334450290000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1899ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdfe0857353344502a0000'), "firstname"=>"Gerhard", "lastname"=>"Kihn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2973ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1603ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fdfe0857353344502a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdfe0857353344502a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdfe0857353344502a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2515ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2390ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdfe0857353344502b0000'), "firstname"=>"Lorenzo", "lastname"=>"Volkman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3616ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fdfe0857353344502b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdfe0857353344502b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 500 Internal Server Error in 11ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdfe0857353344502c0000'), "firstname"=>"Melvina", "lastname"=>"Hane"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4023ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3424ms
Completed 500 Internal Server Error in 10ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdfe0857353344502d0000'), "firstname"=>"Janae", "lastname"=>"Pollich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4065ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 8ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdfe0857353344502e0000'), "firstname"=>"Theo", "lastname"=>"Harvey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4462ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fdfe0857353344502e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdfe0857353344502e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2672ms
Completed 500 Internal Server Error in 7ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdfe0857353344502f0000'), "firstname"=>"Sherwood", "lastname"=>"Beer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4153ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdfe0857353344502f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdfe0857353344502f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fdfe0857353344502f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6327ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3178ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2725ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2688ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6997ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.7524ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2125ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1727ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2629ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6259ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3472ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2629ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2415ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2354ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6314ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2947ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2153ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1656ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1830ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7364ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3557ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2355ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2415ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2877ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdffc05735334576000000'), "name"=>"Mazie Batz", "reference"=>"Iliana Herzog", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4719ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1815ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdffc05735334576010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4255ms
Redirected to http://test.host/admin/products/52fdffc05735334576010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1911ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdffc05735334576020000'), "name"=>"Evelyn Monahan", "reference"=>"Rachelle White II", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3222ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1776ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fdffc05735334576020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdffc05735334576020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3025ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdffc05735334576020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3493ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2307ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdffc05735334576030000'), "name"=>"Lincoln Pacocha", "reference"=>"Denis Carroll", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2964ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fdffc05735334576030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdffc05735334576030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2997ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms)
Completed 500 Internal Server Error in 22ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576040000'), "name"=>"Cecelia Volkman", "reference"=>"Michale Kerluke", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4342ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms
Completed 500 Internal Server Error in 8ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576050000'), "name"=>"Amanda Rogahn", "reference"=>"Vincenza Stracke", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4204ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 500 Internal Server Error in 8ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576060000'), "name"=>"Naomi West", "reference"=>"Bernadine Lynch", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4679ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fdffc15735334576060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdffc15735334576060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4264ms
Completed 500 Internal Server Error in 9ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576070000'), "name"=>"Adelia O'Connell", "reference"=>"Joe Abernathy", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4441ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdffc15735334576070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdffc15735334576070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2734ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdffc15735334576070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3245ms
Redirected to http://test.host/admin/products/52fdffc15735334576070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576080000'), "firstname"=>"Marcella", "lastname"=>"Hartmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4317ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1910ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3303ms
Redirected to http://test.host/admin/users/52fdffc15735334576090000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1907ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdffc157353345760a0000'), "firstname"=>"Linda", "lastname"=>"Champlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3808ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2005ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fdffc157353345760a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdffc157353345760a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3418ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdffc157353345760a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2947ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1731ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdffc157353345760b0000'), "firstname"=>"Casandra", "lastname"=>"Quitzon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2353ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fdffc157353345760b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdffc157353345760b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2378ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 500 Internal Server Error in 10ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdffc157353345760c0000'), "firstname"=>"Quinten", "lastname"=>"Nader"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3973ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3008ms
Completed 500 Internal Server Error in 8ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdffc157353345760d0000'), "firstname"=>"Maureen", "lastname"=>"Wiegand"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4537ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 7ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdffc157353345760e0000'), "firstname"=>"Issac", "lastname"=>"Feest"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4438ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fdffc157353345760e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdffc157353345760e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2993ms
Completed 500 Internal Server Error in 7ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdffc157353345760f0000'), "firstname"=>"Darrel", "lastname"=>"McCullough"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4084ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdffc157353345760f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdffc157353345760f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fdffc157353345760f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576100000'), "firstname"=>"Brody", "lastname"=>"Moore"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4716ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1827ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4285ms
Redirected to http://test.host/admin/clients/52fdffc15735334576110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1943ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576120000'), "firstname"=>"Sherman", "lastname"=>"Bailey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3058ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1820ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdffc15735334576120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdffc15735334576120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4041ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdffc15735334576120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4878ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2479ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576130000'), "firstname"=>"Josefa", "lastname"=>"Shanahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2872ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdffc15735334576130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdffc15735334576130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2578ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 500 Internal Server Error in 12ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576140000'), "firstname"=>"Kole", "lastname"=>"Weber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4383ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3286ms
Completed 500 Internal Server Error in 10ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576150000'), "firstname"=>"Christ", "lastname"=>"Ritchie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4521ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 9ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576160000'), "firstname"=>"Daren", "lastname"=>"Blanda"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4132ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdffc15735334576160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdffc15735334576160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2621ms
Completed 500 Internal Server Error in 8ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576170000'), "firstname"=>"Declan", "lastname"=>"Erdman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4022ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdffc15735334576170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdffc15735334576170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2829ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdffc15735334576170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4838ms
Redirected to http://test.host/admin/clients/52fdffc15735334576170000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576180000'), "firstname"=>"Molly", "lastname"=>"Maggio"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3541ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1581ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2922ms
Redirected to http://test.host/clients/52fdffc15735334576190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1646ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdffc157353345761a0000'), "firstname"=>"Hermann", "lastname"=>"Gerhold"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2124ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1489ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fdffc157353345761a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdffc157353345761a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2320ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdffc157353345761a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2842ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1897ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdffc157353345761b0000'), "firstname"=>"Jennyfer", "lastname"=>"Marquardt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2561ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fdffc157353345761b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdffc157353345761b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2242ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 8ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdffc157353345761c0000'), "firstname"=>"Marcella", "lastname"=>"Mann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4541ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4584ms
Completed 500 Internal Server Error in 11ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdffc157353345761d0000'), "firstname"=>"Blanche", "lastname"=>"Hayes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4125ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 8ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdffc157353345761e0000'), "firstname"=>"Zander", "lastname"=>"Fadel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4207ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fdffc157353345761e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdffc157353345761e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms
Completed 500 Internal Server Error in 40ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fdffc157353345761f0000'), "firstname"=>"Jeromy", "lastname"=>"Lebsack"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4836ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fdffc157353345761f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdffc157353345761f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3287ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fdffc157353345761f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3408ms
Redirected to http://test.host/clients/52fdffc157353345761f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576200000'), "name"=>"Rupert Ratke PhD", "reference"=>"Miss Morgan Leannon", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4652ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1843ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4583ms
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3169ms
Redirected to http://test.host/products/52fdffc15735334576210000
Completed 302 Found in 16ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2062ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576220000'), "name"=>"Rhett Murray", "reference"=>"Zachary Sauer", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3070ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1699ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fdffc15735334576220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdffc15735334576220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2793ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdffc15735334576220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3088ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2303ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576230000'), "name"=>"Tia Aufderhar", "reference"=>"Savanah Simonis", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2562ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fdffc15735334576230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdffc15735334576230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3025ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2504ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 500 Internal Server Error in 13ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576240000'), "name"=>"Adeline Torphy", "reference"=>"Cleve McKenzie", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4464ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3724ms
Completed 500 Internal Server Error in 10ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576250000'), "name"=>"Greta Hintz", "reference"=>"Berry Barton", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4508ms
Processing by ProductsController#new as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 500 Internal Server Error in 9ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576260000'), "name"=>"Anna Bergnaum", "reference"=>"Dr. Camille Jacobi", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5395ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fdffc15735334576260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdffc15735334576260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3032ms
Completed 500 Internal Server Error in 7ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576270000'), "name"=>"Merritt Schmeler", "reference"=>"Armani McLaughlin", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4067ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fdffc15735334576270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdffc15735334576270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1687ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fdffc15735334576270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2793ms
Redirected to http://test.host/products/52fdffc15735334576270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576280000'), "firstname"=>"Coleman", "lastname"=>"Kihn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4334ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1851ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdffc15735334576290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms
Redirected to http://test.host/users/52fdffc15735334576290000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1953ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdffc157353345762a0000'), "firstname"=>"Kavon", "lastname"=>"Friesen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3219ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1812ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fdffc157353345762a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdffc157353345762a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdffc157353345762a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2818ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1852ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdffc157353345762b0000'), "firstname"=>"Mayra", "lastname"=>"Gaylord"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2523ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fdffc157353345762b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdffc157353345762b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2574ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 500 Internal Server Error in 10ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdffc157353345762c0000'), "firstname"=>"Chadrick", "lastname"=>"Cummings"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4198ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3535ms
Completed 500 Internal Server Error in 11ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdffc157353345762d0000'), "firstname"=>"Johnson", "lastname"=>"Swift"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4136ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 7ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdffc157353345762e0000'), "firstname"=>"Helena", "lastname"=>"Anderson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4107ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fdffc157353345762e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdffc157353345762e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2520ms
Completed 500 Internal Server Error in 7ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fdffc157353345762f0000'), "firstname"=>"Anya", "lastname"=>"Reinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fdffc157353345762f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fdffc157353345762f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3784ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fdffc157353345762f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6551ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3108ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3169ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2741ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2861ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626000000'), "name"=>"Adolfo Bernhard", "reference"=>"Shemar Schulist", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4971ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2275ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3657ms
Redirected to http://test.host/admin/products/52fe027a5735334626010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2002ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626020000'), "name"=>"Maurine Funk", "reference"=>"Carmine Connelly", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3326ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1972ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe027a5735334626020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe027a5735334626020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2940ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe027a5735334626020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3672ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2390ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626030000'), "name"=>"Keith Larkin I", "reference"=>"Alexandro Reilly DDS", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2952ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe027a5735334626030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe027a5735334626030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2815ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 500 Internal Server Error in 26ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626040000'), "name"=>"Adonis Welch", "reference"=>"Mr. Claire Reichel", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5130ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3274ms
Completed 500 Internal Server Error in 9ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626050000'), "name"=>"Janae Cummings DDS", "reference"=>"Una Mann", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3984ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 500 Internal Server Error in 9ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626060000'), "name"=>"Westley Hermann", "reference"=>"Ward Heaney IV", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4607ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe027a5735334626060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe027a5735334626060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2882ms
Completed 500 Internal Server Error in 39ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626070000'), "name"=>"Van Oberbrunner V", "reference"=>"Dr. Alycia Turner", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4492ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe027a5735334626070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe027a5735334626070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2845ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe027a5735334626070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3747ms
Redirected to http://test.host/admin/products/52fe027a5735334626070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626080000'), "firstname"=>"Kavon", "lastname"=>"Schimmel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5728ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2459ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3600ms
Redirected to http://test.host/admin/users/52fe027a5735334626090000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2328ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe027a57353346260a0000'), "firstname"=>"Eloy", "lastname"=>"Cole"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3307ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1992ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe027a57353346260a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe027a57353346260a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe027a57353346260a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3188ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2315ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe027a57353346260b0000'), "firstname"=>"Abdullah", "lastname"=>"Greenholt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2688ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe027a57353346260b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe027a57353346260b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2583ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 500 Internal Server Error in 11ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe027a57353346260c0000'), "firstname"=>"Arvel", "lastname"=>"Smitham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5451ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3228ms
Completed 500 Internal Server Error in 9ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe027a57353346260d0000'), "firstname"=>"Cleta", "lastname"=>"Pagac"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3871ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 7ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe027a57353346260e0000'), "firstname"=>"Jamar", "lastname"=>"Doyle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe027a57353346260e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe027a57353346260e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2853ms
Completed 500 Internal Server Error in 9ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe027a57353346260f0000'), "firstname"=>"Susana", "lastname"=>"Wuckert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4556ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe027a57353346260f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe027a57353346260f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2793ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe027a57353346260f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626100000'), "firstname"=>"Perry", "lastname"=>"Beahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5264ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2414ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3477ms
Redirected to http://test.host/admin/clients/52fe027a5735334626110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.4168ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626120000'), "firstname"=>"Yvette", "lastname"=>"Olson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3174ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2670ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe027a5735334626120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe027a5735334626120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3165ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe027a5735334626120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3889ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2532ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626130000'), "firstname"=>"Aaliyah", "lastname"=>"Bahringer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3390ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe027a5735334626130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe027a5735334626130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2511ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 500 Internal Server Error in 13ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626140000'), "firstname"=>"Kaylin", "lastname"=>"Lakin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4180ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4215ms
Completed 500 Internal Server Error in 11ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626150000'), "firstname"=>"Annabelle", "lastname"=>"Durgan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4001ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 9ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626160000'), "firstname"=>"Elian", "lastname"=>"Goldner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe027a5735334626160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe027a5735334626160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2745ms
Completed 500 Internal Server Error in 9ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626170000'), "firstname"=>"Francis", "lastname"=>"Kihn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4519ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe027a5735334626170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe027a5735334626170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2827ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe027a5735334626170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3700ms
Redirected to http://test.host/admin/clients/52fe027a5735334626170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626180000'), "firstname"=>"Maritza", "lastname"=>"Emard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2683ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1992ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms
Redirected to http://test.host/clients/52fe027a5735334626190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2234ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe027a57353346261a0000'), "firstname"=>"Cindy", "lastname"=>"Wiza"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2367ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1645ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe027a57353346261a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe027a57353346261a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2219ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe027a57353346261a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2415ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1654ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe027a57353346261b0000'), "firstname"=>"Ariane", "lastname"=>"Gutmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2199ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe027a57353346261b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe027a57353346261b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 500 Internal Server Error in 9ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe027a57353346261c0000'), "firstname"=>"Kristopher", "lastname"=>"Kris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5126ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3692ms
Completed 500 Internal Server Error in 11ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe027a57353346261d0000'), "firstname"=>"Carmella", "lastname"=>"Gaylord"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4393ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 500 Internal Server Error in 8ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe027a57353346261e0000'), "firstname"=>"Kianna", "lastname"=>"Heathcote"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6412ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe027a57353346261e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe027a57353346261e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2805ms
Completed 500 Internal Server Error in 41ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe027a57353346261f0000'), "firstname"=>"Kaitlin", "lastname"=>"Reichert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4911ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe027a57353346261f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe027a57353346261f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3016ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe027a57353346261f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3328ms
Redirected to http://test.host/clients/52fe027a57353346261f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626200000'), "name"=>"William Roberts", "reference"=>"Elza Rogahn PhD", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4315ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2842ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4561ms
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms
Redirected to http://test.host/products/52fe027a5735334626210000
Completed 302 Found in 16ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2180ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626220000'), "name"=>"Miss Alexandria Gaylord", "reference"=>"River Rutherford V", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3297ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2273ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe027a5735334626220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe027a5735334626220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2685ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe027a5735334626220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2837ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1544ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626230000'), "name"=>"Wilber Mayert", "reference"=>"Amparo Greenfelder", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2920ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe027a5735334626230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe027a5735334626230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4618ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3153ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 500 Internal Server Error in 15ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626240000'), "name"=>"Sim Okuneva", "reference"=>"Maude Graham", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4232ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms
Completed 500 Internal Server Error in 10ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626250000'), "name"=>"Mr. Amy Larkin", "reference"=>"Adah Ferry", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5095ms
Processing by ProductsController#new as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2738ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 500 Internal Server Error in 9ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626260000'), "name"=>"Katelyn Rice PhD", "reference"=>"General Vandervort", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3954ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe027a5735334626260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe027a5735334626260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2682ms
Completed 500 Internal Server Error in 7ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626270000'), "name"=>"Audreanne Abernathy", "reference"=>"Elvis Pagac", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4499ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe027a5735334626270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe027a5735334626270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4213ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3261ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe027a5735334626270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4140ms
Redirected to http://test.host/products/52fe027a5735334626270000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626280000'), "firstname"=>"Irving", "lastname"=>"Jakubowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 29.9796ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3024ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe027a5735334626290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3584ms
Redirected to http://test.host/users/52fe027a5735334626290000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2206ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe027a57353346262a0000'), "firstname"=>"Percy", "lastname"=>"Lemke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9615ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2500ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe027a57353346262a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe027a57353346262a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3431ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe027a57353346262a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3151ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2515ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe027a57353346262b0000'), "firstname"=>"Ron", "lastname"=>"Schuppe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4332ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe027a57353346262b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe027a57353346262b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3568ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 500 Internal Server Error in 12ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe027a57353346262c0000'), "firstname"=>"Jayme", "lastname"=>"Thompson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4109ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3577ms
Completed 500 Internal Server Error in 10ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe027a57353346262d0000'), "firstname"=>"Donato", "lastname"=>"Frami"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4903ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 8ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe027a57353346262e0000'), "firstname"=>"Stephan", "lastname"=>"Hermiston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe027a57353346262e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe027a57353346262e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2754ms
Completed 500 Internal Server Error in 7ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe027a57353346262f0000'), "firstname"=>"Lawrence", "lastname"=>"Connelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3954ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe027a57353346262f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe027a57353346262f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2841ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe027a57353346262f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6262ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2957ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2446ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2419ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe02f35735334653000000'), "name"=>"Alia Lind", "reference"=>"Lilliana Predovic PhD", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5012ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2197ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe02f35735334653010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4371ms
Redirected to http://test.host/admin/products/52fe02f35735334653010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2439ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe02f35735334653020000'), "name"=>"Florida Funk V", "reference"=>"Otto Stanton", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3586ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2251ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe02f35735334653020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe02f35735334653020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2937ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe02f35735334653020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3446ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2253ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe02f35735334653030000'), "name"=>"Adolph Windler", "reference"=>"Sarina Smith", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2998ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe02f35735334653030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe02f35735334653030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3008ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.3ms)
Completed 500 Internal Server Error in 23ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653040000'), "name"=>"Mrs. Carmine Ferry", "reference"=>"Thalia Cummerata", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4841ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3329ms
Completed 500 Internal Server Error in 8ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653050000'), "name"=>"Arno Douglas", "reference"=>"Sim Pfannerstill", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4235ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 500 Internal Server Error in 8ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653060000'), "name"=>"Lauren Koepp", "reference"=>"Jarrell Reichert PhD", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 30.0719ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe02f45735334653060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe02f45735334653060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3605ms
Completed 500 Internal Server Error in 8ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653070000'), "name"=>"Macey DuBuque", "reference"=>"Helene Zboncak", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4274ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe02f45735334653070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe02f45735334653070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2616ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe02f45735334653070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3214ms
Redirected to http://test.host/admin/products/52fe02f45735334653070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653080000'), "firstname"=>"Esther", "lastname"=>"Dach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4157ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1812ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3690ms
Redirected to http://test.host/admin/users/52fe02f45735334653090000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2115ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe02f457353346530a0000'), "firstname"=>"Annamarie", "lastname"=>"Zieme"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0499ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1902ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe02f457353346530a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe02f457353346530a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3146ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe02f457353346530a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3549ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2343ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe02f457353346530b0000'), "firstname"=>"Rhoda", "lastname"=>"Ward"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3044ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe02f457353346530b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe02f457353346530b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2989ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 500 Internal Server Error in 11ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe02f457353346530c0000'), "firstname"=>"Jordon", "lastname"=>"Kreiger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4442ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3737ms
Completed 500 Internal Server Error in 9ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe02f457353346530d0000'), "firstname"=>"Raphaelle", "lastname"=>"Johnston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4321ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 8ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe02f457353346530e0000'), "firstname"=>"Myrtis", "lastname"=>"McKenzie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4685ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe02f457353346530e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe02f457353346530e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2544ms
Completed 500 Internal Server Error in 7ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe02f457353346530f0000'), "firstname"=>"Meghan", "lastname"=>"Green"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4408ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe02f457353346530f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe02f457353346530f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe02f457353346530f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653100000'), "firstname"=>"Darrion", "lastname"=>"Hahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4582ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2050ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4286ms
Redirected to http://test.host/admin/clients/52fe02f45735334653110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2368ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653120000'), "firstname"=>"Myrtle", "lastname"=>"Steuber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3498ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2353ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe02f45735334653120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe02f45735334653120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3348ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe02f45735334653120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3542ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2506ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653130000'), "firstname"=>"Claudia", "lastname"=>"Toy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2853ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe02f45735334653130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe02f45735334653130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2619ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 500 Internal Server Error in 12ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653140000'), "firstname"=>"Estell", "lastname"=>"Boyer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4153ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4246ms
Completed 500 Internal Server Error in 10ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653150000'), "firstname"=>"Kadin", "lastname"=>"Borer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4487ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 8ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653160000'), "firstname"=>"Jermey", "lastname"=>"Ledner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4238ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe02f45735334653160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe02f45735334653160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms
Completed 500 Internal Server Error in 8ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653170000'), "firstname"=>"Kiarra", "lastname"=>"Larson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4472ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe02f45735334653170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe02f45735334653170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe02f45735334653170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3019ms
Redirected to http://test.host/admin/clients/52fe02f45735334653170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653180000'), "firstname"=>"Kaleigh", "lastname"=>"McLaughlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2708ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1792ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2932ms
Redirected to http://test.host/clients/52fe02f45735334653190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1856ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe02f457353346531a0000'), "firstname"=>"Derick", "lastname"=>"Grady"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2339ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1700ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe02f457353346531a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe02f457353346531a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2425ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe02f457353346531a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2532ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1763ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe02f457353346531b0000'), "firstname"=>"Corbin", "lastname"=>"Morissette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2414ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe02f457353346531b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe02f457353346531b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2427ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 8ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe02f457353346531c0000'), "firstname"=>"Carole", "lastname"=>"Dare"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4708ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4102ms
Completed 500 Internal Server Error in 11ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe02f457353346531d0000'), "firstname"=>"Raleigh", "lastname"=>"Okuneva"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4248ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 8ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe02f457353346531e0000'), "firstname"=>"Jasmin", "lastname"=>"Gulgowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4127ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe02f457353346531e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe02f457353346531e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2767ms
Completed 500 Internal Server Error in 39ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe02f457353346531f0000'), "firstname"=>"Nellie", "lastname"=>"Bogan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4138ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe02f457353346531f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe02f457353346531f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2895ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe02f457353346531f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3048ms
Redirected to http://test.host/clients/52fe02f457353346531f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653200000'), "name"=>"Patricia Schulist", "reference"=>"Myah Marvin", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4181ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1675ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4999ms
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4165ms
Redirected to http://test.host/products/52fe02f45735334653210000
Completed 302 Found in 16ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2387ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653220000'), "name"=>"Kathryn Crooks", "reference"=>"Gaetano Daugherty MD", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2274ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe02f45735334653220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe02f45735334653220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2813ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe02f45735334653220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2860ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1975ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653230000'), "name"=>"Ms. Caroline Cruickshank", "reference"=>"Hector Fay IV", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3004ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe02f45735334653230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe02f45735334653230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2624ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2505ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 500 Internal Server Error in 13ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653240000'), "name"=>"Marques Rempel", "reference"=>"Doris Metz", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4076ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4168ms
Completed 500 Internal Server Error in 10ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653250000'), "name"=>"Meaghan Hoppe", "reference"=>"Dr. Philip Durgan", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4426ms
Processing by ProductsController#new as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 500 Internal Server Error in 9ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653260000'), "name"=>"Lawrence Johnston", "reference"=>"Mrs. Johathan Tromp", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4111ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe02f45735334653260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe02f45735334653260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2857ms
Completed 500 Internal Server Error in 8ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653270000'), "name"=>"Angie Stark", "reference"=>"Erick McClure", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4159ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe02f45735334653270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe02f45735334653270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1670ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe02f45735334653270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2777ms
Redirected to http://test.host/products/52fe02f45735334653270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653280000'), "firstname"=>"Russel", "lastname"=>"Berge"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4387ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1844ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe02f45735334653290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3376ms
Redirected to http://test.host/users/52fe02f45735334653290000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2139ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe02f457353346532a0000'), "firstname"=>"Ricky", "lastname"=>"Pollich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3296ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1797ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe02f457353346532a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe02f457353346532a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2927ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe02f457353346532a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2676ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2359ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe02f457353346532b0000'), "firstname"=>"Gardner", "lastname"=>"Mills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0377ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe02f457353346532b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe02f457353346532b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2894ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 500 Internal Server Error in 11ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe02f457353346532c0000'), "firstname"=>"Francisca", "lastname"=>"Runte"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4343ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3658ms
Completed 500 Internal Server Error in 11ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe02f457353346532d0000'), "firstname"=>"Herbert", "lastname"=>"Greenfelder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4401ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 7ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe02f457353346532e0000'), "firstname"=>"Shanel", "lastname"=>"Runte"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4187ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe02f457353346532e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe02f457353346532e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms
Completed 500 Internal Server Error in 7ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe02f457353346532f0000'), "firstname"=>"Randal", "lastname"=>"Botsford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe02f457353346532f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe02f457353346532f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2932ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe02f457353346532f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6132ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2911ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3026ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3145ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3188ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1000000'), "name"=>"Dana Luettgen DVM", "reference"=>"Clifford O'Conner", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4557ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1812ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3797ms
Redirected to http://test.host/admin/products/52fe049057353346d1010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1901ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1020000'), "name"=>"Jazlyn Brekke", "reference"=>"Eusebio Kub", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3228ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1365ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe049057353346d1020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe049057353346d1020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2519ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe049057353346d1020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2990ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1845ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1030000'), "name"=>"Ms. Sheila Rodriguez", "reference"=>"Marisol Deckow", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2706ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe049057353346d1030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe049057353346d1030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2433ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.3ms)
Completed 500 Internal Server Error in 24ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1040000'), "name"=>"Wilfredo Schmitt", "reference"=>"Rollin Koss", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4373ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3266ms
Completed 500 Internal Server Error in 10ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1050000'), "name"=>"Genesis Willms", "reference"=>"Tierra Howe II", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4171ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 500 Internal Server Error in 39ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1060000'), "name"=>"Donnie Fadel", "reference"=>"Ms. Alisa Weber", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4223ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe049057353346d1060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe049057353346d1060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms
Completed 500 Internal Server Error in 9ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1070000'), "name"=>"Jasmin Pacocha", "reference"=>"Missouri Cremin MD", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4510ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe049057353346d1070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe049057353346d1070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2768ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe049057353346d1070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3291ms
Redirected to http://test.host/admin/products/52fe049057353346d1070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1080000'), "firstname"=>"Sigurd", "lastname"=>"Cummings"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4503ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2039ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4252ms
Redirected to http://test.host/admin/users/52fe049057353346d1090000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1998ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe049057353346d10a0000'), "firstname"=>"Abbigail", "lastname"=>"Welch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1088ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2288ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe049057353346d10a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe049057353346d10a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe049057353346d10a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3515ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2345ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe049057353346d10b0000'), "firstname"=>"Alexandro", "lastname"=>"Effertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3021ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe049057353346d10b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe049057353346d10b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 500 Internal Server Error in 12ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe049057353346d10c0000'), "firstname"=>"Juvenal", "lastname"=>"Pfeffer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4927ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3301ms
Completed 500 Internal Server Error in 10ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe049057353346d10d0000'), "firstname"=>"Cornell", "lastname"=>"VonRueden"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 9ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe049057353346d10e0000'), "firstname"=>"Price", "lastname"=>"Rice"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4731ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe049057353346d10e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe049057353346d10e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3593ms
Completed 500 Internal Server Error in 9ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe049057353346d10f0000'), "firstname"=>"Martine", "lastname"=>"Hilll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4112ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe049057353346d10f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe049057353346d10f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2471ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe049057353346d10f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1100000'), "firstname"=>"Shea", "lastname"=>"Quitzon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4609ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1897ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3608ms
Redirected to http://test.host/admin/clients/52fe049057353346d1110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2083ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1120000'), "firstname"=>"Verona", "lastname"=>"Ferry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3671ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1651ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe049057353346d1120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe049057353346d1120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2427ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe049057353346d1120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2826ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1735ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1130000'), "firstname"=>"Darrell", "lastname"=>"Corwin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2811ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe049057353346d1130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe049057353346d1130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 500 Internal Server Error in 13ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1140000'), "firstname"=>"Bernice", "lastname"=>"Herzog"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4187ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms
Completed 500 Internal Server Error in 11ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1150000'), "firstname"=>"Tyrique", "lastname"=>"Cronin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4070ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 10ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1160000'), "firstname"=>"Linnie", "lastname"=>"Romaguera"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe049057353346d1160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe049057353346d1160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms
Completed 500 Internal Server Error in 10ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1170000'), "firstname"=>"Dasia", "lastname"=>"Cremin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe049057353346d1170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe049057353346d1170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2393ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe049057353346d1170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2944ms
Redirected to http://test.host/admin/clients/52fe049057353346d1170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1180000'), "firstname"=>"Stanton", "lastname"=>"Moore"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2832ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1768ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2930ms
Redirected to http://test.host/clients/52fe049057353346d1190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1810ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe049057353346d11a0000'), "firstname"=>"Annamae", "lastname"=>"Haag"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1692ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe049057353346d11a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe049057353346d11a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2329ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe049057353346d11a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2578ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1765ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe049057353346d11b0000'), "firstname"=>"Chaz", "lastname"=>"Green"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2389ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe049057353346d11b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe049057353346d11b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2103ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 500 Internal Server Error in 10ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe049057353346d11c0000'), "firstname"=>"Cindy", "lastname"=>"Dicki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4324ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms
Completed 500 Internal Server Error in 12ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe049057353346d11d0000'), "firstname"=>"Rene", "lastname"=>"Kozey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4161ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.4ms)
Completed 500 Internal Server Error in 42ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe049057353346d11e0000'), "firstname"=>"Winnifred", "lastname"=>"Bosco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4427ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe049057353346d11e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe049057353346d11e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms
Completed 500 Internal Server Error in 9ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe049057353346d11f0000'), "firstname"=>"Joanne", "lastname"=>"McGlynn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4214ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe049057353346d11f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe049057353346d11f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2254ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe049057353346d11f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2857ms
Redirected to http://test.host/clients/52fe049057353346d11f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1200000'), "name"=>"Olen Zieme", "reference"=>"Willow Little", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4135ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1822ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4861ms
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3236ms
Redirected to http://test.host/products/52fe049057353346d1210000
Completed 302 Found in 17ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1892ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1220000'), "name"=>"Delilah Boyle", "reference"=>"Kirstin Greenholt IV", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3148ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1786ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe049057353346d1220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe049057353346d1220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe049057353346d1220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2551ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1785ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1230000'), "name"=>"May Pfannerstill Sr.", "reference"=>"Brenda Langosh MD", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2475ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe049057353346d1230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe049057353346d1230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2850ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms)
Completed 500 Internal Server Error in 15ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1240000'), "name"=>"Elmore Bergnaum", "reference"=>"Lincoln Howe", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4689ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3462ms
Completed 500 Internal Server Error in 11ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1250000'), "name"=>"Ashly Maggio", "reference"=>"Lizzie Brakus", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4098ms
Processing by ProductsController#new as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3274ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 500 Internal Server Error in 11ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1260000'), "name"=>"Rosamond Steuber", "reference"=>"Edd Maggio", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4460ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe049057353346d1260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe049057353346d1260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2679ms
Completed 500 Internal Server Error in 9ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe049057353346d1270000'), "name"=>"Antonette Ferry", "reference"=>"Roman Kunze", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4508ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe049057353346d1270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe049057353346d1270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 30.2603ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe049057353346d1270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2734ms
Redirected to http://test.host/products/52fe049057353346d1270000
Completed 302 Found in 35ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe049157353346d1280000'), "firstname"=>"Vernie", "lastname"=>"Wiza"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4854ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2726ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe049157353346d1290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3525ms
Redirected to http://test.host/users/52fe049157353346d1290000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2282ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe049157353346d12a0000'), "firstname"=>"Saul", "lastname"=>"Tillman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3416ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2317ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe049157353346d12a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe049157353346d12a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3014ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe049157353346d12a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3034ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2094ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe049157353346d12b0000'), "firstname"=>"Daphne", "lastname"=>"Toy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2616ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe049157353346d12b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe049157353346d12b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2944ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 500 Internal Server Error in 13ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe049157353346d12c0000'), "firstname"=>"Dario", "lastname"=>"Dare"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4626ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3612ms
Completed 500 Internal Server Error in 11ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe049157353346d12d0000'), "firstname"=>"Reece", "lastname"=>"Dietrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4069ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 9ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe049157353346d12e0000'), "firstname"=>"Maribel", "lastname"=>"Gleason"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4157ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe049157353346d12e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe049157353346d12e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms
Completed 500 Internal Server Error in 9ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe049157353346d12f0000'), "firstname"=>"Josiah", "lastname"=>"Spinka"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4060ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe049157353346d12f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe049157353346d12f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe049157353346d12f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6189ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3000ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2768ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2412ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2732ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713000000'), "name"=>"Neil Rodriguez", "reference"=>"Harry Morar", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4622ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1831ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3762ms
Redirected to http://test.host/admin/products/52fe04d25735334713010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1897ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713020000'), "name"=>"Noel Funk", "reference"=>"Gage Donnelly", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1773ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe04d25735334713020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe04d25735334713020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2742ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe04d25735334713020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3429ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2325ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713030000'), "name"=>"Kyle Crist V", "reference"=>"Florence Hane", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3057ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe04d25735334713030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe04d25735334713030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3154ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms)
Completed 500 Internal Server Error in 24ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713040000'), "name"=>"Ms. Geoffrey Ruecker", "reference"=>"Magnus Homenick", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4604ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3306ms
Completed 500 Internal Server Error in 10ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713050000'), "name"=>"Tianna Gulgowski", "reference"=>"Meghan Vandervort", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4116ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 500 Internal Server Error in 39ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713060000'), "name"=>"Easton O'Keefe", "reference"=>"Mr. Rasheed O'Conner", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4274ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe04d25735334713060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe04d25735334713060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms
Completed 500 Internal Server Error in 9ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713070000'), "name"=>"Jayce Parisian", "reference"=>"Joanny Ward", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4241ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe04d25735334713070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe04d25735334713070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2594ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe04d25735334713070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3208ms
Redirected to http://test.host/admin/products/52fe04d25735334713070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713080000'), "firstname"=>"Janiya", "lastname"=>"Christiansen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2207ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4752ms
Redirected to http://test.host/admin/users/52fe04d25735334713090000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2069ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe04d257353347130a0000'), "firstname"=>"Beulah", "lastname"=>"Maggio"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3157ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1777ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe04d257353347130a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe04d257353347130a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2644ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe04d257353347130a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9905ms
Redirected to http://test.host/admin/users
Completed 302 Found in 7ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2548ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe04d257353347130b0000'), "firstname"=>"Michelle", "lastname"=>"Huels"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3074ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe04d257353347130b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe04d257353347130b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2838ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 500 Internal Server Error in 12ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe04d257353347130c0000'), "firstname"=>"Evie", "lastname"=>"Cronin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4740ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3633ms
Completed 500 Internal Server Error in 10ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe04d257353347130d0000'), "firstname"=>"Uriah", "lastname"=>"Raynor"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4223ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 9ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe04d257353347130e0000'), "firstname"=>"Alanis", "lastname"=>"Schaden"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4092ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe04d257353347130e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe04d257353347130e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms
Completed 500 Internal Server Error in 9ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe04d257353347130f0000'), "firstname"=>"Kylie", "lastname"=>"Fritsch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4382ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe04d257353347130f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe04d257353347130f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2503ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe04d257353347130f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713100000'), "firstname"=>"Ofelia", "lastname"=>"Stracke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4545ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1886ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3471ms
Redirected to http://test.host/admin/clients/52fe04d25735334713110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1965ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713120000'), "firstname"=>"Deshawn", "lastname"=>"Ledner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3134ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1813ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe04d25735334713120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe04d25735334713120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2622ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe04d25735334713120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3005ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1905ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713130000'), "firstname"=>"Mallory", "lastname"=>"Harber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2538ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe04d25735334713130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe04d25735334713130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2647ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 500 Internal Server Error in 14ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713140000'), "firstname"=>"Kiana", "lastname"=>"Wunsch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3984ms
Completed 500 Internal Server Error in 12ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713150000'), "firstname"=>"Augustus", "lastname"=>"Reynolds"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4302ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 10ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713160000'), "firstname"=>"Henderson", "lastname"=>"Jacobs"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe04d25735334713160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe04d25735334713160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms
Completed 500 Internal Server Error in 10ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713170000'), "firstname"=>"Annie", "lastname"=>"Gottlieb"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4208ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe04d25735334713170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe04d25735334713170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe04d25735334713170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms
Redirected to http://test.host/admin/clients/52fe04d25735334713170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713180000'), "firstname"=>"Louie", "lastname"=>"Waelchi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2704ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1794ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3437ms
Redirected to http://test.host/clients/52fe04d25735334713190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1872ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe04d257353347131a0000'), "firstname"=>"Lysanne", "lastname"=>"Lesch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2340ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1695ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe04d257353347131a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe04d257353347131a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2399ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe04d257353347131a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2655ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1921ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe04d257353347131b0000'), "firstname"=>"Roman", "lastname"=>"Torp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2729ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe04d257353347131b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe04d257353347131b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 11ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe04d257353347131c0000'), "firstname"=>"Glennie", "lastname"=>"Trantow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4168ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3738ms
Completed 500 Internal Server Error in 12ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe04d257353347131d0000'), "firstname"=>"Kurt", "lastname"=>"Kassulke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4030ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 41ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe04d257353347131e0000'), "firstname"=>"Germaine", "lastname"=>"Swaniawski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe04d257353347131e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe04d257353347131e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms
Completed 500 Internal Server Error in 9ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe04d257353347131f0000'), "firstname"=>"Leslie", "lastname"=>"Dickens"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe04d257353347131f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe04d257353347131f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2369ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe04d257353347131f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2645ms
Redirected to http://test.host/clients/52fe04d257353347131f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713200000'), "name"=>"Mrs. Moriah Simonis", "reference"=>"Else Bartell", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3922ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1605ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4641ms
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3804ms
Redirected to http://test.host/products/52fe04d25735334713210000
Completed 302 Found in 20ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2113ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713220000'), "name"=>"Quinton Abbott", "reference"=>"Misty Gerlach", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3266ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1872ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe04d25735334713220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe04d25735334713220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe04d25735334713220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2611ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1888ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713230000'), "name"=>"Leonel Gorczany", "reference"=>"Alex Swift", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2540ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe04d25735334713230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe04d25735334713230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2846ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3636ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.4ms)
Completed 500 Internal Server Error in 15ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713240000'), "name"=>"Brian Ebert", "reference"=>"Sigrid Upton PhD", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4196ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3698ms
Completed 500 Internal Server Error in 11ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713250000'), "name"=>"Crawford Rippin", "reference"=>"Nettie Hettinger", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4792ms
Processing by ProductsController#new as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3159ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 500 Internal Server Error in 10ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713260000'), "name"=>"Amparo Ferry", "reference"=>"Lucious Luettgen", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4291ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe04d25735334713260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe04d25735334713260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms
Completed 500 Internal Server Error in 8ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe04d25735334713270000'), "name"=>"Ms. Carmine Sipes", "reference"=>"Terry Runolfsdottir", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4083ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe04d25735334713270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe04d25735334713270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3767ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2557ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe04d25735334713270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9128ms
Redirected to http://test.host/products/52fe04d25735334713270000
Completed 302 Found in 36ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe04d35735334713280000'), "firstname"=>"Hertha", "lastname"=>"Nitzsche"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4739ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2318ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe04d35735334713290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3356ms
Redirected to http://test.host/users/52fe04d35735334713290000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1582ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe04d357353347132a0000'), "firstname"=>"Jamir", "lastname"=>"Wiza"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3113ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1873ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe04d357353347132a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe04d357353347132a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2653ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe04d357353347132a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2596ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1786ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe04d357353347132b0000'), "firstname"=>"Billie", "lastname"=>"Windler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2476ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe04d357353347132b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe04d357353347132b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2981ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 500 Internal Server Error in 12ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe04d357353347132c0000'), "firstname"=>"Ruthie", "lastname"=>"O'Keefe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4325ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3613ms
Completed 500 Internal Server Error in 11ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe04d357353347132d0000'), "firstname"=>"Seamus", "lastname"=>"Torp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4109ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 9ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe04d357353347132e0000'), "firstname"=>"Liana", "lastname"=>"Howell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4270ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe04d357353347132e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe04d357353347132e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms
Completed 500 Internal Server Error in 8ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe04d357353347132f0000'), "firstname"=>"Skyla", "lastname"=>"Dickinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4397ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe04d357353347132f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe04d357353347132f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2360ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe04d357353347132f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7071ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3420ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3543ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3617ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3472ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4000000'), "name"=>"Mortimer Pacocha", "reference"=>"Theresa Gulgowski", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4956ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2356ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3834ms
Redirected to http://test.host/admin/products/52fe053357353347a4010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1986ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4020000'), "name"=>"Mr. Newell Paucek", "reference"=>"Marcellus Wyman", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3148ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1748ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe053357353347a4020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe053357353347a4020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2983ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe053357353347a4020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3462ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2332ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4030000'), "name"=>"Teagan Sawayn", "reference"=>"Rosalia Leuschke", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3002ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe053357353347a4030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe053357353347a4030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3023ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.3ms)
Completed 500 Internal Server Error in 26ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4040000'), "name"=>"Miss Kylie Nikolaus", "reference"=>"Emiliano Brakus", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4376ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3275ms
Completed 500 Internal Server Error in 8ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4050000'), "name"=>"Sean Collins", "reference"=>"Raina Schiller", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4085ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 500 Internal Server Error in 8ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4060000'), "name"=>"Hilma Sauer", "reference"=>"Asa Cummerata Jr.", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4263ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe053357353347a4060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe053357353347a4060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms
Completed 500 Internal Server Error in 37ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4070000'), "name"=>"Melba Dooley DDS", "reference"=>"Meredith Bashirian IV", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4356ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe053357353347a4070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe053357353347a4070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe053357353347a4070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3226ms
Redirected to http://test.host/admin/products/52fe053357353347a4070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4080000'), "firstname"=>"Hassie", "lastname"=>"Lubowitz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4228ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1869ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7716ms
Redirected to http://test.host/admin/users/52fe053357353347a4090000
Completed 302 Found in 7ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2755ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe053357353347a40a0000'), "firstname"=>"Demario", "lastname"=>"Wuckert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2281ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe053357353347a40a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe053357353347a40a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3041ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe053357353347a40a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3042ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1875ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe053357353347a40b0000'), "firstname"=>"Monserrat", "lastname"=>"Davis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2681ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe053357353347a40b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe053357353347a40b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2532ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 500 Internal Server Error in 10ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe053357353347a40c0000'), "firstname"=>"Alyson", "lastname"=>"Sporer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4192ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3854ms
Completed 500 Internal Server Error in 9ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe053357353347a40d0000'), "firstname"=>"Clay", "lastname"=>"Powlowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4033ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 7ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe053357353347a40e0000'), "firstname"=>"Hollie", "lastname"=>"Ratke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4134ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe053357353347a40e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe053357353347a40e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2440ms
Completed 500 Internal Server Error in 7ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe053357353347a40f0000'), "firstname"=>"Jarret", "lastname"=>"Medhurst"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4593ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe053357353347a40f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe053357353347a40f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe053357353347a40f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4100000'), "firstname"=>"Elaina", "lastname"=>"Frami"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4819ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2398ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5018ms
Redirected to http://test.host/admin/clients/52fe053357353347a4110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2162ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4120000'), "firstname"=>"Jed", "lastname"=>"Lynch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5726ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2904ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe053357353347a4120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe053357353347a4120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3923ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe053357353347a4120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3580ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2381ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4130000'), "firstname"=>"Janiya", "lastname"=>"Dickinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2883ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe053357353347a4130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe053357353347a4130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 500 Internal Server Error in 12ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4140000'), "firstname"=>"Emmanuel", "lastname"=>"Ferry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4215ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3569ms
Completed 500 Internal Server Error in 10ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4150000'), "firstname"=>"Amalia", "lastname"=>"Schowalter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 8ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4160000'), "firstname"=>"Velma", "lastname"=>"Reichel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4030ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe053357353347a4160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe053357353347a4160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2314ms
Completed 500 Internal Server Error in 8ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4170000'), "firstname"=>"Ed", "lastname"=>"Botsford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3974ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe053357353347a4170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe053357353347a4170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2382ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe053357353347a4170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3166ms
Redirected to http://test.host/admin/clients/52fe053357353347a4170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4180000'), "firstname"=>"Stefan", "lastname"=>"Fay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2519ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1556ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2782ms
Redirected to http://test.host/clients/52fe053357353347a4190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1623ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe053357353347a41a0000'), "firstname"=>"Adolf", "lastname"=>"Monahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2119ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1506ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe053357353347a41a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe053357353347a41a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2200ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe053357353347a41a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2335ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1611ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe053357353347a41b0000'), "firstname"=>"Clovis", "lastname"=>"Hammes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2193ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe053357353347a41b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe053357353347a41b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2279ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 8ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe053357353347a41c0000'), "firstname"=>"Cali", "lastname"=>"Rau"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3744ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3785ms
Completed 500 Internal Server Error in 10ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe053357353347a41d0000'), "firstname"=>"Eldridge", "lastname"=>"Mraz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4152ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 7ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe053357353347a41e0000'), "firstname"=>"Hilma", "lastname"=>"Schowalter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4380ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe053357353347a41e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe053357353347a41e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2141ms
Completed 500 Internal Server Error in 41ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe053357353347a41f0000'), "firstname"=>"Sydney", "lastname"=>"Kuhic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4516ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe053357353347a41f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe053357353347a41f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2550ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe053357353347a41f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2876ms
Redirected to http://test.host/clients/52fe053357353347a41f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4200000'), "name"=>"Rosario Hammes", "reference"=>"Beatrice Kuhlman", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4269ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1855ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4776ms
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3296ms
Redirected to http://test.host/products/52fe053357353347a4210000
Completed 302 Found in 16ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1968ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4220000'), "name"=>"Sage Kulas", "reference"=>"Elody Ortiz", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1135ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2380ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe053357353347a4220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe053357353347a4220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2673ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe053357353347a4220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1741ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4230000'), "name"=>"Kacey Smitham", "reference"=>"Ana Mosciski", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4147ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe053357353347a4230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe053357353347a4230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3469ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4218ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.1ms)
Completed 500 Internal Server Error in 13ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4240000'), "name"=>"Edwin Borer", "reference"=>"Jerel Kozey Sr.", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4189ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3659ms
Completed 500 Internal Server Error in 10ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4250000'), "name"=>"Magdalena Kuhic IV", "reference"=>"Eugene Dibbert", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4584ms
Processing by ProductsController#new as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2648ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 500 Internal Server Error in 9ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4260000'), "name"=>"Tillman Orn", "reference"=>"Leanne Hudson", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4165ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe053357353347a4260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe053357353347a4260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2473ms
Completed 500 Internal Server Error in 7ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4270000'), "name"=>"Marco Senger", "reference"=>"Dr. Willa Douglas", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4139ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe053357353347a4270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe053357353347a4270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2989ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1631ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe053357353347a4270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3995ms
Redirected to http://test.host/products/52fe053357353347a4270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4280000'), "firstname"=>"Izabella", "lastname"=>"Marquardt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5108ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2255ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe053357353347a4290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4834ms
Redirected to http://test.host/users/52fe053357353347a4290000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2406ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe053357353347a42a0000'), "firstname"=>"Charles", "lastname"=>"Zieme"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3589ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1988ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe053357353347a42a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe053357353347a42a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3192ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe053357353347a42a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3475ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2325ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe053357353347a42b0000'), "firstname"=>"Jan", "lastname"=>"Boyer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3090ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe053357353347a42b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe053357353347a42b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2925ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 500 Internal Server Error in 12ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe053357353347a42c0000'), "firstname"=>"Laurence", "lastname"=>"Hilll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4911ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3714ms
Completed 500 Internal Server Error in 10ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe053357353347a42d0000'), "firstname"=>"Tess", "lastname"=>"Ryan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4186ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 8ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe053357353347a42e0000'), "firstname"=>"Jazmin", "lastname"=>"Reichert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4414ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe053357353347a42e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe053357353347a42e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2587ms
Completed 500 Internal Server Error in 7ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe053357353347a42f0000'), "firstname"=>"Tierra", "lastname"=>"Reynolds"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4122ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe053357353347a42f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe053357353347a42f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2476ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe053357353347a42f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6787ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3434ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3884ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3504ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3501ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9000000'), "name"=>"Kaley Larkin III", "reference"=>"Crawford Gerhold IV", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4553ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1681ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3746ms
Redirected to http://test.host/admin/products/52fe066b57353347d9010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1700ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9020000'), "name"=>"Joanie Robel", "reference"=>"Norma Parker", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3000ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1587ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe066b57353347d9020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe066b57353347d9020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2351ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe066b57353347d9020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2733ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1597ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9030000'), "name"=>"Maxwell Kertzmann", "reference"=>"Jeffrey Klocko II", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2604ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe066b57353347d9030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe066b57353347d9030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2475ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.3ms)
Completed 500 Internal Server Error in 25ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9040000'), "name"=>"Belle Nienow", "reference"=>"Neoma Kertzmann V", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3194ms
Completed 500 Internal Server Error in 8ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9050000'), "name"=>"Erwin Emmerich", "reference"=>"Eunice Wehner I", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4116ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 500 Internal Server Error in 8ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9060000'), "name"=>"Ottis Armstrong", "reference"=>"Louie Hamill DDS", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9074ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe066b57353347d9060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe066b57353347d9060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2629ms
Completed 500 Internal Server Error in 36ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9070000'), "name"=>"Lourdes Russel", "reference"=>"Fleta Franecki", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4201ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe066b57353347d9070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe066b57353347d9070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3056ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe066b57353347d9070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3679ms
Redirected to http://test.host/admin/products/52fe066b57353347d9070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9080000'), "firstname"=>"Irma", "lastname"=>"Bartoletti"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1830ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4065ms
Redirected to http://test.host/admin/users/52fe066b57353347d9090000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1788ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d90a0000'), "firstname"=>"Reagan", "lastname"=>"Parker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3079ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2031ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe066b57353347d90a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe066b57353347d90a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe066b57353347d90a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2983ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1849ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d90b0000'), "firstname"=>"Hermina", "lastname"=>"Prosacco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2446ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe066b57353347d90b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe066b57353347d90b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2610ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 500 Internal Server Error in 10ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d90c0000'), "firstname"=>"Claud", "lastname"=>"Sipes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4233ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3255ms
Completed 500 Internal Server Error in 8ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d90d0000'), "firstname"=>"Clarissa", "lastname"=>"West"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4016ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 7ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d90e0000'), "firstname"=>"Braeden", "lastname"=>"Nikolaus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4070ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe066b57353347d90e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe066b57353347d90e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms
Completed 500 Internal Server Error in 7ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d90f0000'), "firstname"=>"Sim", "lastname"=>"Hermann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4351ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe066b57353347d90f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe066b57353347d90f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2428ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe066b57353347d90f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9100000'), "firstname"=>"Estrella", "lastname"=>"Mayert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4337ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1624ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3640ms
Redirected to http://test.host/admin/clients/52fe066b57353347d9110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1958ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9120000'), "firstname"=>"Opal", "lastname"=>"Bogisich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4896ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2266ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe066b57353347d9120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe066b57353347d9120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3881ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe066b57353347d9120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3738ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2392ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9130000'), "firstname"=>"Fidel", "lastname"=>"Friesen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2997ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe066b57353347d9130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe066b57353347d9130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2782ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 500 Internal Server Error in 12ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9140000'), "firstname"=>"Adelle", "lastname"=>"Rempel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4665ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3285ms
Completed 500 Internal Server Error in 9ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9150000'), "firstname"=>"Dedric", "lastname"=>"Lindgren"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4078ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 8ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9160000'), "firstname"=>"Domenick", "lastname"=>"Casper"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4063ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe066b57353347d9160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe066b57353347d9160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms
Completed 500 Internal Server Error in 8ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9170000'), "firstname"=>"Nasir", "lastname"=>"Kling"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4083ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe066b57353347d9170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe066b57353347d9170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2519ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe066b57353347d9170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2942ms
Redirected to http://test.host/admin/clients/52fe066b57353347d9170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9180000'), "firstname"=>"Alessandra", "lastname"=>"Lebsack"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2671ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1764ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2907ms
Redirected to http://test.host/clients/52fe066b57353347d9190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1978ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d91a0000'), "firstname"=>"Anna", "lastname"=>"McDermott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2264ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1698ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe066b57353347d91a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe066b57353347d91a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2410ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe066b57353347d91a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2643ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1804ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d91b0000'), "firstname"=>"Mariane", "lastname"=>"Zboncak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe066b57353347d91b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe066b57353347d91b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2443ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 8ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d91c0000'), "firstname"=>"Stewart", "lastname"=>"Cremin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms
Completed 500 Internal Server Error in 10ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d91d0000'), "firstname"=>"Solon", "lastname"=>"Halvorson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4206ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 7ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d91e0000'), "firstname"=>"Gregory", "lastname"=>"Paucek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe066b57353347d91e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe066b57353347d91e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms
Completed 500 Internal Server Error in 38ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d91f0000'), "firstname"=>"Luis", "lastname"=>"Howe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.2940ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe066b57353347d91f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe066b57353347d91f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2656ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe066b57353347d91f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3153ms
Redirected to http://test.host/clients/52fe066b57353347d91f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9200000'), "name"=>"Salvador Connelly", "reference"=>"Josh Kub III", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4416ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1844ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4521ms
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms
Redirected to http://test.host/products/52fe066b57353347d9210000
Completed 302 Found in 16ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1894ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9220000'), "name"=>"Susana Stokes", "reference"=>"Zita Cronin", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3085ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1960ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe066b57353347d9220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe066b57353347d9220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2961ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe066b57353347d9220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2902ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1858ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9230000'), "name"=>"Tyshawn Schinner", "reference"=>"Miss Drew Dibbert", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2503ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe066b57353347d9230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe066b57353347d9230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2522ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2505ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 500 Internal Server Error in 13ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9240000'), "name"=>"Lola O'Conner I", "reference"=>"Cleveland Ankunding", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4184ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3678ms
Completed 500 Internal Server Error in 10ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9250000'), "name"=>"Merle Emard III", "reference"=>"Dr. Rogelio Lubowitz", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4026ms
Processing by ProductsController#new as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2628ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 500 Internal Server Error in 9ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9260000'), "name"=>"Saige Hagenes", "reference"=>"Ena Kling", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe066b57353347d9260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe066b57353347d9260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2455ms
Completed 500 Internal Server Error in 7ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9270000'), "name"=>"Boyd Carroll", "reference"=>"Adriana Buckridge DVM", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4099ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe066b57353347d9270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe066b57353347d9270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2513ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1678ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe066b57353347d9270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms
Redirected to http://test.host/products/52fe066b57353347d9270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9280000'), "firstname"=>"Roma", "lastname"=>"Schultz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6931ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1814ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d9290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4217ms
Redirected to http://test.host/users/52fe066b57353347d9290000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1984ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d92a0000'), "firstname"=>"Sedrick", "lastname"=>"Wolff"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3036ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1787ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe066b57353347d92a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe066b57353347d92a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2674ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe066b57353347d92a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2658ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1841ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d92b0000'), "firstname"=>"Rose", "lastname"=>"Ledner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2435ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe066b57353347d92b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe066b57353347d92b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 500 Internal Server Error in 10ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d92c0000'), "firstname"=>"Mireille", "lastname"=>"Wintheiser"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4193ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3620ms
Completed 500 Internal Server Error in 10ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d92d0000'), "firstname"=>"Dannie", "lastname"=>"Schaefer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4088ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 7ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe066b57353347d92e0000'), "firstname"=>"Lyric", "lastname"=>"Gislason"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4094ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe066b57353347d92e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe066b57353347d92e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2537ms
Completed 500 Internal Server Error in 7ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe066c57353347d92f0000'), "firstname"=>"Jaylon", "lastname"=>"Gleichner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3989ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe066c57353347d92f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe066c57353347d92f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2567ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe066c57353347d92f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6714ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3574ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3552ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3698ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893000000'), "name"=>"Lilliana Bednar", "reference"=>"Terrell Fay", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4996ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2304ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3660ms
Redirected to http://test.host/admin/products/52fe094e5735334893010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2165ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893020000'), "name"=>"Oran Trantow", "reference"=>"Demond Veum II", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3310ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1974ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe094e5735334893020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe094e5735334893020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2941ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe094e5735334893020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3709ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2381ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893030000'), "name"=>"Leda Wuckert", "reference"=>"Kennith McLaughlin", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2981ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe094e5735334893030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe094e5735334893030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2876ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 500 Internal Server Error in 26ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893040000'), "name"=>"Ardella Botsford", "reference"=>"Gina Konopelski", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4547ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3196ms
Completed 500 Internal Server Error in 8ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893050000'), "name"=>"Tina Miller IV", "reference"=>"Landen Rice", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4085ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 500 Internal Server Error in 8ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893060000'), "name"=>"Joannie Cole", "reference"=>"Geo Senger", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4323ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe094e5735334893060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe094e5735334893060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms
Completed 500 Internal Server Error in 36ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893070000'), "name"=>"Annetta Kovacek", "reference"=>"Addie Greenfelder III", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4371ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe094e5735334893070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe094e5735334893070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2629ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe094e5735334893070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3215ms
Redirected to http://test.host/admin/products/52fe094e5735334893070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893080000'), "firstname"=>"Dannie", "lastname"=>"Schneider"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4213ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1841ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3746ms
Redirected to http://test.host/admin/users/52fe094e5735334893090000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3217ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe094e57353348930a0000'), "firstname"=>"Kamren", "lastname"=>"Bruen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2040ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2156ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe094e57353348930a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe094e57353348930a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2839ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe094e57353348930a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3696ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2324ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe094e57353348930b0000'), "firstname"=>"Rosemary", "lastname"=>"Stoltenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2755ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe094e57353348930b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe094e57353348930b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2731ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 500 Internal Server Error in 11ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe094e57353348930c0000'), "firstname"=>"Sierra", "lastname"=>"Nienow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4522ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3864ms
Completed 500 Internal Server Error in 9ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe094e57353348930d0000'), "firstname"=>"Gino", "lastname"=>"Turcotte"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 7ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe094e57353348930e0000'), "firstname"=>"Willard", "lastname"=>"Hudson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4115ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe094e57353348930e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe094e57353348930e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms
Completed 500 Internal Server Error in 7ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe094e57353348930f0000'), "firstname"=>"Dejuan", "lastname"=>"Boehm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4623ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe094e57353348930f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe094e57353348930f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2781ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe094e57353348930f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893100000'), "firstname"=>"Monique", "lastname"=>"Yundt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4605ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1826ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5180ms
Redirected to http://test.host/admin/clients/52fe094e5735334893110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2806ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893120000'), "firstname"=>"Lane", "lastname"=>"Koss"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 29.0058ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3823ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe094e5735334893120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe094e5735334893120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3347ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe094e5735334893120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3167ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1981ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893130000'), "firstname"=>"Micaela", "lastname"=>"Schimmel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2648ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe094e5735334893130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe094e5735334893130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3058ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 500 Internal Server Error in 12ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893140000'), "firstname"=>"Yasmeen", "lastname"=>"Conn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5224ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4203ms
Completed 500 Internal Server Error in 10ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893150000'), "firstname"=>"Maddison", "lastname"=>"Hegmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4557ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 8ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893160000'), "firstname"=>"Rhett", "lastname"=>"Bernhard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4127ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe094e5735334893160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe094e5735334893160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms
Completed 500 Internal Server Error in 8ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893170000'), "firstname"=>"Michel", "lastname"=>"Hauck"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4370ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe094e5735334893170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe094e5735334893170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe094e5735334893170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3435ms
Redirected to http://test.host/admin/clients/52fe094e5735334893170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893180000'), "firstname"=>"Miller", "lastname"=>"Robel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2771ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1786ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3007ms
Redirected to http://test.host/clients/52fe094e5735334893190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1827ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe094e57353348931a0000'), "firstname"=>"Dock", "lastname"=>"Miller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2306ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1722ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe094e57353348931a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe094e57353348931a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2410ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe094e57353348931a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2542ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1804ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe094e57353348931b0000'), "firstname"=>"Maddison", "lastname"=>"Schinner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2370ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe094e57353348931b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe094e57353348931b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2622ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 9ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe094e57353348931c0000'), "firstname"=>"Marge", "lastname"=>"Erdman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6770ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3953ms
Completed 500 Internal Server Error in 11ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe094e57353348931d0000'), "firstname"=>"Donato", "lastname"=>"Spinka"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4182ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 8ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe094e57353348931e0000'), "firstname"=>"Earnestine", "lastname"=>"Murazik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4332ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe094e57353348931e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe094e57353348931e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2572ms
Completed 500 Internal Server Error in 38ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe094e57353348931f0000'), "firstname"=>"Arturo", "lastname"=>"Price"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4176ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe094e57353348931f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe094e57353348931f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2597ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe094e57353348931f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2886ms
Redirected to http://test.host/clients/52fe094e57353348931f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893200000'), "name"=>"Miss Janelle Ledner", "reference"=>"Ms. Ofelia Stamm", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4251ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1968ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4521ms
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3021ms
Redirected to http://test.host/products/52fe094e5735334893210000
Completed 302 Found in 16ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1850ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893220000'), "name"=>"Leanna Batz III", "reference"=>"Aimee Muller", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3108ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1788ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe094e5735334893220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe094e5735334893220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2537ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe094e5735334893220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3861ms
Redirected to http://test.host/products
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2113ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893230000'), "name"=>"Earnest Hintz", "reference"=>"Alexandria Sawayn Sr.", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3037ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe094e5735334893230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe094e5735334893230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3737ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3144ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms)
Completed 500 Internal Server Error in 14ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893240000'), "name"=>"Donnie Raynor", "reference"=>"Jerrod Haag", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4213ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3701ms
Completed 500 Internal Server Error in 10ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893250000'), "name"=>"Yesenia Pfeffer", "reference"=>"Terence Ledner", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms
Processing by ProductsController#new as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3433ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 500 Internal Server Error in 9ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893260000'), "name"=>"Ms. Osbaldo Hamill", "reference"=>"Dillan Denesik", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4634ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe094e5735334893260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe094e5735334893260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms
Completed 500 Internal Server Error in 7ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893270000'), "name"=>"Mrs. Maybelle Kihn", "reference"=>"Stephan Parisian", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4089ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe094e5735334893270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe094e5735334893270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2583ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1666ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe094e5735334893270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3073ms
Redirected to http://test.host/products/52fe094e5735334893270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893280000'), "firstname"=>"Annamarie", "lastname"=>"Gleichner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4707ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2292ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe094e5735334893290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1115ms
Redirected to http://test.host/users/52fe094e5735334893290000
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2207ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe094e57353348932a0000'), "firstname"=>"Ansel", "lastname"=>"Rowe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3700ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2272ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe094e57353348932a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe094e57353348932a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3188ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe094e57353348932a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2996ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1879ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe094e57353348932b0000'), "firstname"=>"Kayla", "lastname"=>"Kub"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2568ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe094e57353348932b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe094e57353348932b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3094ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 500 Internal Server Error in 11ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe094e57353348932c0000'), "firstname"=>"Ernesto", "lastname"=>"Nienow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4363ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3706ms
Completed 500 Internal Server Error in 10ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe094e57353348932d0000'), "firstname"=>"Lavada", "lastname"=>"Cassin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4281ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 7ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe094e57353348932e0000'), "firstname"=>"Alexandrine", "lastname"=>"West"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4897ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe094e57353348932e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe094e57353348932e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3305ms
Completed 500 Internal Server Error in 7ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe094e57353348932f0000'), "firstname"=>"Emely", "lastname"=>"Beier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe094e57353348932f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe094e57353348932f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe094e57353348932f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7109ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3865ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3173ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3158ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0a5e57353348e2000000'), "name"=>"Ruben Feil", "reference"=>"Enos Boyle", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5152ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2287ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0a5e57353348e2010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3672ms
Redirected to http://test.host/admin/products/52fe0a5e57353348e2010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2200ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0a5e57353348e2020000'), "name"=>"Braeden Treutel", "reference"=>"Zachary Koss DDS", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3299ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2000ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe0a5e57353348e2020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0a5e57353348e2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2952ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0a5e57353348e2020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2495ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0a5e57353348e2030000'), "name"=>"Jena Hegmann", "reference"=>"Kari Stark II", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2988ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe0a5e57353348e2030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0a5e57353348e2030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2922ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.7ms)
Completed 500 Internal Server Error in 62ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0a5e57353348e2040000'), "name"=>"Mrs. Blanche Roberts", "reference"=>"Dr. Hosea Kutch", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4703ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3336ms
Completed 500 Internal Server Error in 9ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0a5e57353348e2050000'), "name"=>"Brooks Swaniawski V", "reference"=>"Durward Macejkovic", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4026ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 500 Internal Server Error in 8ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0a5e57353348e2060000'), "name"=>"Monroe Heathcote", "reference"=>"Evert Wiegand DDS", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe0a5e57353348e2060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0a5e57353348e2060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4310ms
Completed 500 Internal Server Error in 8ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0a5e57353348e2070000'), "name"=>"Rory Berge", "reference"=>"Kaycee Koss", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe0a5e57353348e2070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0a5e57353348e2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3097ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0a5e57353348e2070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3740ms
Redirected to http://test.host/admin/products/52fe0a5e57353348e2070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0a5e57353348e2080000'), "firstname"=>"Cynthia", "lastname"=>"Maggio"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4336ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2127ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0a5e57353348e2090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms
Redirected to http://test.host/admin/users/52fe0a5e57353348e2090000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2485ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0a5e57353348e20a0000'), "firstname"=>"Marcella", "lastname"=>"Will"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3519ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2704ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe0a5e57353348e20a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0a5e57353348e20a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4343ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0a5e57353348e20a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4329ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2129ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0a5e57353348e20b0000'), "firstname"=>"Ramon", "lastname"=>"Heathcote"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2614ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe0a5e57353348e20b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0a5e57353348e20b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2385ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 500 Internal Server Error in 10ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0a5e57353348e20c0000'), "firstname"=>"Sheldon", "lastname"=>"O'Hara"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4403ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3232ms
Completed 500 Internal Server Error in 9ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0a5e57353348e20d0000'), "firstname"=>"Ivory", "lastname"=>"Legros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4902ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 38ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0a5e57353348e20e0000'), "firstname"=>"Georgianna", "lastname"=>"Herman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4271ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe0a5e57353348e20e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0a5e57353348e20e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2584ms
Completed 500 Internal Server Error in 7ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0a5e57353348e20f0000'), "firstname"=>"Burdette", "lastname"=>"Dibbert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe0a5e57353348e20f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0a5e57353348e20f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3827ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe0a5e57353348e20f0000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e2100000'), "firstname"=>"Shakira", "lastname"=>"Hintz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4942ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1968ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e2110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3952ms
Redirected to http://test.host/admin/clients/52fe0a5f57353348e2110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2333ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e2120000'), "firstname"=>"Arlene", "lastname"=>"Kunze"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3780ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2344ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe0a5f57353348e2120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0a5f57353348e2120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4358ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0a5f57353348e2120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3668ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2380ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e2130000'), "firstname"=>"Dylan", "lastname"=>"Little"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2562ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe0a5f57353348e2130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0a5f57353348e2130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 500 Internal Server Error in 11ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e2140000'), "firstname"=>"Emil", "lastname"=>"Senger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4589ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3258ms
Completed 500 Internal Server Error in 9ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e2150000'), "firstname"=>"Aracely", "lastname"=>"O'Kon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4469ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 8ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e2160000'), "firstname"=>"Randi", "lastname"=>"Sporer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4154ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe0a5f57353348e2160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0a5f57353348e2160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2504ms
Completed 500 Internal Server Error in 8ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e2170000'), "firstname"=>"Loy", "lastname"=>"Keebler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4157ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe0a5f57353348e2170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0a5f57353348e2170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0a5f57353348e2170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3668ms
Redirected to http://test.host/admin/clients/52fe0a5f57353348e2170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e2180000'), "firstname"=>"Magali", "lastname"=>"Braun"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4356ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1829ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e2190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms
Redirected to http://test.host/clients/52fe0a5f57353348e2190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2128ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e21a0000'), "firstname"=>"Rachelle", "lastname"=>"Yundt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2737ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2155ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe0a5f57353348e21a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0a5f57353348e21a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0a5f57353348e21a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2761ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1988ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e21b0000'), "firstname"=>"Destinee", "lastname"=>"Schroeder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2634ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe0a5f57353348e21b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0a5f57353348e21b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2405ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 500 Internal Server Error in 39ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e21c0000'), "firstname"=>"Aylin", "lastname"=>"Trantow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4352ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4736ms
Completed 500 Internal Server Error in 11ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e21d0000'), "firstname"=>"Robin", "lastname"=>"Von"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4278ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 7ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e21e0000'), "firstname"=>"Austin", "lastname"=>"Shields"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0436ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe0a5f57353348e21e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0a5f57353348e21e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3632ms
Completed 500 Internal Server Error in 7ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e21f0000'), "firstname"=>"Garnet", "lastname"=>"West"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4652ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe0a5f57353348e21f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0a5f57353348e21f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0a5f57353348e21f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2841ms
Redirected to http://test.host/clients/52fe0a5f57353348e21f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e2200000'), "name"=>"Eriberto Gleason", "reference"=>"Rosamond Macejkovic", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4072ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1790ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4537ms
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e2210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3036ms
Redirected to http://test.host/products/52fe0a5f57353348e2210000
Completed 302 Found in 17ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1839ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e2220000'), "name"=>"Ms. Madisyn Monahan", "reference"=>"Keenan Hyatt", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3086ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1765ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe0a5f57353348e2220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0a5f57353348e2220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2966ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0a5f57353348e2220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3077ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2092ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e2230000'), "name"=>"Concepcion O'Keefe", "reference"=>"Raphaelle Hackett", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2556ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe0a5f57353348e2230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0a5f57353348e2230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms)
Completed 500 Internal Server Error in 12ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e2240000'), "name"=>"Dr. Patsy Prohaska", "reference"=>"Jaydon Powlowski", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4676ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3737ms
Completed 500 Internal Server Error in 10ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e2250000'), "name"=>"Shania Wolf PhD", "reference"=>"Mrs. Dolly Boehm", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms
Processing by ProductsController#new as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2636ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 500 Internal Server Error in 41ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e2260000'), "name"=>"Jerad Haley", "reference"=>"Lucy Kassulke I", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4598ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe0a5f57353348e2260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0a5f57353348e2260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2698ms
Completed 500 Internal Server Error in 7ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e2270000'), "name"=>"Nash Roob", "reference"=>"Frank Hayes", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4198ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe0a5f57353348e2270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0a5f57353348e2270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2784ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1705ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0a5f57353348e2270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2706ms
Redirected to http://test.host/products/52fe0a5f57353348e2270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e2280000'), "firstname"=>"Casimir", "lastname"=>"Tillman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4118ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2162ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e2290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4402ms
Redirected to http://test.host/users/52fe0a5f57353348e2290000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3450ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e22a0000'), "firstname"=>"Perry", "lastname"=>"Rogahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3970ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1798ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe0a5f57353348e22a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0a5f57353348e22a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2647ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0a5f57353348e22a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2630ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1790ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e22b0000'), "firstname"=>"Haskell", "lastname"=>"Little"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2451ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe0a5f57353348e22b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0a5f57353348e22b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 500 Internal Server Error in 10ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e22c0000'), "firstname"=>"Freda", "lastname"=>"Corwin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4152ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3407ms
Completed 500 Internal Server Error in 10ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e22d0000'), "firstname"=>"Breana", "lastname"=>"Armstrong"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4948ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 7ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e22e0000'), "firstname"=>"Melissa", "lastname"=>"Hirthe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4520ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe0a5f57353348e22e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0a5f57353348e22e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2771ms
Completed 500 Internal Server Error in 7ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0a5f57353348e22f0000'), "firstname"=>"Jermaine", "lastname"=>"Erdman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.4229ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe0a5f57353348e22f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0a5f57353348e22f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3177ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe0a5f57353348e22f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6909ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3412ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3340ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2870ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3447ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922000000'), "name"=>"Eula Kovacek", "reference"=>"Francisca Schuster IV", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5036ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2298ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3648ms
Redirected to http://test.host/admin/products/52fe0b1c5735334922010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2150ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922020000'), "name"=>"Dr. Matt Rowe", "reference"=>"Eryn O'Reilly", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3317ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1999ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe0b1c5735334922020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0b1c5735334922020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0b1c5735334922020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3153ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2370ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922030000'), "name"=>"Ms. Wilber Wisoky", "reference"=>"Ms. Darian Pacocha", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3065ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe0b1c5735334922030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0b1c5735334922030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2844ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 200 OK in 27ms (Views: 25.4ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922040000'), "name"=>"Mr. Kylie Heller", "reference"=>"Gladyce Heller", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 10.0749ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3365ms
Completed 200 OK in 5ms (Views: 4.7ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922050000'), "name"=>"Eveline Renner", "reference"=>"Sallie Morar", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3379ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 6ms (Views: 5.3ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922060000'), "name"=>"Lucio Bode", "reference"=>"Mr. Leone Dicki", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4761ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe0b1c5735334922060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0b1c5735334922060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms
Completed 200 OK in 4ms (Views: 2.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922070000'), "name"=>"Rosalee Morar", "reference"=>"Mrs. Andres Emmerich", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4121ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe0b1c5735334922070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0b1c5735334922070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2887ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0b1c5735334922070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms
Redirected to http://test.host/admin/products/52fe0b1c5735334922070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922080000'), "firstname"=>"Wilfredo", "lastname"=>"Tillman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5227ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2813ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3874ms
Redirected to http://test.host/admin/users/52fe0b1c5735334922090000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2645ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b1c57353349220a0000'), "firstname"=>"Sebastian", "lastname"=>"Mertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3790ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2509ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe0b1c57353349220a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0b1c57353349220a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2554ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0b1c57353349220a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3240ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2011ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b1c57353349220b0000'), "firstname"=>"Marguerite", "lastname"=>"Stracke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe0b1c57353349220b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0b1c57353349220b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 7ms (Views: 6.0ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b1c57353349220c0000'), "firstname"=>"Bryce", "lastname"=>"Strosin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4060ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2972ms
Completed 200 OK in 5ms (Views: 4.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b1c57353349220d0000'), "firstname"=>"Alejandra", "lastname"=>"Treutel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3309ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 5ms (Views: 4.6ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b1c57353349220e0000'), "firstname"=>"Harvey", "lastname"=>"Waters"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4991ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe0b1c57353349220e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0b1c57353349220e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms
Completed 200 OK in 4ms (Views: 2.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b1c57353349220f0000'), "firstname"=>"Marquis", "lastname"=>"Bradtke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3551ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe0b1c57353349220f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0b1c57353349220f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe0b1c57353349220f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922100000'), "firstname"=>"Gerardo", "lastname"=>"Abbott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5039ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2703ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3619ms
Redirected to http://test.host/admin/clients/52fe0b1c5735334922110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2628ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922120000'), "firstname"=>"Doug", "lastname"=>"Treutel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3514ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1961ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe0b1c5735334922120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0b1c5735334922120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2851ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0b1c5735334922120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2985ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2068ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922130000'), "firstname"=>"Eryn", "lastname"=>"Leffler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2471ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe0b1c5735334922130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0b1c5735334922130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2197ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 8ms (Views: 6.9ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922140000'), "firstname"=>"Edgardo", "lastname"=>"Renner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4981ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3951ms
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922150000'), "firstname"=>"Andy", "lastname"=>"McKenzie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4170ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 4.3ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922160000'), "firstname"=>"Madison", "lastname"=>"Nicolas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3739ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe0b1c5735334922160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0b1c5735334922160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2850ms
Completed 200 OK in 5ms (Views: 3.5ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922170000'), "firstname"=>"Helene", "lastname"=>"Gibson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4436ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe0b1c5735334922170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0b1c5735334922170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2171ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0b1c5735334922170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5733ms
Redirected to http://test.host/admin/clients/52fe0b1c5735334922170000
Completed 302 Found in 34ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922180000'), "firstname"=>"Adam", "lastname"=>"Feil"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3046ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2267ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3830ms
Redirected to http://test.host/clients/52fe0b1c5735334922190000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2559ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b1c57353349221a0000'), "firstname"=>"Hassie", "lastname"=>"Adams"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3091ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2444ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe0b1c57353349221a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0b1c57353349221a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2956ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0b1c57353349221a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2778ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1941ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b1c57353349221b0000'), "firstname"=>"Stefan", "lastname"=>"Kovacek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2490ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe0b1c57353349221b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0b1c57353349221b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2411ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 3.9ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b1c57353349221c0000'), "firstname"=>"Dorothea", "lastname"=>"Towne"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5036ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4272ms
Completed 200 OK in 8ms (Views: 6.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b1c57353349221d0000'), "firstname"=>"Kristina", "lastname"=>"Rice"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3429ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.2ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b1c57353349221e0000'), "firstname"=>"Kelsi", "lastname"=>"Krajcik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3516ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe0b1c57353349221e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0b1c57353349221e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms
Completed 200 OK in 3ms (Views: 1.9ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b1c57353349221f0000'), "firstname"=>"Ayden", "lastname"=>"Schaden"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4369ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe0b1c57353349221f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0b1c57353349221f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3938ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0b1c57353349221f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3420ms
Redirected to http://test.host/clients/52fe0b1c57353349221f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922200000'), "name"=>"Amiya Strosin DDS", "reference"=>"Carolyn Ondricka", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3810ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2126ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4608ms
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5306ms
Redirected to http://test.host/products/52fe0b1c5735334922210000
Completed 302 Found in 18ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2862ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922220000'), "name"=>"Richie Cremin", "reference"=>"Mallory Tromp IV", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6713ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2217ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe0b1c5735334922220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0b1c5735334922220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3192ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0b1c5735334922220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3392ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2261ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922230000'), "name"=>"Mrs. Therese Mertz", "reference"=>"Madisyn Padberg", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3138ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe0b1c5735334922230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0b1c5735334922230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2992ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms)
Completed 200 OK in 10ms (Views: 8.5ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922240000'), "name"=>"Mr. Maiya McGlynn", "reference"=>"Vernie Rau", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4748ms
Completed 200 OK in 8ms (Views: 7.3ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922250000'), "name"=>"Esta Gleason", "reference"=>"Meagan Quitzon Jr.", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3536ms
Processing by ProductsController#new as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3224ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 6ms (Views: 5.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922260000'), "name"=>"Nikita Schowalter", "reference"=>"Mrs. Pablo Leannon", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3789ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe0b1c5735334922260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0b1c5735334922260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms
Completed 200 OK in 4ms (Views: 2.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922270000'), "name"=>"Mrs. Haven White", "reference"=>"Ms. Eli Wyman", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3775ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe0b1c5735334922270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0b1c5735334922270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2703ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2212ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0b1c5735334922270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2993ms
Redirected to http://test.host/products/52fe0b1c5735334922270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922280000'), "firstname"=>"Lysanne", "lastname"=>"Gerlach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4583ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2123ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b1c5735334922290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3248ms
Redirected to http://test.host/users/52fe0b1c5735334922290000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2030ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b1c57353349222a0000'), "firstname"=>"Annabelle", "lastname"=>"Durgan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3037ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1777ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe0b1c57353349222a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0b1c57353349222a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2339ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0b1c57353349222a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2548ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1740ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b1c57353349222b0000'), "firstname"=>"Kelli", "lastname"=>"Mertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2282ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe0b1c57353349222b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0b1c57353349222b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2282ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.8ms)
Completed 200 OK in 41ms (Views: 39.8ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b1c57353349222c0000'), "firstname"=>"Reanna", "lastname"=>"DuBuque"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4545ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3741ms
Completed 200 OK in 7ms (Views: 6.6ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b1c57353349222d0000'), "firstname"=>"Easter", "lastname"=>"Greenholt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3194ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 3.5ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b1c57353349222e0000'), "firstname"=>"Darryl", "lastname"=>"Gottlieb"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3603ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe0b1c57353349222e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0b1c57353349222e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2469ms
Completed 200 OK in 4ms (Views: 2.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b1c57353349222f0000'), "firstname"=>"Geovanny", "lastname"=>"Gaylord"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3383ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe0b1c57353349222f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0b1c57353349222f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2623ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe0b1c57353349222f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6694ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3089ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3138ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2727ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2724ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c000000'), "name"=>"Lavina Huels", "reference"=>"Amely Jerde Sr.", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5120ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2263ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3639ms
Redirected to http://test.host/admin/products/52fe0b22573533494c010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2147ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c020000'), "name"=>"Jewell Abshire", "reference"=>"Miss Julia Yost", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3311ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1973ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe0b22573533494c020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0b22573533494c020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2847ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0b22573533494c020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7168ms
Redirected to http://test.host/admin/products
Completed 302 Found in 8ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2243ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c030000'), "name"=>"Ferne Oberbrunner V", "reference"=>"Eva Cassin", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2868ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe0b22573533494c030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0b22573533494c030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.6ms)
Completed 500 Internal Server Error in 27ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c040000'), "name"=>"Leland Mueller II", "reference"=>"Mrs. Kristoffer Osinski", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4462ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms
Completed 500 Internal Server Error in 8ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c050000'), "name"=>"Annamae Mueller", "reference"=>"Carmela Batz Sr.", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4062ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 500 Internal Server Error in 9ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c060000'), "name"=>"Orpha Cronin", "reference"=>"Esther Stanton", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4367ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe0b22573533494c060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0b22573533494c060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2560ms
Completed 500 Internal Server Error in 37ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c070000'), "name"=>"Maxie Blick", "reference"=>"Emmanuelle Schamberger", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe0b22573533494c070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0b22573533494c070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2636ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0b22573533494c070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9508ms
Redirected to http://test.host/admin/products/52fe0b22573533494c070000
Completed 302 Found in 9ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c080000'), "firstname"=>"Joanne", "lastname"=>"Dare"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4298ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1838ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3539ms
Redirected to http://test.host/admin/users/52fe0b22573533494c090000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2128ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c0a0000'), "firstname"=>"Tamara", "lastname"=>"Senger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3046ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1763ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe0b22573533494c0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0b22573533494c0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2636ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0b22573533494c0a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2955ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1816ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c0b0000'), "firstname"=>"Victoria", "lastname"=>"Little"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2476ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe0b22573533494c0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0b22573533494c0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2457ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 500 Internal Server Error in 11ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c0c0000'), "firstname"=>"Reyes", "lastname"=>"Fay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4332ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3223ms
Completed 500 Internal Server Error in 8ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c0d0000'), "firstname"=>"Darren", "lastname"=>"Kuhlman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 7ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c0e0000'), "firstname"=>"Elisabeth", "lastname"=>"Hermann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4349ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe0b22573533494c0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0b22573533494c0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3514ms
Completed 500 Internal Server Error in 7ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c0f0000'), "firstname"=>"Michelle", "lastname"=>"Armstrong"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4111ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe0b22573533494c0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0b22573533494c0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2346ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe0b22573533494c0f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c100000'), "firstname"=>"Gayle", "lastname"=>"Mosciski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4481ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1624ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3182ms
Redirected to http://test.host/admin/clients/52fe0b22573533494c110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1656ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c120000'), "firstname"=>"Brady", "lastname"=>"Fahey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4561ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1693ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe0b22573533494c120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0b22573533494c120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3351ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0b22573533494c120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3091ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1747ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c130000'), "firstname"=>"Savanah", "lastname"=>"Harber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2391ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe0b22573533494c130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0b22573533494c130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2438ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 500 Internal Server Error in 13ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c140000'), "firstname"=>"Hallie", "lastname"=>"Brakus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4292ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3301ms
Completed 500 Internal Server Error in 9ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c150000'), "firstname"=>"Candice", "lastname"=>"Dietrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3912ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 8ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c160000'), "firstname"=>"Gina", "lastname"=>"Kozey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4787ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe0b22573533494c160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0b22573533494c160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3279ms
Completed 500 Internal Server Error in 8ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c170000'), "firstname"=>"Kendra", "lastname"=>"Price"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4143ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe0b22573533494c170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0b22573533494c170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2395ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0b22573533494c170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3075ms
Redirected to http://test.host/admin/clients/52fe0b22573533494c170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c180000'), "firstname"=>"Monroe", "lastname"=>"Schroeder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2552ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1583ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2769ms
Redirected to http://test.host/clients/52fe0b22573533494c190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1615ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c1a0000'), "firstname"=>"Jimmie", "lastname"=>"Schmeler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2074ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1512ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe0b22573533494c1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0b22573533494c1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2241ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0b22573533494c1a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2344ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1554ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c1b0000'), "firstname"=>"Briana", "lastname"=>"Pacocha"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2493ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe0b22573533494c1b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0b22573533494c1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3772ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 500 Internal Server Error in 9ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c1c0000'), "firstname"=>"Orion", "lastname"=>"Will"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3540ms
Completed 500 Internal Server Error in 10ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c1d0000'), "firstname"=>"Burley", "lastname"=>"Howe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3908ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 8ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c1e0000'), "firstname"=>"Gwen", "lastname"=>"Dach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4253ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe0b22573533494c1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0b22573533494c1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2334ms
Completed 500 Internal Server Error in 38ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c1f0000'), "firstname"=>"Lonnie", "lastname"=>"Runolfsson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4117ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe0b22573533494c1f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0b22573533494c1f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe0b22573533494c1f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2721ms
Redirected to http://test.host/clients/52fe0b22573533494c1f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c200000'), "name"=>"Clair Von", "reference"=>"Alexzander Fay Sr.", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4166ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1649ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4424ms
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2756ms
Redirected to http://test.host/products/52fe0b22573533494c210000
Completed 302 Found in 21ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1900ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c220000'), "name"=>"Katlyn Upton", "reference"=>"Dr. Marcelina Kihn", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3224ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1778ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe0b22573533494c220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0b22573533494c220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2577ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0b22573533494c220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2851ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1943ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c230000'), "name"=>"Iva Brakus DVM", "reference"=>"Felicita Erdman", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3954ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe0b22573533494c230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0b22573533494c230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3472ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2444ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 500 Internal Server Error in 13ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c240000'), "name"=>"Osvaldo Hayes", "reference"=>"Graciela Larkin Jr.", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4238ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3717ms
Completed 500 Internal Server Error in 10ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c250000'), "name"=>"Brain Haag", "reference"=>"Llewellyn Kreiger", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4940ms
Processing by ProductsController#new as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2666ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 500 Internal Server Error in 9ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c260000'), "name"=>"Mrs. Francisca Hackett", "reference"=>"Clemens Bode", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4596ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe0b22573533494c260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0b22573533494c260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2621ms
Completed 500 Internal Server Error in 7ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c270000'), "name"=>"George Heller", "reference"=>"Ramona Emmerich", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4077ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe0b22573533494c270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0b22573533494c270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3316ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2711ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe0b22573533494c270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4681ms
Redirected to http://test.host/products/52fe0b22573533494c270000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c280000'), "firstname"=>"Vanessa", "lastname"=>"Nicolas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4678ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1845ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3974ms
Redirected to http://test.host/users/52fe0b22573533494c290000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2013ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c2a0000'), "firstname"=>"Loy", "lastname"=>"Barton"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3609ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2274ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe0b22573533494c2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0b22573533494c2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3213ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0b22573533494c2a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2959ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1907ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c2b0000'), "firstname"=>"Clemens", "lastname"=>"Kerluke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3109ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe0b22573533494c2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0b22573533494c2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3011ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 500 Internal Server Error in 11ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c2c0000'), "firstname"=>"Deangelo", "lastname"=>"Littel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4723ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3539ms
Completed 500 Internal Server Error in 10ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c2d0000'), "firstname"=>"Alexandra", "lastname"=>"White"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4137ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 7ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c2e0000'), "firstname"=>"Sedrick", "lastname"=>"Bartoletti"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4721ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe0b22573533494c2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0b22573533494c2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms
Completed 500 Internal Server Error in 7ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe0b22573533494c2f0000'), "firstname"=>"Boris", "lastname"=>"Prosacco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4080ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe0b22573533494c2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe0b22573533494c2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2510ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe0b22573533494c2f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6666ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3408ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3440ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3897ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3486ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe19705735334b91000000'), "name"=>"Julie Koepp Jr.", "reference"=>"Florine Hansen", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4949ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2313ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe19705735334b91010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3724ms
Redirected to http://test.host/admin/products/52fe19705735334b91010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2156ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe19705735334b91020000'), "name"=>"Benjamin Schoen", "reference"=>"Emelie Blanda", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3343ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1798ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe19705735334b91020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe19705735334b91020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3147ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe19705735334b91020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3503ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2260ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe19705735334b91030000'), "name"=>"Raven Considine", "reference"=>"Sigmund Fahey", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2955ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe19705735334b91030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe19705735334b91030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2752ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.7ms)
Completed 500 Internal Server Error in 26ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe19705735334b91040000'), "name"=>"Domenic Kuvalis Sr.", "reference"=>"Sandy Cummerata", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4411ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3171ms
Completed 500 Internal Server Error in 8ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe19705735334b91050000'), "name"=>"Sedrick Effertz", "reference"=>"Nicklaus Cartwright", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 500 Internal Server Error in 8ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe19715735334b91060000'), "name"=>"Grace Lang", "reference"=>"Aracely Homenick", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4491ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe19715735334b91060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe19715735334b91060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2634ms
Completed 500 Internal Server Error in 39ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe19715735334b91070000'), "name"=>"Magali Smith", "reference"=>"Dr. Marie Oberbrunner", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4727ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe19715735334b91070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe19715735334b91070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2853ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe19715735334b91070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6185ms
Redirected to http://test.host/admin/products/52fe19715735334b91070000
Completed 302 Found in 5ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe19715735334b91080000'), "firstname"=>"Wilson", "lastname"=>"Reichel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5151ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3217ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe19715735334b91090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3569ms
Redirected to http://test.host/admin/users/52fe19715735334b91090000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1917ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe19715735334b910a0000'), "firstname"=>"Adrienne", "lastname"=>"Graham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3069ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1772ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe19715735334b910a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe19715735334b910a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2642ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe19715735334b910a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3068ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2042ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe19715735334b910b0000'), "firstname"=>"Demetrius", "lastname"=>"Bechtelar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2679ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe19715735334b910b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe19715735334b910b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2457ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 500 Internal Server Error in 10ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe19715735334b910c0000'), "firstname"=>"Haylee", "lastname"=>"Crona"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3905ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3664ms
Completed 500 Internal Server Error in 9ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe19715735334b910d0000'), "firstname"=>"Christelle", "lastname"=>"Farrell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4014ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 7ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe19715735334b910e0000'), "firstname"=>"Evalyn", "lastname"=>"Douglas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4134ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe19715735334b910e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe19715735334b910e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms
Completed 500 Internal Server Error in 7ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe19715735334b910f0000'), "firstname"=>"Sandrine", "lastname"=>"Okuneva"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4413ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe19715735334b910f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe19715735334b910f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe19715735334b910f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe19715735334b91100000'), "firstname"=>"Roscoe", "lastname"=>"Spinka"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4544ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1835ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe19715735334b91110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4771ms
Redirected to http://test.host/admin/clients/52fe19715735334b91110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3009ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe19715735334b91120000'), "firstname"=>"Hailey", "lastname"=>"Turcotte"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 28.9237ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3130ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe19715735334b91120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe19715735334b91120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3061ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe19715735334b91120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3681ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2192ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe19715735334b91130000'), "firstname"=>"Sheldon", "lastname"=>"Bergstrom"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2852ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe19715735334b91130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe19715735334b91130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2632ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 500 Internal Server Error in 12ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe19715735334b91140000'), "firstname"=>"Mariela", "lastname"=>"Kiehn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4141ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3708ms
Completed 500 Internal Server Error in 10ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe19715735334b91150000'), "firstname"=>"Novella", "lastname"=>"Lowe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 8ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe19715735334b91160000'), "firstname"=>"Effie", "lastname"=>"Kreiger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4027ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe19715735334b91160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe19715735334b91160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms
Completed 500 Internal Server Error in 8ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe19715735334b91170000'), "firstname"=>"Khalid", "lastname"=>"Ondricka"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4237ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe19715735334b91170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe19715735334b91170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe19715735334b91170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3164ms
Redirected to http://test.host/admin/clients/52fe19715735334b91170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe19715735334b91180000'), "firstname"=>"Sandra", "lastname"=>"Stracke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2717ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1739ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe19715735334b91190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms
Redirected to http://test.host/clients/52fe19715735334b91190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1854ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe19715735334b911a0000'), "firstname"=>"Lillie", "lastname"=>"Wolf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2290ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1700ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe19715735334b911a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe19715735334b911a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2395ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe19715735334b911a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2535ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1512ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe19715735334b911b0000'), "firstname"=>"Adalberto", "lastname"=>"Hettinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9843ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe19715735334b911b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe19715735334b911b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3256ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 500 Internal Server Error in 9ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe19715735334b911c0000'), "firstname"=>"Jed", "lastname"=>"Nolan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4760ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3588ms
Completed 500 Internal Server Error in 10ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe19715735334b911d0000'), "firstname"=>"Viviane", "lastname"=>"Jacobi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3779ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 8ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe19715735334b911e0000'), "firstname"=>"Werner", "lastname"=>"Maggio"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4386ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe19715735334b911e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe19715735334b911e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms
Completed 500 Internal Server Error in 40ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe19715735334b911f0000'), "firstname"=>"Carlie", "lastname"=>"Klein"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4416ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe19715735334b911f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe19715735334b911f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3312ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe19715735334b911f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3377ms
Redirected to http://test.host/clients/52fe19715735334b911f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe19715735334b91200000'), "name"=>"Marcellus Morissette", "reference"=>"Norris Batz", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4344ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2228ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4182ms
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe19715735334b91210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2878ms
Redirected to http://test.host/products/52fe19715735334b91210000
Completed 302 Found in 16ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1757ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe19715735334b91220000'), "name"=>"Lucious McClure", "reference"=>"Jarret Schuppe", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3474ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1909ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe19715735334b91220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe19715735334b91220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2422ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe19715735334b91220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3199ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2392ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe19715735334b91230000'), "name"=>"Daphne Bosco", "reference"=>"Vernice Romaguera", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3054ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe19715735334b91230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe19715735334b91230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2868ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3531ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.3ms)
Completed 500 Internal Server Error in 14ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe19715735334b91240000'), "name"=>"Elton Morar", "reference"=>"Tom Macejkovic", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3653ms
Completed 500 Internal Server Error in 10ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe19715735334b91250000'), "name"=>"Darrion Rau", "reference"=>"Hassie Cummings", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3979ms
Processing by ProductsController#new as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3301ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 500 Internal Server Error in 9ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe19715735334b91260000'), "name"=>"Tressa Kovacek IV", "reference"=>"Eleanore Jacobi", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4205ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe19715735334b91260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe19715735334b91260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2609ms
Completed 500 Internal Server Error in 7ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe19715735334b91270000'), "name"=>"Stan Marvin", "reference"=>"Mrs. Alvis Gutkowski", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4120ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe19715735334b91270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe19715735334b91270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1714ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe19715735334b91270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2845ms
Redirected to http://test.host/products/52fe19715735334b91270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe19715735334b91280000'), "firstname"=>"Lessie", "lastname"=>"Brakus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4550ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1836ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe19715735334b91290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4548ms
Redirected to http://test.host/users/52fe19715735334b91290000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2389ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe19715735334b912a0000'), "firstname"=>"Amani", "lastname"=>"Wiza"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3508ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2128ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe19715735334b912a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe19715735334b912a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2807ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe19715735334b912a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2705ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1841ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe19715735334b912b0000'), "firstname"=>"Megane", "lastname"=>"Koepp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2488ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe19715735334b912b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe19715735334b912b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2358ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 500 Internal Server Error in 10ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe19715735334b912c0000'), "firstname"=>"Elouise", "lastname"=>"Crooks"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4184ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3738ms
Completed 500 Internal Server Error in 10ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe19715735334b912d0000'), "firstname"=>"Lavinia", "lastname"=>"Bradtke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4080ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 7ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe19715735334b912e0000'), "firstname"=>"Aliya", "lastname"=>"Lind"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4422ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe19715735334b912e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe19715735334b912e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms
Completed 500 Internal Server Error in 7ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe19715735334b912f0000'), "firstname"=>"Twila", "lastname"=>"Johns"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4456ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe19715735334b912f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe19715735334b912f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4126ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe19715735334b912f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6284ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2904ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2982ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2483ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2437ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed000000'), "name"=>"Alexie Streich", "reference"=>"Royal Stracke", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4907ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2496ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3848ms
Redirected to http://test.host/admin/products/52fe1cb25735334bed010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1955ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed020000'), "name"=>"Raina Cassin Jr.", "reference"=>"Arnaldo Bernhard I", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3071ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1860ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe1cb25735334bed020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2792ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3518ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2289ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed030000'), "name"=>"Bridie Fay", "reference"=>"Mrs. Brent Leffler", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3004ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe1cb25735334bed030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2763ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms)
Completed 500 Internal Server Error in 26ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed040000'), "name"=>"Brayan Wehner", "reference"=>"Ms. Raheem Bogan", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4521ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3308ms
Completed 500 Internal Server Error in 8ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed050000'), "name"=>"Dr. Eusebio Leffler", "reference"=>"Hayley Casper", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8254ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 500 Internal Server Error in 9ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed060000'), "name"=>"Kolby Willms DVM", "reference"=>"Jacky Nader", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4722ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe1cb25735334bed060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2861ms
Completed 500 Internal Server Error in 37ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed070000'), "name"=>"Miss Darius Ferry", "reference"=>"Tomasa McGlynn", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4237ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe1cb25735334bed070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3194ms
Redirected to http://test.host/admin/products/52fe1cb25735334bed070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed080000'), "firstname"=>"Christian", "lastname"=>"Cremin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4365ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1706ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4302ms
Redirected to http://test.host/admin/users/52fe1cb25735334bed090000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1939ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed0a0000'), "firstname"=>"Rasheed", "lastname"=>"Crist"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3054ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1778ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe1cb25735334bed0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2510ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed0a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2947ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1748ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed0b0000'), "firstname"=>"Marcelo", "lastname"=>"McClure"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2536ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe1cb25735334bed0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2521ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 500 Internal Server Error in 10ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed0c0000'), "firstname"=>"Reilly", "lastname"=>"Dibbert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4123ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3262ms
Completed 500 Internal Server Error in 9ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed0d0000'), "firstname"=>"Camryn", "lastname"=>"Wiza"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7028ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 8ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed0e0000'), "firstname"=>"Keon", "lastname"=>"Schoen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4639ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe1cb25735334bed0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms
Completed 500 Internal Server Error in 7ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed0f0000'), "firstname"=>"Maureen", "lastname"=>"Reynolds"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4779ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe1cb25735334bed0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2881ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe1cb25735334bed0f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed100000'), "firstname"=>"Blair", "lastname"=>"Kohler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5241ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2746ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5107ms
Redirected to http://test.host/admin/clients/52fe1cb25735334bed110000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2892ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed120000'), "firstname"=>"Savanah", "lastname"=>"Huels"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5128ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2274ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe1cb25735334bed120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3902ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3404ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1923ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed130000'), "firstname"=>"Elmira", "lastname"=>"Block"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2566ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe1cb25735334bed130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2562ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 500 Internal Server Error in 12ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed140000'), "firstname"=>"Lucinda", "lastname"=>"Kulas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5253ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3964ms
Completed 500 Internal Server Error in 10ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed150000'), "firstname"=>"Jordan", "lastname"=>"Mohr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4550ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 500 Internal Server Error in 9ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed160000'), "firstname"=>"Marcia", "lastname"=>"Koelpin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4365ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe1cb25735334bed160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3428ms
Completed 500 Internal Server Error in 9ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed170000'), "firstname"=>"Tyshawn", "lastname"=>"Bogan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4958ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe1cb25735334bed170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2911ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms
Redirected to http://test.host/admin/clients/52fe1cb25735334bed170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed180000'), "firstname"=>"Luis", "lastname"=>"Lynch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2765ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2056ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2848ms
Redirected to http://test.host/clients/52fe1cb25735334bed190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1626ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed1a0000'), "firstname"=>"Charlene", "lastname"=>"Reichert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2002ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1426ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe1cb25735334bed1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1981ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed1a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2295ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1436ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed1b0000'), "firstname"=>"Lisette", "lastname"=>"Murphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2438ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe1cb25735334bed1b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 500 Internal Server Error in 10ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed1c0000'), "firstname"=>"Darrion", "lastname"=>"Torphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4648ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms
Completed 500 Internal Server Error in 10ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed1d0000'), "firstname"=>"Imani", "lastname"=>"Gusikowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 500 Internal Server Error in 8ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed1e0000'), "firstname"=>"Waino", "lastname"=>"Baumbach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4703ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe1cb25735334bed1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2906ms
Completed 500 Internal Server Error in 39ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed1f0000'), "firstname"=>"Elfrieda", "lastname"=>"Champlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4177ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe1cb25735334bed1f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed1f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2667ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed1f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2841ms
Redirected to http://test.host/clients/52fe1cb25735334bed1f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed200000'), "name"=>"Violet Casper", "reference"=>"Meagan Johnston DVM", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1862ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4539ms
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3043ms
Redirected to http://test.host/products/52fe1cb25735334bed210000
Completed 302 Found in 16ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1871ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed220000'), "name"=>"Harmon Predovic", "reference"=>"Ara Bednar", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3137ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1775ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe1cb25735334bed220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2492ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2570ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1806ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed230000'), "name"=>"Alex Reilly II", "reference"=>"Wanda Borer", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2480ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe1cb25735334bed230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2656ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3167ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.4ms)
Completed 500 Internal Server Error in 14ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed240000'), "name"=>"Nakia McGlynn", "reference"=>"Rosamond O'Kon", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4080ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3993ms
Completed 500 Internal Server Error in 10ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed250000'), "name"=>"Sasha Crona", "reference"=>"Cindy Borer", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7763ms
Processing by ProductsController#new as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3572ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms)
Completed 500 Internal Server Error in 10ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed260000'), "name"=>"Jana Murray", "reference"=>"Joseph Lebsack Jr.", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4114ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe1cb25735334bed260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2801ms
Completed 500 Internal Server Error in 7ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed270000'), "name"=>"Maxwell Jast", "reference"=>"Rosie Stoltenberg", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe1cb25735334bed270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1959ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3019ms
Redirected to http://test.host/products/52fe1cb25735334bed270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed280000'), "firstname"=>"Hal", "lastname"=>"Kerluke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4980ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2527ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4493ms
Redirected to http://test.host/users/52fe1cb25735334bed290000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2027ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed2a0000'), "firstname"=>"Eliane", "lastname"=>"Simonis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3354ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2053ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe1cb25735334bed2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2614ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed2a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2650ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1875ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed2b0000'), "firstname"=>"Dean", "lastname"=>"Homenick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2476ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe1cb25735334bed2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 500 Internal Server Error in 11ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed2c0000'), "firstname"=>"Sigrid", "lastname"=>"Kutch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4363ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3735ms
Completed 500 Internal Server Error in 10ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed2d0000'), "firstname"=>"Julio", "lastname"=>"Cole"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 7ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed2e0000'), "firstname"=>"Gerardo", "lastname"=>"Medhurst"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4274ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe1cb25735334bed2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3686ms
Completed 500 Internal Server Error in 8ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1cb25735334bed2f0000'), "firstname"=>"Fletcher", "lastname"=>"Harber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4176ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe1cb25735334bed2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1cb25735334bed2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2652ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe1cb25735334bed2f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7146ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3075ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3099ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3145ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3193ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1cca5735334c48000000'), "name"=>"Cindy Kris", "reference"=>"Mina Eichmann", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4511ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1798ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1cca5735334c48010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms
Redirected to http://test.host/admin/products/52fe1cca5735334c48010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2011ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1cca5735334c48020000'), "name"=>"Wilma Thiel", "reference"=>"Bert Klocko", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3072ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1724ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe1cca5735334c48020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1cca5735334c48020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1cca5735334c48020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2892ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1764ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1cca5735334c48030000'), "name"=>"Marc Cremin", "reference"=>"Woodrow Bode DDS", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2548ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe1cca5735334c48030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1cca5735334c48030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2420ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.7ms)
Completed 500 Internal Server Error in 26ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1cca5735334c48040000'), "name"=>"Baylee Boehm", "reference"=>"Marcia Beahan III", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4279ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3269ms
Completed 500 Internal Server Error in 8ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1cca5735334c48050000'), "name"=>"Dr. Eileen Stracke", "reference"=>"Mariela Morar", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 500 Internal Server Error in 8ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1cca5735334c48060000'), "name"=>"Candelario Carroll", "reference"=>"Ms. Annie Buckridge", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4286ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe1cca5735334c48060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1cca5735334c48060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms
Completed 500 Internal Server Error in 37ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1cca5735334c48070000'), "name"=>"Bethany Wehner", "reference"=>"Mable Hyatt", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4185ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe1cca5735334c48070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1cca5735334c48070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2550ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1cca5735334c48070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3228ms
Redirected to http://test.host/admin/products/52fe1cca5735334c48070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1cca5735334c48080000'), "firstname"=>"Alivia", "lastname"=>"Runte"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4187ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1845ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1cca5735334c48090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3584ms
Redirected to http://test.host/admin/users/52fe1cca5735334c48090000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3151ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1cca5735334c480a0000'), "firstname"=>"Casey", "lastname"=>"Mills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4334ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1760ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe1cca5735334c480a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1cca5735334c480a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2415ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1cca5735334c480a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7074ms
Redirected to http://test.host/admin/users
Completed 302 Found in 8ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2362ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1cca5735334c480b0000'), "firstname"=>"Garett", "lastname"=>"Mills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2695ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe1cca5735334c480b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1cca5735334c480b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3098ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 500 Internal Server Error in 10ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1cca5735334c480c0000'), "firstname"=>"Adrienne", "lastname"=>"Bailey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4459ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3749ms
Completed 500 Internal Server Error in 9ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1cca5735334c480d0000'), "firstname"=>"Maud", "lastname"=>"Schneider"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4137ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 7ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1cca5735334c480e0000'), "firstname"=>"Stewart", "lastname"=>"Murray"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3989ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe1cca5735334c480e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1cca5735334c480e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2377ms
Completed 500 Internal Server Error in 7ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1cca5735334c480f0000'), "firstname"=>"Saul", "lastname"=>"Brekke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4141ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe1cca5735334c480f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1cca5735334c480f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2569ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe1cca5735334c480f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1cca5735334c48100000'), "firstname"=>"Kevin", "lastname"=>"Murazik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4330ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1599ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1cca5735334c48110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4822ms
Redirected to http://test.host/admin/clients/52fe1cca5735334c48110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2183ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1cca5735334c48120000'), "firstname"=>"Fletcher", "lastname"=>"Shields"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 28.5911ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1900ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe1cca5735334c48120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1cca5735334c48120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1cca5735334c48120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3459ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1937ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c48130000'), "firstname"=>"Lukas", "lastname"=>"Conn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2843ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe1ccb5735334c48130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1ccb5735334c48130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 500 Internal Server Error in 12ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c48140000'), "firstname"=>"Devin", "lastname"=>"Dibbert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5111ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3886ms
Completed 500 Internal Server Error in 10ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c48150000'), "firstname"=>"Jamarcus", "lastname"=>"Cruickshank"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4201ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 8ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c48160000'), "firstname"=>"Emmanuelle", "lastname"=>"Schaden"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4164ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe1ccb5735334c48160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1ccb5735334c48160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2449ms
Completed 500 Internal Server Error in 9ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c48170000'), "firstname"=>"America", "lastname"=>"Johnston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4288ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe1ccb5735334c48170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1ccb5735334c48170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1ccb5735334c48170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms
Redirected to http://test.host/admin/clients/52fe1ccb5735334c48170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c48180000'), "firstname"=>"Norval", "lastname"=>"Watsica"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2621ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2158ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c48190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3424ms
Redirected to http://test.host/clients/52fe1ccb5735334c48190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2263ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c481a0000'), "firstname"=>"Vena", "lastname"=>"Hirthe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2787ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1939ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe1ccb5735334c481a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1ccb5735334c481a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1ccb5735334c481a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2511ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1784ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c481b0000'), "firstname"=>"Bertrand", "lastname"=>"Kuphal"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2413ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe1ccb5735334c481b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1ccb5735334c481b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 500 Internal Server Error in 9ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c481c0000'), "firstname"=>"Garnet", "lastname"=>"Rice"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4492ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3512ms
Completed 500 Internal Server Error in 10ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c481d0000'), "firstname"=>"Greg", "lastname"=>"Nolan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3991ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 7ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c481e0000'), "firstname"=>"Breanna", "lastname"=>"Schiller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4298ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe1ccb5735334c481e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1ccb5735334c481e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3575ms
Completed 500 Internal Server Error in 38ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c481f0000'), "firstname"=>"Anais", "lastname"=>"Carter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4253ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe1ccb5735334c481f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1ccb5735334c481f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2379ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1ccb5735334c481f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2902ms
Redirected to http://test.host/clients/52fe1ccb5735334c481f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c48200000'), "name"=>"Austyn Bartoletti", "reference"=>"Jarod Bahringer", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4450ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1491ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4589ms
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c48210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3108ms
Redirected to http://test.host/products/52fe1ccb5735334c48210000
Completed 302 Found in 16ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1902ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c48220000'), "name"=>"Dr. Alysha MacGyver", "reference"=>"Darrin Simonis", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3366ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1991ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe1ccb5735334c48220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1ccb5735334c48220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2939ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1ccb5735334c48220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3052ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2216ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c48230000'), "name"=>"Carleton McCullough V", "reference"=>"Ms. Domingo Dach", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2835ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe1ccb5735334c48230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1ccb5735334c48230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2443ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.1ms)
Completed 500 Internal Server Error in 14ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c48240000'), "name"=>"Johnathan Kilback", "reference"=>"Summer Abernathy", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3704ms
Completed 500 Internal Server Error in 10ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c48250000'), "name"=>"Russel Keebler", "reference"=>"Ms. Rowland Tremblay", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4114ms
Processing by ProductsController#new as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 500 Internal Server Error in 9ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c48260000'), "name"=>"Raven Mohr", "reference"=>"Nyasia McCullough", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4487ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe1ccb5735334c48260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1ccb5735334c48260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2556ms
Completed 500 Internal Server Error in 7ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c48270000'), "name"=>"Miss Conor Reichert", "reference"=>"Rosendo Carter IV", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe1ccb5735334c48270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1ccb5735334c48270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2534ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1667ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1ccb5735334c48270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2789ms
Redirected to http://test.host/products/52fe1ccb5735334c48270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c48280000'), "firstname"=>"Osbaldo", "lastname"=>"Nienow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3939ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1777ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c48290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4264ms
Redirected to http://test.host/users/52fe1ccb5735334c48290000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1937ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c482a0000'), "firstname"=>"Grayce", "lastname"=>"Feil"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3077ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1784ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe1ccb5735334c482a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1ccb5735334c482a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1ccb5735334c482a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2689ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1812ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c482b0000'), "firstname"=>"Madge", "lastname"=>"Feil"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2496ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe1ccb5735334c482b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1ccb5735334c482b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 500 Internal Server Error in 11ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c482c0000'), "firstname"=>"Virgil", "lastname"=>"Howe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3547ms
Completed 500 Internal Server Error in 10ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c482d0000'), "firstname"=>"Dejon", "lastname"=>"Emmerich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4158ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 7ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c482e0000'), "firstname"=>"Erich", "lastname"=>"Kunze"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4136ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe1ccb5735334c482e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1ccb5735334c482e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms
Completed 500 Internal Server Error in 7ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1ccb5735334c482f0000'), "firstname"=>"Hettie", "lastname"=>"Lynch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4685ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe1ccb5735334c482f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1ccb5735334c482f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4147ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe1ccb5735334c482f0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7159ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3362ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3316ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2789ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2694ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5000000'), "name"=>"Miss Ashlee Stoltenberg", "reference"=>"Arnaldo Trantow", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4819ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2249ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3556ms
Redirected to http://test.host/admin/products/52fe1d0e5735334ca5010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1943ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5020000'), "name"=>"Earlene Effertz", "reference"=>"Austen Koch", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3240ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1663ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe1d0e5735334ca5020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca5020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2403ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca5020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.5170ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1949ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5030000'), "name"=>"Caitlyn Weber", "reference"=>"Lucious Corkery MD", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2629ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe1d0e5735334ca5030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca5030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2465ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.4ms)
Completed 500 Internal Server Error in 26ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5040000'), "name"=>"Casey Wiegand", "reference"=>"Jazmyn Fay", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4761ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3353ms
Completed 500 Internal Server Error in 8ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5050000'), "name"=>"Leann Fadel", "reference"=>"Hertha Bernhard", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4293ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 500 Internal Server Error in 8ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5060000'), "name"=>"Oliver Hoppe", "reference"=>"Miss Dulce Pouros", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4026ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe1d0e5735334ca5060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca5060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2164ms
Completed 500 Internal Server Error in 38ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5070000'), "name"=>"Mr. Dannie Shields", "reference"=>"Cooper Langworth", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe1d0e5735334ca5070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca5070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca5070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0720ms
Redirected to http://test.host/admin/products/52fe1d0e5735334ca5070000
Completed 302 Found in 7ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5080000'), "firstname"=>"Cleta", "lastname"=>"Marquardt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4678ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2287ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4157ms
Redirected to http://test.host/admin/users/52fe1d0e5735334ca5090000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2424ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca50a0000'), "firstname"=>"Estefania", "lastname"=>"Cruickshank"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3588ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2231ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe1d0e5735334ca50a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca50a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2986ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca50a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3450ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1868ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca50b0000'), "firstname"=>"Mckenna", "lastname"=>"Lang"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2510ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe1d0e5735334ca50b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca50b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2553ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 500 Internal Server Error in 10ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca50c0000'), "firstname"=>"Zachariah", "lastname"=>"Nitzsche"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4909ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms
Completed 500 Internal Server Error in 8ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca50d0000'), "firstname"=>"Haylie", "lastname"=>"Mayert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 7ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca50e0000'), "firstname"=>"Laurel", "lastname"=>"Zieme"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4156ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe1d0e5735334ca50e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca50e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms
Completed 500 Internal Server Error in 7ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca50f0000'), "firstname"=>"Ramon", "lastname"=>"Wisozk"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4344ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe1d0e5735334ca50f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca50f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2708ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe1d0e5735334ca50f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5100000'), "firstname"=>"Rodger", "lastname"=>"Blick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4313ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1681ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4851ms
Redirected to http://test.host/admin/clients/52fe1d0e5735334ca5110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2068ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5120000'), "firstname"=>"Bud", "lastname"=>"Nolan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 28.8213ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2306ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe1d0e5735334ca5120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca5120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3837ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca5120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3531ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2380ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5130000'), "firstname"=>"Ulises", "lastname"=>"Gulgowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2969ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe1d0e5735334ca5130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca5130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2969ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 500 Internal Server Error in 12ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5140000'), "firstname"=>"Florida", "lastname"=>"Breitenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4432ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3904ms
Completed 500 Internal Server Error in 10ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5150000'), "firstname"=>"Randy", "lastname"=>"Heidenreich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4217ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 8ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5160000'), "firstname"=>"Enrique", "lastname"=>"Reinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe1d0e5735334ca5160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca5160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2503ms
Completed 500 Internal Server Error in 8ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5170000'), "firstname"=>"Rosa", "lastname"=>"Weber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4297ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe1d0e5735334ca5170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca5170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2591ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca5170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3163ms
Redirected to http://test.host/admin/clients/52fe1d0e5735334ca5170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5180000'), "firstname"=>"Bruce", "lastname"=>"Robel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2691ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1981ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2944ms
Redirected to http://test.host/clients/52fe1d0e5735334ca5190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1869ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca51a0000'), "firstname"=>"Eldred", "lastname"=>"Brown"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2337ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1688ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe1d0e5735334ca51a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca51a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2429ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca51a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2544ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1781ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca51b0000'), "firstname"=>"Zoila", "lastname"=>"Kertzmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2374ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe1d0e5735334ca51b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca51b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2377ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 500 Internal Server Error in 9ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca51c0000'), "firstname"=>"Veronica", "lastname"=>"Lind"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4606ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3591ms
Completed 500 Internal Server Error in 10ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca51d0000'), "firstname"=>"Elfrieda", "lastname"=>"Bradtke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4237ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 7ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca51e0000'), "firstname"=>"Birdie", "lastname"=>"Considine"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4404ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe1d0e5735334ca51e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca51e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3536ms
Completed 500 Internal Server Error in 39ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca51f0000'), "firstname"=>"Erica", "lastname"=>"Tromp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4278ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe1d0e5735334ca51f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca51f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2569ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca51f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2690ms
Redirected to http://test.host/clients/52fe1d0e5735334ca51f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5200000'), "name"=>"Garnet Moore", "reference"=>"Emmanuel Monahan", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4252ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1828ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4420ms
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3013ms
Redirected to http://test.host/products/52fe1d0e5735334ca5210000
Completed 302 Found in 16ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1869ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5220000'), "name"=>"Juvenal Feil", "reference"=>"Pink Kuvalis", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3158ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1644ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe1d0e5735334ca5220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca5220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2796ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca5220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0736ms
Redirected to http://test.host/products
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2265ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5230000'), "name"=>"Juvenal Shanahan", "reference"=>"Edd Rogahn", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2967ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe1d0e5735334ca5230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca5230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3493ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 500 Internal Server Error in 14ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5240000'), "name"=>"Miss Colten Krajcik", "reference"=>"Khalid Wunsch IV", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4231ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3774ms
Completed 500 Internal Server Error in 10ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5250000'), "name"=>"Mrs. Melyssa Kovacek", "reference"=>"Mandy Swaniawski", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4136ms
Processing by ProductsController#new as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2857ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 500 Internal Server Error in 9ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5260000'), "name"=>"Josianne Harris DDS", "reference"=>"Miss Britney Mohr", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4092ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe1d0e5735334ca5260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca5260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2284ms
Completed 500 Internal Server Error in 7ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5270000'), "name"=>"Marc Quitzon Jr.", "reference"=>"Mr. Terrill Bailey", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4568ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe1d0e5735334ca5270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca5270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1719ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca5270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3252ms
Redirected to http://test.host/products/52fe1d0e5735334ca5270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5280000'), "firstname"=>"Donato", "lastname"=>"Dach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5198ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2602ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca5290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0827ms
Redirected to http://test.host/users/52fe1d0e5735334ca5290000
Completed 302 Found in 5ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2493ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca52a0000'), "firstname"=>"Rogelio", "lastname"=>"West"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2264ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe1d0e5735334ca52a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca52a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2940ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca52a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3125ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2360ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca52b0000'), "firstname"=>"Lorine", "lastname"=>"Boyle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2553ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe1d0e5735334ca52b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca52b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2628ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 500 Internal Server Error in 11ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca52c0000'), "firstname"=>"Alessandro", "lastname"=>"Cruickshank"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4895ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3666ms
Completed 500 Internal Server Error in 10ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca52d0000'), "firstname"=>"Eve", "lastname"=>"Conroy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4069ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 7ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d0e5735334ca52e0000'), "firstname"=>"Willy", "lastname"=>"West"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4738ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe1d0e5735334ca52e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1d0e5735334ca52e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3696ms
Completed 500 Internal Server Error in 8ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d0f5735334ca52f0000'), "firstname"=>"Isabelle", "lastname"=>"Johns"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4333ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe1d0f5735334ca52f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1d0f5735334ca52f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2570ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe1d0f5735334ca52f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6352ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2818ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2952ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2489ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d835735334d60000000'), "name"=>"Marielle Mohr", "reference"=>"Mr. Marguerite Walter", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4884ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2318ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d835735334d60010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3658ms
Redirected to http://test.host/admin/products/52fe1d835735334d60010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2168ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60020000'), "name"=>"Yesenia Friesen", "reference"=>"Miss Stephen Willms", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3353ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1993ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe1d845735334d60020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1d845735334d60020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2539ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1d845735334d60020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3265ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1985ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60030000'), "name"=>"Mathilde Waelchi", "reference"=>"Jaiden Barton DDS", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3004ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe1d845735334d60030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1d845735334d60030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.7ms)
Completed 500 Internal Server Error in 27ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60040000'), "name"=>"Adele Tillman", "reference"=>"Marlin Treutel", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5113ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3427ms
Completed 500 Internal Server Error in 9ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60050000'), "name"=>"Lemuel Gerlach", "reference"=>"Shania Halvorson", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 500 Internal Server Error in 10ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60060000'), "name"=>"Elyssa O'Connell", "reference"=>"Abagail Conn DDS", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4320ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe1d845735334d60060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1d845735334d60060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2538ms
Completed 500 Internal Server Error in 38ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60070000'), "name"=>"Suzanne Boyer", "reference"=>"Ms. Jaren Littel", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4316ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe1d845735334d60070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1d845735334d60070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2614ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1d845735334d60070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3241ms
Redirected to http://test.host/admin/products/52fe1d845735334d60070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60080000'), "firstname"=>"Dagmar", "lastname"=>"Kunze"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5348ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1988ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3428ms
Redirected to http://test.host/admin/users/52fe1d845735334d60090000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1936ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d600a0000'), "firstname"=>"Carmella", "lastname"=>"Lind"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3214ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2270ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe1d845735334d600a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1d845735334d600a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3041ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1d845735334d600a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3057ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1855ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d600b0000'), "firstname"=>"Minerva", "lastname"=>"Nikolaus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2486ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe1d845735334d600b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1d845735334d600b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 500 Internal Server Error in 11ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d600c0000'), "firstname"=>"Marlen", "lastname"=>"Wolff"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4376ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3216ms
Completed 500 Internal Server Error in 9ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d600d0000'), "firstname"=>"Damon", "lastname"=>"Ebert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 8ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d600e0000'), "firstname"=>"Rusty", "lastname"=>"White"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4171ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe1d845735334d600e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1d845735334d600e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4029ms
Completed 500 Internal Server Error in 8ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d600f0000'), "firstname"=>"Lisette", "lastname"=>"Jenkins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4201ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe1d845735334d600f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1d845735334d600f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe1d845735334d600f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60100000'), "firstname"=>"Emilia", "lastname"=>"Keeling"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4845ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1827ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3278ms
Redirected to http://test.host/admin/clients/52fe1d845735334d60110000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1884ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60120000'), "firstname"=>"Jolie", "lastname"=>"Durgan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3032ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1746ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe1d845735334d60120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1d845735334d60120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2520ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1d845735334d60120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2938ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 29.2548ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60130000'), "firstname"=>"Emelia", "lastname"=>"Sauer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3053ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe1d845735334d60130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1d845735334d60130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3665ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 500 Internal Server Error in 16ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60140000'), "firstname"=>"Makenna", "lastname"=>"Towne"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4487ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3377ms
Completed 500 Internal Server Error in 10ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60150000'), "firstname"=>"Orion", "lastname"=>"Funk"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4076ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 9ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60160000'), "firstname"=>"Horace", "lastname"=>"O'Hara"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4885ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe1d845735334d60160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1d845735334d60160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms
Completed 500 Internal Server Error in 9ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60170000'), "firstname"=>"Robert", "lastname"=>"Cartwright"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4098ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe1d845735334d60170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1d845735334d60170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2654ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1d845735334d60170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3191ms
Redirected to http://test.host/admin/clients/52fe1d845735334d60170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60180000'), "firstname"=>"Lorna", "lastname"=>"Klein"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2641ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1768ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2970ms
Redirected to http://test.host/clients/52fe1d845735334d60190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1808ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d601a0000'), "firstname"=>"Dandre", "lastname"=>"Hilpert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1684ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe1d845735334d601a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1d845735334d601a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2174ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1d845735334d601a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2298ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1694ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d601b0000'), "firstname"=>"Trey", "lastname"=>"Graham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2707ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe1d845735334d601b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1d845735334d601b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3703ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 500 Internal Server Error in 10ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d601c0000'), "firstname"=>"Nolan", "lastname"=>"Schumm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7678ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3573ms
Completed 500 Internal Server Error in 11ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d601d0000'), "firstname"=>"Dandre", "lastname"=>"Douglas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 500 Internal Server Error in 8ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d601e0000'), "firstname"=>"Micaela", "lastname"=>"Barrows"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4389ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe1d845735334d601e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1d845735334d601e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2709ms
Completed 500 Internal Server Error in 40ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d601f0000'), "firstname"=>"Montana", "lastname"=>"Crooks"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4899ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe1d845735334d601f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1d845735334d601f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2927ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1d845735334d601f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3200ms
Redirected to http://test.host/clients/52fe1d845735334d601f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60200000'), "name"=>"Mariane Homenick", "reference"=>"Ocie Cartwright", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4941ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1918ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4455ms
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2988ms
Redirected to http://test.host/products/52fe1d845735334d60210000
Completed 302 Found in 16ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1837ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60220000'), "name"=>"Ryley Shanahan", "reference"=>"Chelsey Gutmann", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1921ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2400ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe1d845735334d60220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1d845735334d60220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3199ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1d845735334d60220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3175ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2303ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60230000'), "name"=>"Earline Larson IV", "reference"=>"Mrs. Hillary Howell", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2608ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe1d845735334d60230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1d845735334d60230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2555ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2809ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms)
Completed 500 Internal Server Error in 13ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60240000'), "name"=>"Solon O'Hara", "reference"=>"Miss Kamren Ullrich", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4213ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4463ms
Completed 500 Internal Server Error in 11ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60250000'), "name"=>"Madalyn Gerhold", "reference"=>"Reyna Walter", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4255ms
Processing by ProductsController#new as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2614ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 500 Internal Server Error in 9ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60260000'), "name"=>"Irving Kertzmann", "reference"=>"Clarissa Rempel", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe1d845735334d60260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1d845735334d60260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms
Completed 500 Internal Server Error in 8ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60270000'), "name"=>"Abbie Stokes V", "reference"=>"Bernie Bailey", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4497ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe1d845735334d60270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1d845735334d60270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1671ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1d845735334d60270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3121ms
Redirected to http://test.host/products/52fe1d845735334d60270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60280000'), "firstname"=>"Madelynn", "lastname"=>"Leannon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3976ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1794ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d60290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3155ms
Redirected to http://test.host/users/52fe1d845735334d60290000
Completed 302 Found in 32ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3473ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d602a0000'), "firstname"=>"Brooke", "lastname"=>"Muller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3410ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1811ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe1d845735334d602a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1d845735334d602a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3012ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1d845735334d602a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2710ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2933ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d602b0000'), "firstname"=>"Toni", "lastname"=>"Auer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3911ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe1d845735334d602b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1d845735334d602b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 500 Internal Server Error in 11ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d602c0000'), "firstname"=>"Ole", "lastname"=>"Johns"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4272ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3562ms
Completed 500 Internal Server Error in 11ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d602d0000'), "firstname"=>"Brandon", "lastname"=>"Skiles"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4577ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 8ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d602e0000'), "firstname"=>"Gudrun", "lastname"=>"Rosenbaum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4264ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe1d845735334d602e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1d845735334d602e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms
Completed 500 Internal Server Error in 8ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1d845735334d602f0000'), "firstname"=>"Jordi", "lastname"=>"Murazik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4037ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe1d845735334d602f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1d845735334d602f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2904ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe1d845735334d602f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6203ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2745ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2770ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2775ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc000000'), "name"=>"Magnolia Pouros", "reference"=>"Cathrine Rodriguez V", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5048ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2374ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3698ms
Redirected to http://test.host/admin/products/52fe1db95735334dfc010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2239ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc020000'), "name"=>"Savion Tromp", "reference"=>"Eda Franecki", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3316ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2025ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe1db95735334dfc020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2769ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3228ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2002ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc030000'), "name"=>"Noe Hodkiewicz", "reference"=>"Clement Prosacco", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2605ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe1db95735334dfc030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 200 OK in 72ms (Views: 71.2ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc040000'), "name"=>"Jaiden Hayes", "reference"=>"Mr. Lonie Hoeger", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4562ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3314ms
Completed 200 OK in 5ms (Views: 4.7ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc050000'), "name"=>"Darrel Stoltenberg", "reference"=>"Brennon Hodkiewicz", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 5ms (Views: 4.1ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc060000'), "name"=>"Yasmeen Rogahn", "reference"=>"Jocelyn Boyle I", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3739ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe1db95735334dfc060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2703ms
Completed 200 OK in 4ms (Views: 2.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc070000'), "name"=>"Shawna Greenholt", "reference"=>"Bulah Weber DVM", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3522ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe1db95735334dfc070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2798ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3804ms
Redirected to http://test.host/admin/products/52fe1db95735334dfc070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc080000'), "firstname"=>"Heidi", "lastname"=>"Rice"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8285ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2566ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms
Redirected to http://test.host/admin/users/52fe1db95735334dfc090000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2320ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc0a0000'), "firstname"=>"Trisha", "lastname"=>"Witting"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3568ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2235ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe1db95735334dfc0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc0a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4200ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc0a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3754ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1963ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc0b0000'), "firstname"=>"Zelda", "lastname"=>"Legros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2616ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe1db95735334dfc0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2609ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 6.3ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc0c0000'), "firstname"=>"Lura", "lastname"=>"Hilpert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5165ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3509ms
Completed 200 OK in 5ms (Views: 4.5ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc0d0000'), "firstname"=>"Jennings", "lastname"=>"Deckow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3326ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 3.6ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc0e0000'), "firstname"=>"Jackeline", "lastname"=>"Barrows"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4406ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe1db95735334dfc0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3146ms
Completed 200 OK in 4ms (Views: 2.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc0f0000'), "firstname"=>"Amelie", "lastname"=>"Balistreri"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3860ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe1db95735334dfc0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2645ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe1db95735334dfc0f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc100000'), "firstname"=>"Ericka", "lastname"=>"Kovacek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4334ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2276ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7726ms
Redirected to http://test.host/admin/clients/52fe1db95735334dfc110000
Completed 302 Found in 8ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2224ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc120000'), "firstname"=>"Timmy", "lastname"=>"Hayes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3038ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1935ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe1db95735334dfc120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3916ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3641ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1905ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc130000'), "firstname"=>"Marlon", "lastname"=>"Renner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2607ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe1db95735334dfc130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 6.7ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc140000'), "firstname"=>"Aubrey", "lastname"=>"Goodwin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3696ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3263ms
Completed 200 OK in 5ms (Views: 4.4ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc150000'), "firstname"=>"Dave", "lastname"=>"Hermiston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4387ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 5ms (Views: 4.2ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc160000'), "firstname"=>"Amira", "lastname"=>"McClure"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe1db95735334dfc160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms
Completed 200 OK in 4ms (Views: 3.0ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc170000'), "firstname"=>"Leonor", "lastname"=>"Zboncak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3801ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe1db95735334dfc170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2506ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3146ms
Redirected to http://test.host/admin/clients/52fe1db95735334dfc170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc180000'), "firstname"=>"Stone", "lastname"=>"Schuster"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2732ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1767ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2999ms
Redirected to http://test.host/clients/52fe1db95735334dfc190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1816ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc1a0000'), "firstname"=>"Iva", "lastname"=>"Crist"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2640ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1715ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe1db95735334dfc1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3827ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc1a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3298ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1858ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc1b0000'), "firstname"=>"Jarrod", "lastname"=>"Padberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe1db95735334dfc1b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2580ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 3.5ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc1c0000'), "firstname"=>"Amir", "lastname"=>"Weber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3433ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3650ms
Completed 200 OK in 38ms (Views: 37.7ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc1d0000'), "firstname"=>"Price", "lastname"=>"Conn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4225ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 4ms (Views: 3.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc1e0000'), "firstname"=>"Laurianne", "lastname"=>"Fahey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4212ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe1db95735334dfc1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2461ms
Completed 200 OK in 3ms (Views: 2.0ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc1f0000'), "firstname"=>"Cathrine", "lastname"=>"Carroll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3644ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe1db95735334dfc1f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc1f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2761ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc1f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2943ms
Redirected to http://test.host/clients/52fe1db95735334dfc1f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc200000'), "name"=>"Tavares Zboncak Jr.", "reference"=>"Ashley Christiansen", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4342ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1502ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4836ms
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2893ms
Redirected to http://test.host/products/52fe1db95735334dfc210000
Completed 302 Found in 16ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1864ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc220000'), "name"=>"Dr. Leora Walsh", "reference"=>"Kaitlin Herman", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3354ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2234ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe1db95735334dfc220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3038ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3258ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2294ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc230000'), "name"=>"Dr. Brandt Grady", "reference"=>"Lorenza Wuckert", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe1db95735334dfc230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2987ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2446ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.1ms)
Completed 200 OK in 10ms (Views: 8.6ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc240000'), "name"=>"Clement Nicolas", "reference"=>"Vella Rau", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4873ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3884ms
Completed 200 OK in 7ms (Views: 6.1ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc250000'), "name"=>"Trystan Veum", "reference"=>"Alivia Mosciski", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3394ms
Processing by ProductsController#new as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2728ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 5ms (Views: 4.9ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc260000'), "name"=>"Therese Fisher", "reference"=>"Philip Terry", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3508ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe1db95735334dfc260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2826ms
Completed 200 OK in 4ms (Views: 2.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc270000'), "name"=>"Mrs. Travis Schulist", "reference"=>"Rosendo Konopelski", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2978ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe1db95735334dfc270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3874ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2511ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3131ms
Redirected to http://test.host/products/52fe1db95735334dfc270000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc280000'), "firstname"=>"Stephania", "lastname"=>"Klocko"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4130ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1637ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3087ms
Redirected to http://test.host/users/52fe1db95735334dfc290000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1712ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc2a0000'), "firstname"=>"Shane", "lastname"=>"Keebler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2844ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1554ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe1db95735334dfc2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2305ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc2a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2364ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1589ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc2b0000'), "firstname"=>"Bert", "lastname"=>"Wiegand"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2192ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe1db95735334dfc2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2288ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 6ms (Views: 5.3ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc2c0000'), "firstname"=>"Yvonne", "lastname"=>"Lemke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4057ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4025ms
Completed 200 OK in 7ms (Views: 6.2ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc2d0000'), "firstname"=>"Gerard", "lastname"=>"O'Conner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3200ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc2e0000'), "firstname"=>"Patrick", "lastname"=>"Cronin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3878ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe1db95735334dfc2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2443ms
Completed 200 OK in 4ms (Views: 2.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe1db95735334dfc2f0000'), "firstname"=>"Kendra", "lastname"=>"Ritchie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4114ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe1db95735334dfc2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe1db95735334dfc2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe1db95735334dfc2f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6414ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2712ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3615ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2676ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20a5573533505d000000'), "name"=>"Dr. Saul Mante", "reference"=>"Vern Pagac", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4824ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1894ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20a5573533505d010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3912ms
Redirected to http://test.host/admin/products/52fe20a5573533505d010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1986ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20a5573533505d020000'), "name"=>"Megane Kub", "reference"=>"Sylvia Fadel V", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3142ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2042ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe20a5573533505d020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe20a5573533505d020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe20a5573533505d020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2935ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2300ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20a5573533505d030000'), "name"=>"Lura Gottlieb Jr.", "reference"=>"Hailee Lynch", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3033ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe20a5573533505d030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe20a5573533505d030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3101ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.3ms)
Completed 200 OK in 25ms (Views: 23.9ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20a5573533505d040000'), "name"=>"Destiney Grimes", "reference"=>"Flavie Howe", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4583ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3269ms
Completed 200 OK in 5ms (Views: 4.4ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20a5573533505d050000'), "name"=>"Westley Ritchie", "reference"=>"Ms. Mina Schroeder", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3244ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 200 OK in 46ms (Views: 4.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20a5573533505d080000'), "name"=>"Constantin Blick", "reference"=>"Woodrow Schuster", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4372ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe20a5573533505d080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe20a5573533505d080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2601ms
Completed 200 OK in 4ms (Views: 2.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20a5573533505d090000'), "name"=>"Else Hilpert", "reference"=>"Dandre Stamm", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3845ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe20a5573533505d090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe20a5573533505d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe20a5573533505d090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3203ms
Redirected to http://test.host/admin/products/52fe20a5573533505d090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe20a5573533505d0a0000'), "firstname"=>"Una", "lastname"=>"McCullough"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4233ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1827ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe20a5573533505d0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3161ms
Redirected to http://test.host/admin/users/52fe20a5573533505d0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1874ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe20a5573533505d0c0000'), "firstname"=>"Domenico", "lastname"=>"Adams"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2898ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1755ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe20a5573533505d0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe20a5573533505d0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3933ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe20a5573533505d0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2964ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1685ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe20a5573533505d0d0000'), "firstname"=>"Marcellus", "lastname"=>"Greenfelder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2318ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe20a5573533505d0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe20a5573533505d0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2326ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 5.6ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe20a5573533505d0e0000'), "firstname"=>"Courtney", "lastname"=>"Daugherty"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2980ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe20a5573533505d0f0000'), "firstname"=>"Salvador", "lastname"=>"Dickens"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3100ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.4ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe20a5573533505d100000'), "firstname"=>"Thomas", "lastname"=>"Stehr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3785ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe20a5573533505d100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe20a5573533505d100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3463ms
Completed 200 OK in 4ms (Views: 2.9ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe20a5573533505d110000'), "firstname"=>"Diana", "lastname"=>"Gibson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe20a5573533505d110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe20a5573533505d110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe20a5573533505d110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20a5573533505d120000'), "firstname"=>"Veda", "lastname"=>"Crist"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4436ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1686ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20a5573533505d130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8975ms
Redirected to http://test.host/admin/clients/52fe20a5573533505d130000
Completed 302 Found in 7ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2049ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20a5573533505d140000'), "firstname"=>"Eveline", "lastname"=>"Jacobi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3389ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1982ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe20a5573533505d140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe20a5573533505d140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2999ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe20a5573533505d140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3061ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1911ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20a5573533505d150000'), "firstname"=>"Reanna", "lastname"=>"Daniel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2523ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe20a5573533505d150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe20a5573533505d150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2250ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 6.7ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20a5573533505d160000'), "firstname"=>"Ike", "lastname"=>"Sawayn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4454ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4333ms
Completed 200 OK in 6ms (Views: 5.2ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20a5573533505d170000'), "firstname"=>"Jessie", "lastname"=>"McCullough"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4252ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 4.3ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20a5573533505d180000'), "firstname"=>"Yasmeen", "lastname"=>"Smith"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe20a5573533505d180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe20a5573533505d180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2716ms
Completed 200 OK in 4ms (Views: 3.0ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20a5573533505d190000'), "firstname"=>"Amir", "lastname"=>"Ziemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3798ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe20a5573533505d190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe20a5573533505d190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2554ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe20a5573533505d190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3199ms
Redirected to http://test.host/admin/clients/52fe20a5573533505d190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20a6573533505d1a0000'), "firstname"=>"Linwood", "lastname"=>"Huels"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2661ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1802ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20a6573533505d1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms
Redirected to http://test.host/clients/52fe20a6573533505d1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2355ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20a6573533505d1c0000'), "firstname"=>"Brook", "lastname"=>"Hartmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3242ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2295ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe20a6573533505d1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe20a6573533505d1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4167ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe20a6573533505d1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3172ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2111ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20a6573533505d1d0000'), "firstname"=>"Noemie", "lastname"=>"Kunde"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2698ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe20a6573533505d1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe20a6573533505d1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2618ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 3.6ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20a6573533505d1e0000'), "firstname"=>"Ernest", "lastname"=>"McGlynn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3362ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3654ms
Completed 200 OK in 7ms (Views: 6.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20a6573533505d1f0000'), "firstname"=>"Johan", "lastname"=>"Hodkiewicz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3671ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 5ms (Views: 3.9ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20a6573533505d200000'), "firstname"=>"Jasper", "lastname"=>"Schimmel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4227ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe20a6573533505d200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe20a6573533505d200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms
Completed 200 OK in 3ms (Views: 1.9ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20a6573533505d210000'), "firstname"=>"Daisha", "lastname"=>"Greenholt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3257ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe20a6573533505d210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe20a6573533505d210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2633ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe20a6573533505d210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2748ms
Redirected to http://test.host/clients/52fe20a6573533505d210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20a6573533505d220000'), "name"=>"Donald Feil Jr.", "reference"=>"Aisha Bashirian", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4059ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1823ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20a6573533505d230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms
Redirected to http://test.host/products/52fe20a6573533505d230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1912ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20a6573533505d240000'), "name"=>"Jasmin Powlowski", "reference"=>"Mrs. Dovie Schmidt", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3198ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1853ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe20a6573533505d240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe20a6573533505d240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3953ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe20a6573533505d240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3528ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1716ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20a6573533505d250000'), "name"=>"Brandt Towne", "reference"=>"Lavada Williamson", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2315ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe20a6573533505d250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe20a6573533505d250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2378ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.7ms)
Completed 500 Internal Server Error in 9ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20a6573533505d260000'), "name"=>"Pink Rosenbaum Jr.", "reference"=>"Jamison Hilpert", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4043ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3703ms
Completed 200 OK in 6ms (Views: 6.0ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20a6573533505d270000'), "name"=>"Dameon Paucek", "reference"=>"Libbie Mann", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3150ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 6ms (Views: 5.3ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20a6573533505d290000'), "name"=>"Ms. Carli Klein", "reference"=>"Alexandra Farrell", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4092ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe20a6573533505d290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe20a6573533505d290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2430ms
Completed 200 OK in 4ms (Views: 2.4ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20a6573533505d2a0000'), "name"=>"Grace Mann", "reference"=>"Kaley Armstrong", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3629ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe20a6573533505d2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe20a6573533505d2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2514ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe20a6573533505d2a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2523ms
Redirected to http://test.host/products/52fe20a6573533505d2a0000
Completed 302 Found in 2ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe20a6573533505d2b0000'), "firstname"=>"Webster", "lastname"=>"Stanton"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4377ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1707ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe20a6573533505d2c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3321ms
Redirected to http://test.host/users/52fe20a6573533505d2c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1784ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe20a6573533505d2d0000'), "firstname"=>"Maggie", "lastname"=>"Cormier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2840ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1601ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe20a6573533505d2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe20a6573533505d2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2394ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe20a6573533505d2d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2379ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1644ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe20a6573533505d2e0000'), "firstname"=>"Fiona", "lastname"=>"Adams"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2821ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe20a6573533505d2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe20a6573533505d2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 7ms (Views: 5.6ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe20a6573533505d2f0000'), "firstname"=>"Nick", "lastname"=>"Goyette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4373ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3583ms
Completed 200 OK in 6ms (Views: 5.9ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe20a6573533505d300000'), "firstname"=>"Silas", "lastname"=>"Jast"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3738ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 4ms (Views: 3.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe20a6573533505d310000'), "firstname"=>"Haylie", "lastname"=>"Satterfield"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4227ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe20a6573533505d310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe20a6573533505d310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms
Completed 200 OK in 4ms (Views: 2.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe20a6573533505d320000'), "firstname"=>"Marlee", "lastname"=>"Fahey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3726ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe20a6573533505d320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe20a6573533505d320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe20a6573533505d320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5968ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4031ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3529ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3574ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20e75735335094000000'), "name"=>"Dejah Collins", "reference"=>"Ike Larson DDS", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4519ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1837ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20e75735335094010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3904ms
Redirected to http://test.host/admin/products/52fe20e75735335094010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2113ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20e75735335094020000'), "name"=>"Oren Orn", "reference"=>"Ella Bradtke", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3172ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1766ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe20e75735335094020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe20e75735335094020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2503ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe20e75735335094020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2940ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1820ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20e75735335094030000'), "name"=>"Hiram Nitzsche", "reference"=>"Richmond Collier Sr.", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2495ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe20e75735335094030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe20e75735335094030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.3ms)
Completed 200 OK in 25ms (Views: 23.8ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20e75735335094040000'), "name"=>"Maximus Kassulke", "reference"=>"Georgianna Mosciski", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4426ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3197ms
Completed 200 OK in 5ms (Views: 4.4ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20e75735335094050000'), "name"=>"Cielo O'Keefe", "reference"=>"Emmanuelle Schowalter", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3244ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 200 OK in 46ms (Views: 4.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20e75735335094080000'), "name"=>"Eli Cassin", "reference"=>"Alexys Armstrong", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4205ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe20e75735335094080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe20e75735335094080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms
Completed 200 OK in 4ms (Views: 2.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20e75735335094090000'), "name"=>"Miss Garrett Langworth", "reference"=>"Jettie Wolf", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3978ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe20e75735335094090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe20e75735335094090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2815ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe20e75735335094090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9816ms
Redirected to http://test.host/admin/products/52fe20e75735335094090000
Completed 302 Found in 8ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe20e757353350940a0000'), "firstname"=>"Chesley", "lastname"=>"Emmerich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4565ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1957ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe20e757353350940b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3864ms
Redirected to http://test.host/admin/users/52fe20e757353350940b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3111ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe20e757353350940c0000'), "firstname"=>"Roosevelt", "lastname"=>"Witting"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1616ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe20e757353350940c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe20e757353350940c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2285ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe20e757353350940c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2730ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1619ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe20e757353350940d0000'), "firstname"=>"Ivory", "lastname"=>"Rice"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2219ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe20e757353350940d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe20e757353350940d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2226ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 5.8ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe20e857353350940e0000'), "firstname"=>"Casimir", "lastname"=>"Breitenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3874ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3438ms
Completed 200 OK in 5ms (Views: 4.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe20e857353350940f0000'), "firstname"=>"Tanner", "lastname"=>"Breitenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3295ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 3.7ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe20e85735335094100000'), "firstname"=>"Norma", "lastname"=>"Sawayn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4362ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe20e85735335094100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe20e85735335094100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2774ms
Completed 200 OK in 4ms (Views: 2.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe20e85735335094110000'), "firstname"=>"Nathen", "lastname"=>"Paucek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3729ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe20e85735335094110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe20e85735335094110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe20e85735335094110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20e85735335094120000'), "firstname"=>"Skye", "lastname"=>"Bartell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4912ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1507ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20e85735335094130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3535ms
Redirected to http://test.host/admin/clients/52fe20e85735335094130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1995ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20e85735335094140000'), "firstname"=>"Earl", "lastname"=>"Ankunding"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3093ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1762ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe20e85735335094140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe20e85735335094140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2440ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe20e85735335094140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2981ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1840ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20e85735335094150000'), "firstname"=>"Kareem", "lastname"=>"Wisozk"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2475ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe20e85735335094150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe20e85735335094150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 6.8ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20e85735335094160000'), "firstname"=>"Cathryn", "lastname"=>"Rosenbaum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4216ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3809ms
Completed 200 OK in 6ms (Views: 5.0ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20e85735335094170000'), "firstname"=>"Rey", "lastname"=>"Braun"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 4.3ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20e85735335094180000'), "firstname"=>"Alena", "lastname"=>"Krajcik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4057ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe20e85735335094180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe20e85735335094180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2378ms
Completed 200 OK in 4ms (Views: 3.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20e85735335094190000'), "firstname"=>"Alvah", "lastname"=>"Yost"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe20e85735335094190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe20e85735335094190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe20e85735335094190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3052ms
Redirected to http://test.host/admin/clients/52fe20e85735335094190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20e857353350941a0000'), "firstname"=>"Mossie", "lastname"=>"Thompson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2914ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1673ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20e857353350941b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3499ms
Redirected to http://test.host/clients/52fe20e857353350941b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2276ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20e857353350941c0000'), "firstname"=>"Napoleon", "lastname"=>"Lakin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2694ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2278ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe20e857353350941c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe20e857353350941c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3883ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe20e857353350941c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2749ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2265ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20e857353350941d0000'), "firstname"=>"Florine", "lastname"=>"Gusikowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2515ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe20e857353350941d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe20e857353350941d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 3.5ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20e857353350941e0000'), "firstname"=>"Maximillia", "lastname"=>"Jacobs"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3326ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4004ms
Completed 200 OK in 7ms (Views: 6.2ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20e857353350941f0000'), "firstname"=>"Katheryn", "lastname"=>"Kihn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4183ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 4ms (Views: 3.6ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20e85735335094200000'), "firstname"=>"Raphaelle", "lastname"=>"Bernier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4280ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe20e85735335094200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe20e85735335094200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2417ms
Completed 200 OK in 3ms (Views: 1.9ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe20e85735335094210000'), "firstname"=>"Joanny", "lastname"=>"Ankunding"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6126ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe20e85735335094210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe20e85735335094210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3043ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe20e85735335094210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3278ms
Redirected to http://test.host/clients/52fe20e85735335094210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20e85735335094220000'), "name"=>"Mr. Ciara Hartmann", "reference"=>"Baby Crist", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4510ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2613ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20e85735335094230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3575ms
Redirected to http://test.host/products/52fe20e85735335094230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1861ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20e85735335094240000'), "name"=>"Lorine Kuhlman", "reference"=>"Elise Bednar", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3087ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2334ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe20e85735335094240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe20e85735335094240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4239ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe20e85735335094240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2614ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1639ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe20e85735335094250000'), "name"=>"Koby Huel", "reference"=>"Dane Walter", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2947ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe20e85735335094250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe20e85735335094250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3021ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (81828.1ms)
Completed 500 Internal Server Error in 81832ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe213a5735335094260000'), "name"=>"Arthur Block", "reference"=>"Waylon Hudson", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4369ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3556ms
Completed 200 OK in 7ms (Views: 6.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe213a5735335094270000'), "name"=>"Zoila Towne DDS", "reference"=>"Kailey Reynolds", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (511.7ms)
Completed 200 OK in 515ms (Views: 513.8ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe213a5735335094290000'), "name"=>"Maia Lang", "reference"=>"Lorena Wyman III", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe213a5735335094290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe213a5735335094290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2368ms
Completed 200 OK in 4ms (Views: 2.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe213a57353350942a0000'), "name"=>"Grant Yundt", "reference"=>"Viola Bernier", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4882ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe213a57353350942a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe213a57353350942a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3518ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe213a57353350942a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5125ms
Redirected to http://test.host/products/52fe213a57353350942a0000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe213a57353350942b0000'), "firstname"=>"Wilma", "lastname"=>"Bosco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4975ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1850ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe213a57353350942c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3372ms
Redirected to http://test.host/users/52fe213a57353350942c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3269ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe213a57353350942d0000'), "firstname"=>"Jamir", "lastname"=>"Mosciski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4318ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2167ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe213a57353350942d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe213a57353350942d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4033ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe213a57353350942d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6268ms
Redirected to http://test.host/users
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3769ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe213a57353350942e0000'), "firstname"=>"Kaylie", "lastname"=>"Kshlerin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe213a57353350942e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe213a57353350942e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2923ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.4ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe213a57353350942f0000'), "firstname"=>"Meta", "lastname"=>"Farrell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4384ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3581ms
Completed 200 OK in 6ms (Views: 6.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe213a5735335094300000'), "firstname"=>"Ray", "lastname"=>"Cartwright"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4365ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.5ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe213a5735335094310000'), "firstname"=>"Garrison", "lastname"=>"Toy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4383ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe213a5735335094310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe213a5735335094310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2727ms
Completed 200 OK in 4ms (Views: 2.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe213a5735335094320000'), "firstname"=>"Kendall", "lastname"=>"Larson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3708ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe213a5735335094320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe213a5735335094320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2569ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe213a5735335094320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6789ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3783ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2748ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2851ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21435735335147000000'), "name"=>"Ronny Ullrich", "reference"=>"Mathew Schneider", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4876ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2170ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21435735335147010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3940ms
Redirected to http://test.host/admin/products/52fe21435735335147010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1940ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21435735335147020000'), "name"=>"Eldora Grady", "reference"=>"Terry Bechtelar", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3071ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1764ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe21435735335147020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe21435735335147020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2506ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe21435735335147020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2955ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1821ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21435735335147030000'), "name"=>"Sheridan Glover", "reference"=>"Prince Brakus", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2540ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe21435735335147030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe21435735335147030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2467ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms)
Completed 200 OK in 25ms (Views: 23.8ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21435735335147040000'), "name"=>"Grace Harris", "reference"=>"Miss Viola Turcotte", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4369ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms
Completed 200 OK in 5ms (Views: 4.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21435735335147050000'), "name"=>"Isidro Schulist", "reference"=>"Elva Littel", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3242ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 200 OK in 46ms (Views: 4.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21435735335147080000'), "name"=>"Chauncey Lind", "reference"=>"Mrs. Kenyon Lowe", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe21435735335147080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe21435735335147080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2537ms
Completed 200 OK in 4ms (Views: 2.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21435735335147090000'), "name"=>"Leta Altenwerth IV", "reference"=>"Leilani Howell", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe21435735335147090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe21435735335147090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2665ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe21435735335147090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3216ms
Redirected to http://test.host/admin/products/52fe21435735335147090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe214357353351470a0000'), "firstname"=>"Yessenia", "lastname"=>"Kihn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4150ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1813ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe214357353351470b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3164ms
Redirected to http://test.host/admin/users/52fe214357353351470b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1903ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe214357353351470c0000'), "firstname"=>"Wilfred", "lastname"=>"Rolfson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2912ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1963ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe214357353351470c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe214357353351470c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3985ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe214357353351470c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1890ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe214357353351470d0000'), "firstname"=>"Krystel", "lastname"=>"Jones"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2514ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe214357353351470d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe214357353351470d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2526ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 5.7ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe214357353351470e0000'), "firstname"=>"Charity", "lastname"=>"Fritsch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3975ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3123ms
Completed 200 OK in 5ms (Views: 4.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe214357353351470f0000'), "firstname"=>"Kennith", "lastname"=>"Bashirian"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3139ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.4ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe21435735335147100000'), "firstname"=>"Rosella", "lastname"=>"Abbott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4067ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe21435735335147100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe21435735335147100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3960ms
Completed 200 OK in 4ms (Views: 2.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe21435735335147110000'), "firstname"=>"Jaylan", "lastname"=>"Bayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4048ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe21435735335147110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe21435735335147110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2541ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe21435735335147110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21435735335147120000'), "firstname"=>"Remington", "lastname"=>"Romaguera"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4159ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1686ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21435735335147130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4621ms
Redirected to http://test.host/admin/clients/52fe21435735335147130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1696ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21435735335147140000'), "firstname"=>"Kaitlyn", "lastname"=>"Douglas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3332ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1541ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe21435735335147140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe21435735335147140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2644ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe21435735335147140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2996ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1890ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21435735335147150000'), "firstname"=>"Macey", "lastname"=>"Feest"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2488ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe21435735335147150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe21435735335147150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 6.7ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21435735335147160000'), "firstname"=>"Lula", "lastname"=>"Langworth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3991ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms
Completed 200 OK in 6ms (Views: 4.5ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21445735335147170000'), "firstname"=>"Denis", "lastname"=>"Metz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4327ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 4.3ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21445735335147180000'), "firstname"=>"Shyann", "lastname"=>"Larson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4056ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe21445735335147180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe21445735335147180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms
Completed 200 OK in 4ms (Views: 3.0ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21445735335147190000'), "firstname"=>"Nelle", "lastname"=>"Becker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3752ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe21445735335147190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe21445735335147190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2607ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe21445735335147190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2973ms
Redirected to http://test.host/admin/clients/52fe21445735335147190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe214457353351471a0000'), "firstname"=>"Kayla", "lastname"=>"Larkin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2612ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1815ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe214457353351471b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2930ms
Redirected to http://test.host/clients/52fe214457353351471b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1819ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe214457353351471c0000'), "firstname"=>"Raquel", "lastname"=>"Bogan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2282ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1976ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe214457353351471c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe214457353351471c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3874ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe214457353351471c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1256ms
Redirected to http://test.host/clients
Completed 302 Found in 7ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2482ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe214457353351471d0000'), "firstname"=>"Eino", "lastname"=>"Zulauf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2951ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe214457353351471d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe214457353351471d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3076ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 3.5ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe214457353351471e0000'), "firstname"=>"Hilton", "lastname"=>"Eichmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3750ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4123ms
Completed 200 OK in 7ms (Views: 6.4ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe214457353351471f0000'), "firstname"=>"Chaim", "lastname"=>"Schumm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4577ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21445735335147200000'), "firstname"=>"Verla", "lastname"=>"Homenick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4580ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe21445735335147200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe21445735335147200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3004ms
Completed 200 OK in 3ms (Views: 2.0ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21445735335147210000'), "firstname"=>"Jettie", "lastname"=>"Johnston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3633ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe21445735335147210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe21445735335147210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3011ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe21445735335147210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3279ms
Redirected to http://test.host/clients/52fe21445735335147210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21445735335147220000'), "name"=>"Alba Macejkovic", "reference"=>"Jamir Beier", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4100ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2037ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21445735335147230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3482ms
Redirected to http://test.host/products/52fe21445735335147230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2408ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21445735335147240000'), "name"=>"Amie Bosco", "reference"=>"Oren Sporer", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4548ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3198ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe21445735335147240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe21445735335147240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3105ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe21445735335147240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2688ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1809ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21445735335147250000'), "name"=>"Mortimer Mante", "reference"=>"Duncan Gleichner", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2531ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe21445735335147250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe21445735335147250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.7ms)
Completed 500 Internal Server Error in 8ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21445735335147260000'), "name"=>"Elvera Cummings", "reference"=>"Rosario Littel", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4206ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3655ms
Completed 200 OK in 6ms (Views: 6.0ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21445735335147270000'), "name"=>"Alek Ullrich IV", "reference"=>"Birdie Herman", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (35738.8ms)
Completed 200 OK in 35742ms (Views: 35740.9ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21675735335147290000'), "name"=>"Julie Kutch DVM", "reference"=>"Yesenia Wiegand", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4709ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe21675735335147290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe21675735335147290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms
Completed 200 OK in 33ms (Views: 31.8ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe216757353351472a0000'), "name"=>"Keshaun Bartoletti", "reference"=>"Mr. Christa Denesik", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4357ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe216757353351472a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe216757353351472a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2685ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe216757353351472a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3361ms
Redirected to http://test.host/products/52fe216757353351472a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe216757353351472b0000'), "firstname"=>"Samantha", "lastname"=>"Stamm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4834ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2346ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe216757353351472c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3555ms
Redirected to http://test.host/users/52fe216757353351472c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2183ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe216757353351472d0000'), "firstname"=>"Ila", "lastname"=>"Crist"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3533ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2039ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe216757353351472d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe216757353351472d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3386ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe216757353351472d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 9.4287ms
Redirected to http://test.host/users
Completed 302 Found in 12ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2597ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe216757353351472e0000'), "firstname"=>"Larissa", "lastname"=>"Mann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2653ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe216757353351472e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe216757353351472e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3065ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.4ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe216757353351472f0000'), "firstname"=>"Estel", "lastname"=>"Adams"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4455ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3546ms
Completed 200 OK in 6ms (Views: 6.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe21675735335147300000'), "firstname"=>"Monroe", "lastname"=>"Zieme"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4344ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.5ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe21675735335147310000'), "firstname"=>"Eliza", "lastname"=>"Jast"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4341ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe21675735335147310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe21675735335147310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2500ms
Completed 200 OK in 4ms (Views: 2.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe21675735335147320000'), "firstname"=>"Zola", "lastname"=>"Kohler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3731ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe21675735335147320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe21675735335147320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2714ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe21675735335147320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6534ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3153ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2724ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2603ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3170ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175000000'), "name"=>"Sandrine Adams PhD", "reference"=>"Cayla Graham", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4707ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1844ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms
Redirected to http://test.host/admin/products/52fe216d5735335175010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1905ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175020000'), "name"=>"Miss Jammie Borer", "reference"=>"Dr. Candida Jakubowski", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3598ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2223ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe216d5735335175020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe216d5735335175020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2952ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe216d5735335175020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3411ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2302ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175030000'), "name"=>"Andres Turner", "reference"=>"Sibyl Becker", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2996ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe216d5735335175030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe216d5735335175030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2997ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.3ms)
Completed 200 OK in 25ms (Views: 23.8ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175040000'), "name"=>"Vivienne Hammes", "reference"=>"Valentine Cole", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3617ms
Completed 200 OK in 5ms (Views: 4.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175050000'), "name"=>"Adella Champlin", "reference"=>"Louie Kulas", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3399ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 200 OK in 47ms (Views: 4.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175080000'), "name"=>"Providenci Gottlieb MD", "reference"=>"Alexandra Oberbrunner", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4701ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe216d5735335175080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe216d5735335175080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3089ms
Completed 200 OK in 4ms (Views: 2.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175090000'), "name"=>"Ubaldo Funk I", "reference"=>"Sigmund Crona", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3935ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe216d5735335175090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe216d5735335175090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3135ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe216d5735335175090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3779ms
Redirected to http://test.host/admin/products/52fe216d5735335175090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe216d57353351750a0000'), "firstname"=>"Alva", "lastname"=>"Lowe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4208ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1835ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe216d57353351750b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3669ms
Redirected to http://test.host/admin/users/52fe216d57353351750b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2415ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe216d57353351750c0000'), "firstname"=>"Catherine", "lastname"=>"Jakubowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1868ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe216d57353351750c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe216d57353351750c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4373ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe216d57353351750c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4260ms
Redirected to http://test.host/admin/users
Completed 302 Found in 7ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2417ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe216d57353351750d0000'), "firstname"=>"Katheryn", "lastname"=>"Yundt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2646ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe216d57353351750d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe216d57353351750d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2569ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 5.8ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe216d57353351750e0000'), "firstname"=>"Tia", "lastname"=>"Marks"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4456ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3417ms
Completed 200 OK in 5ms (Views: 4.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe216d57353351750f0000'), "firstname"=>"Fidel", "lastname"=>"Schmitt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3231ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175100000'), "firstname"=>"Dejuan", "lastname"=>"Collier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4230ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe216d5735335175100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe216d5735335175100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2704ms
Completed 200 OK in 4ms (Views: 2.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175110000'), "firstname"=>"Madonna", "lastname"=>"Adams"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3805ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe216d5735335175110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe216d5735335175110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe216d5735335175110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175120000'), "firstname"=>"Jewel", "lastname"=>"Altenwerth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4670ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1873ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3522ms
Redirected to http://test.host/admin/clients/52fe216d5735335175130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1924ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175140000'), "firstname"=>"Betsy", "lastname"=>"Miller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3041ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1758ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe216d5735335175140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe216d5735335175140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2463ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe216d5735335175140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2931ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2060ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175150000'), "firstname"=>"Elmira", "lastname"=>"Tromp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2555ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe216d5735335175150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe216d5735335175150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2444ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 6.7ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175160000'), "firstname"=>"Jovany", "lastname"=>"Gusikowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4024ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4176ms
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175170000'), "firstname"=>"Lynn", "lastname"=>"Dicki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4293ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 4.3ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175180000'), "firstname"=>"Leone", "lastname"=>"Kris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4116ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe216d5735335175180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe216d5735335175180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms
Completed 200 OK in 5ms (Views: 3.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175190000'), "firstname"=>"Ally", "lastname"=>"Heaney"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4035ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe216d5735335175190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe216d5735335175190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2543ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe216d5735335175190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms
Redirected to http://test.host/admin/clients/52fe216d5735335175190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe216d57353351751a0000'), "firstname"=>"Nella", "lastname"=>"Wyman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2810ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1780ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe216d57353351751b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3052ms
Redirected to http://test.host/clients/52fe216d57353351751b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1866ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe216d57353351751c0000'), "firstname"=>"Coralie", "lastname"=>"Fisher"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2720ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1760ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe216d57353351751c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe216d57353351751c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3934ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe216d57353351751c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3315ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1907ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe216d57353351751d0000'), "firstname"=>"Aletha", "lastname"=>"Mueller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2537ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe216d57353351751d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe216d57353351751d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 3.6ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe216d57353351751e0000'), "firstname"=>"Trevor", "lastname"=>"Fay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3732ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3672ms
Completed 200 OK in 7ms (Views: 6.2ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe216d57353351751f0000'), "firstname"=>"Nina", "lastname"=>"Grimes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3829ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 4ms (Views: 3.6ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175200000'), "firstname"=>"Cristal", "lastname"=>"Runolfsdottir"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4299ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe216d5735335175200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe216d5735335175200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms
Completed 200 OK in 3ms (Views: 1.9ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175210000'), "firstname"=>"Eldon", "lastname"=>"Bins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3224ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe216d5735335175210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe216d5735335175210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe216d5735335175210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2693ms
Redirected to http://test.host/clients/52fe216d5735335175210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175220000'), "name"=>"Krista Casper", "reference"=>"Talia Emard", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4140ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1850ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5161ms
Redirected to http://test.host/products/52fe216d5735335175230000
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2223ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175240000'), "name"=>"Matteo Mante", "reference"=>"Addie Pfannerstill DDS", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4697ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2977ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe216d5735335175240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe216d5735335175240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2728ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe216d5735335175240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2726ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1818ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175250000'), "name"=>"Kailyn Cormier PhD", "reference"=>"Camilla Parker", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2516ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe216d5735335175250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe216d5735335175250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2740ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms)
Completed 500 Internal Server Error in 9ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175260000'), "name"=>"Dovie Bechtelar Sr.", "reference"=>"Damian Nikolaus", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3713ms
Completed 200 OK in 7ms (Views: 6.1ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe216d5735335175270000'), "name"=>"Haskell Howe", "reference"=>"Dayna Hansen", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3851ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (53962.4ms)
Completed 200 OK in 53966ms (Views: 53964.6ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21a35735335175290000'), "name"=>"Dwight Krajcik II", "reference"=>"Ralph McGlynn", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4682ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe21a35735335175290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe21a35735335175290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3096ms
Completed 200 OK in 35ms (Views: 34.1ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21a357353351752a0000'), "name"=>"Mrs. Eladio Marvin", "reference"=>"Karen Nader", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6075ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe21a357353351752a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe21a357353351752a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4109ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe21a357353351752a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4027ms
Redirected to http://test.host/products/52fe21a357353351752a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe21a357353351752b0000'), "firstname"=>"Noe", "lastname"=>"Lowe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4954ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1899ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe21a357353351752c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3869ms
Redirected to http://test.host/users/52fe21a357353351752c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2442ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe21a357353351752d0000'), "firstname"=>"Dean", "lastname"=>"Huel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2051ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe21a357353351752d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe21a357353351752d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3534ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe21a357353351752d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2666ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1728ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe21a357353351752e0000'), "firstname"=>"Megane", "lastname"=>"Dare"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2389ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe21a357353351752e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe21a357353351752e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2940ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.5ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe21a357353351752f0000'), "firstname"=>"Jacinto", "lastname"=>"Hammes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4541ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3711ms
Completed 200 OK in 7ms (Views: 6.1ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe21a45735335175300000'), "firstname"=>"Katheryn", "lastname"=>"Anderson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 11.8462ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 4ms (Views: 3.5ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe21a45735335175310000'), "firstname"=>"Maia", "lastname"=>"Blick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4595ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe21a45735335175310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe21a45735335175310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3025ms
Completed 200 OK in 4ms (Views: 2.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe21a45735335175320000'), "firstname"=>"Samanta", "lastname"=>"Rogahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3824ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe21a45735335175320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe21a45735335175320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2484ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe21a45735335175320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6255ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3094ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3118ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3442ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3506ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2000000'), "name"=>"Cory Lesch", "reference"=>"Gunnar Kunde", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4463ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1997ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4099ms
Redirected to http://test.host/admin/products/52fe21a857353351a2010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2592ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2020000'), "name"=>"Lesly Berge", "reference"=>"Beverly Morar", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3764ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2273ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe21a857353351a2020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe21a857353351a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2999ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe21a857353351a2020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3489ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2334ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2030000'), "name"=>"Mary Von I", "reference"=>"Claudia Jaskolski", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2924ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe21a857353351a2030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe21a857353351a2030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3050ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.3ms)
Completed 200 OK in 25ms (Views: 24.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2040000'), "name"=>"Dr. Flo Gulgowski", "reference"=>"Jerel Schuster", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3249ms
Completed 200 OK in 5ms (Views: 4.4ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2050000'), "name"=>"Miss Emmitt Reynolds", "reference"=>"Maximillia Erdman", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3192ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 46ms (Views: 4.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2080000'), "name"=>"Ezekiel Williamson", "reference"=>"Yoshiko Bashirian", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4145ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe21a857353351a2080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe21a857353351a2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2399ms
Completed 200 OK in 4ms (Views: 2.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2090000'), "name"=>"April Bauch", "reference"=>"Elaina Stanton", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3763ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe21a857353351a2090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe21a857353351a2090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2524ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe21a857353351a2090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4953ms
Redirected to http://test.host/admin/products/52fe21a857353351a2090000
Completed 302 Found in 7ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a20a0000'), "firstname"=>"Hilario", "lastname"=>"Gutmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4242ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1939ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a20b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4730ms
Redirected to http://test.host/admin/users/52fe21a857353351a20b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3212ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a20c0000'), "firstname"=>"Rozella", "lastname"=>"Wuckert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1619ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe21a857353351a20c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe21a857353351a20c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe21a857353351a20c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2824ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1633ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a20d0000'), "firstname"=>"Antoinette", "lastname"=>"Mayert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2334ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe21a857353351a20d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe21a857353351a20d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2342ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 5.8ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a20e0000'), "firstname"=>"Reina", "lastname"=>"Jones"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3936ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3612ms
Completed 200 OK in 5ms (Views: 4.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a20f0000'), "firstname"=>"Kim", "lastname"=>"Leffler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 4ms (Views: 3.9ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2100000'), "firstname"=>"Cynthia", "lastname"=>"Wisoky"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4738ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe21a857353351a2100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe21a857353351a2100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2815ms
Completed 200 OK in 4ms (Views: 2.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2110000'), "firstname"=>"Providenci", "lastname"=>"Vandervort"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3857ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe21a857353351a2110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe21a857353351a2110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe21a857353351a2110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2120000'), "firstname"=>"Elva", "lastname"=>"Ledner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4563ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1800ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3427ms
Redirected to http://test.host/admin/clients/52fe21a857353351a2130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2271ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2140000'), "firstname"=>"Gerry", "lastname"=>"Gutmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2207ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe21a857353351a2140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe21a857353351a2140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2978ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe21a857353351a2140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3403ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2249ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2150000'), "firstname"=>"Brent", "lastname"=>"Kling"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2915ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe21a857353351a2150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe21a857353351a2150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2558ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 6.7ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2160000'), "firstname"=>"Avis", "lastname"=>"Harris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4684ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4101ms
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2170000'), "firstname"=>"Savanah", "lastname"=>"Jones"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4752ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 4.3ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2180000'), "firstname"=>"Dagmar", "lastname"=>"Cole"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4509ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe21a857353351a2180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe21a857353351a2180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2897ms
Completed 200 OK in 5ms (Views: 3.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2190000'), "firstname"=>"Lamont", "lastname"=>"Oberbrunner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3874ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe21a857353351a2190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe21a857353351a2190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2984ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe21a857353351a2190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3674ms
Redirected to http://test.host/admin/clients/52fe21a857353351a2190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a21a0000'), "firstname"=>"Deanna", "lastname"=>"Crona"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2699ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1765ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a21b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2993ms
Redirected to http://test.host/clients/52fe21a857353351a21b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1918ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a21c0000'), "firstname"=>"Abigayle", "lastname"=>"Bins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3012ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1688ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe21a857353351a21c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe21a857353351a21c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3763ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe21a857353351a21c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2846ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2130ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a21d0000'), "firstname"=>"Desiree", "lastname"=>"Hettinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2636ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe21a857353351a21d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe21a857353351a21d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2648ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 3.5ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a21e0000'), "firstname"=>"Shanon", "lastname"=>"Shanahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3038ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3979ms
Completed 200 OK in 7ms (Views: 6.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a21f0000'), "firstname"=>"Bette", "lastname"=>"Ritchie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4052ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 4ms (Views: 3.6ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2200000'), "firstname"=>"Rubie", "lastname"=>"Rogahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1109ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe21a857353351a2200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe21a857353351a2200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3035ms
Completed 200 OK in 3ms (Views: 2.0ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2210000'), "firstname"=>"Maybelle", "lastname"=>"Brakus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3746ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe21a857353351a2210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe21a857353351a2210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3103ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe21a857353351a2210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3337ms
Redirected to http://test.host/clients/52fe21a857353351a2210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2220000'), "name"=>"Arlo Hamill Jr.", "reference"=>"Mr. Dane Schultz", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4112ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1808ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4164ms
Redirected to http://test.host/products/52fe21a857353351a2230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2059ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2240000'), "name"=>"Dana Zemlak", "reference"=>"Theresa Herman", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5052ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2401ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe21a857353351a2240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe21a857353351a2240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3056ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe21a857353351a2240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3071ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2228ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2250000'), "name"=>"Muriel Gislason Jr.", "reference"=>"Damion Green", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2487ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe21a857353351a2250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe21a857353351a2250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2383ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.7ms)
Completed 500 Internal Server Error in 9ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2260000'), "name"=>"Dave Baumbach", "reference"=>"Maryse Fay IV", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4234ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3817ms
Completed 200 OK in 7ms (Views: 6.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe21a857353351a2270000'), "name"=>"Lenny Kiehn", "reference"=>"Cielo Davis", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4304ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (121069.7ms)
Completed 200 OK in 121073ms (Views: 121071.8ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe222157353351a2290000'), "name"=>"Otis Hammes", "reference"=>"Dr. Ferne Hills", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4724ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe222157353351a2290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe222157353351a2290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms
Completed 200 OK in 4ms (Views: 2.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe222157353351a22a0000'), "name"=>"Jaeden Little DVM", "reference"=>"Tony Hayes V", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3918ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe222157353351a22a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe222157353351a22a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2633ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe222157353351a22a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2879ms
Redirected to http://test.host/products/52fe222157353351a22a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe222257353351a22b0000'), "firstname"=>"Sage", "lastname"=>"Bailey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4896ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1815ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe222257353351a22c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.6084ms
Redirected to http://test.host/users/52fe222257353351a22c0000
Completed 302 Found in 16ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3595ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe222257353351a22d0000'), "firstname"=>"Jerrold", "lastname"=>"Ankunding"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6981ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.4394ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe222257353351a22d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe222257353351a22d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4377ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe222257353351a22d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3936ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2722ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe222257353351a22e0000'), "firstname"=>"Melvin", "lastname"=>"Swaniawski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2914ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe222257353351a22e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe222257353351a22e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.5ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe222257353351a22f0000'), "firstname"=>"Blaise", "lastname"=>"Gerlach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4115ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4448ms
Completed 200 OK in 7ms (Views: 6.4ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe222257353351a2300000'), "firstname"=>"Margarete", "lastname"=>"Schinner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3779ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.4ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe222257353351a2310000'), "firstname"=>"Wellington", "lastname"=>"Kuphal"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4458ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe222257353351a2310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe222257353351a2310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2967ms
Completed 200 OK in 4ms (Views: 2.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe222257353351a2320000'), "firstname"=>"Lucile", "lastname"=>"Doyle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3765ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe222257353351a2320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe222257353351a2320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe222257353351a2320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6408ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3178ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4213ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3636ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3738ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22a95735335297000000'), "name"=>"Jerrell Carter", "reference"=>"Elinore Tillman PhD", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4968ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2301ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22a95735335297010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4111ms
Redirected to http://test.host/admin/products/52fe22a95735335297010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1934ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22a95735335297020000'), "name"=>"Gene O'Keefe Jr.", "reference"=>"Oceane Larson", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3120ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1576ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe22a95735335297020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22a95735335297020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3274ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22a95735335297020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3851ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2077ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22a95735335297030000'), "name"=>"Viva Wintheiser", "reference"=>"Aric Hoppe", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2519ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe22a95735335297030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22a95735335297030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2837ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.3ms)
Completed 500 Internal Server Error in 26ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22a95735335297040000'), "name"=>"Monica Wuckert Jr.", "reference"=>"Dawson Douglas", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4211ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3233ms
Completed 500 Internal Server Error in 38ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22a95735335297050000'), "name"=>"Cordia Conn V", "reference"=>"Pearline Watsica DDS", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4645ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 500 Internal Server Error in 10ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22a95735335297060000'), "name"=>"Hudson Dooley", "reference"=>"Raquel Beer IV", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4745ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe22a95735335297060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22a95735335297060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2616ms
Completed 500 Internal Server Error in 8ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22a95735335297070000'), "name"=>"Dr. Shad Hand", "reference"=>"Gregoria Oberbrunner", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4265ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe22a95735335297070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22a95735335297070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2655ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22a95735335297070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3951ms
Redirected to http://test.host/admin/products/52fe22a95735335297070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22a95735335297080000'), "firstname"=>"Hillary", "lastname"=>"Walter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4611ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2029ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22a95735335297090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5218ms
Redirected to http://test.host/admin/users/52fe22a95735335297090000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2477ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22a957353352970a0000'), "firstname"=>"Nathaniel", "lastname"=>"Bayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2221ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe22a957353352970a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22a957353352970a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2936ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22a957353352970a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3447ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1794ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22a957353352970b0000'), "firstname"=>"Roma", "lastname"=>"Dickens"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2357ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe22a957353352970b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22a957353352970b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2320ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 500 Internal Server Error in 40ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22aa57353352970c0000'), "firstname"=>"Colleen", "lastname"=>"Stroman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4570ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3652ms
Completed 500 Internal Server Error in 10ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22aa57353352970d0000'), "firstname"=>"Ayana", "lastname"=>"Bechtelar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4553ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 8ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22aa57353352970e0000'), "firstname"=>"Flo", "lastname"=>"Moore"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe22aa57353352970e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22aa57353352970e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2366ms
Completed 500 Internal Server Error in 8ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22aa57353352970f0000'), "firstname"=>"Marion", "lastname"=>"Swaniawski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4467ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe22aa57353352970f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22aa57353352970f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2358ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe22aa57353352970f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22aa5735335297100000'), "firstname"=>"Cruz", "lastname"=>"Kertzmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5131ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2499ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22aa5735335297110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3229ms
Redirected to http://test.host/admin/clients/52fe22aa5735335297110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1904ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22aa5735335297120000'), "firstname"=>"Percival", "lastname"=>"Berge"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3137ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2326ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe22aa5735335297120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22aa5735335297120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22aa5735335297120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2067ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2030ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22aa5735335297130000'), "firstname"=>"Shanelle", "lastname"=>"Hamill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3482ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe22aa5735335297130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22aa5735335297130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3132ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 500 Internal Server Error in 13ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22aa5735335297140000'), "firstname"=>"Ophelia", "lastname"=>"Walsh"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4288ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3717ms
Completed 500 Internal Server Error in 10ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22aa5735335297150000'), "firstname"=>"Leonie", "lastname"=>"Lindgren"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4609ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 9ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22aa5735335297160000'), "firstname"=>"Rasheed", "lastname"=>"Wilderman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4621ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe22aa5735335297160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22aa5735335297160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms
Completed 500 Internal Server Error in 39ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22aa5735335297170000'), "firstname"=>"Gordon", "lastname"=>"Hills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4355ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe22aa5735335297170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22aa5735335297170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2646ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22aa5735335297170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3222ms
Redirected to http://test.host/admin/clients/52fe22aa5735335297170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22aa5735335297180000'), "firstname"=>"Felicity", "lastname"=>"O'Kon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3003ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1837ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22aa5735335297190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3156ms
Redirected to http://test.host/clients/52fe22aa5735335297190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1875ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22aa57353352971a0000'), "firstname"=>"Alivia", "lastname"=>"Graham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.5079ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2017ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe22aa57353352971a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22aa57353352971a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3222ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22aa57353352971a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3386ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3745ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22aa57353352971b0000'), "firstname"=>"Keaton", "lastname"=>"Marvin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3599ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe22aa57353352971b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22aa57353352971b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3114ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 500 Internal Server Error in 9ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22aa57353352971c0000'), "firstname"=>"Brendan", "lastname"=>"Boehm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4219ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms
Completed 500 Internal Server Error in 11ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22aa57353352971d0000'), "firstname"=>"Elinor", "lastname"=>"Turcotte"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5350ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 38ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22aa57353352971e0000'), "firstname"=>"Ryder", "lastname"=>"Paucek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4737ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe22aa57353352971e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22aa57353352971e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3016ms
Completed 500 Internal Server Error in 8ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22aa57353352971f0000'), "firstname"=>"Esmeralda", "lastname"=>"Gleason"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4419ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe22aa57353352971f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22aa57353352971f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2682ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22aa57353352971f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2865ms
Redirected to http://test.host/clients/52fe22aa57353352971f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22aa5735335297200000'), "name"=>"Lamont Hyatt Sr.", "reference"=>"Mrs. Hassie Funk", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4548ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2100ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4494ms
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22aa5735335297210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3053ms
Redirected to http://test.host/products/52fe22aa5735335297210000
Completed 302 Found in 16ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2118ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22aa5735335297220000'), "name"=>"Mrs. Gertrude Ziemann", "reference"=>"Cathrine Hilpert", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3078ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1772ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe22aa5735335297220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22aa5735335297220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2953ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22aa5735335297220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2786ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3333ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22aa5735335297230000'), "name"=>"Elvera Stark", "reference"=>"Jeromy Champlin", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3425ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe22aa5735335297230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22aa5735335297230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2557ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2334ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 500 Internal Server Error in 13ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22aa5735335297240000'), "name"=>"Ms. Noelia Tremblay", "reference"=>"Mervin Fahey Sr.", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4079ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3551ms
Completed 500 Internal Server Error in 41ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22aa5735335297250000'), "name"=>"Keshaun Lindgren", "reference"=>"Chadd Baumbach", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4286ms
Processing by ProductsController#new as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2665ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 500 Internal Server Error in 10ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22aa5735335297260000'), "name"=>"Kimberly Nader", "reference"=>"Jamir Barrows", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4180ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe22aa5735335297260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22aa5735335297260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms
Completed 500 Internal Server Error in 8ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22aa5735335297270000'), "name"=>"Lauren O'Connell", "reference"=>"Jonathon Rolfson", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4656ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe22aa5735335297270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22aa5735335297270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3788ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1554ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22aa5735335297270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2856ms
Redirected to http://test.host/products/52fe22aa5735335297270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22aa5735335297280000'), "firstname"=>"Rafael", "lastname"=>"Heller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4363ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1816ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22aa5735335297290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3431ms
Redirected to http://test.host/users/52fe22aa5735335297290000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1884ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22aa57353352972a0000'), "firstname"=>"Alphonso", "lastname"=>"Ferry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3089ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1766ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe22aa57353352972a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22aa57353352972a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22aa57353352972a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2596ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1804ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22aa57353352972b0000'), "firstname"=>"Brock", "lastname"=>"Moore"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2405ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe22aa57353352972b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22aa57353352972b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2440ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 500 Internal Server Error in 40ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22aa57353352972c0000'), "firstname"=>"Mitchell", "lastname"=>"Schmidt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4533ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4179ms
Completed 500 Internal Server Error in 11ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22aa57353352972d0000'), "firstname"=>"Jules", "lastname"=>"Abshire"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4212ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 8ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22aa57353352972e0000'), "firstname"=>"Spencer", "lastname"=>"Feest"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4221ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe22aa57353352972e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22aa57353352972e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3543ms
Completed 500 Internal Server Error in 8ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22aa57353352972f0000'), "firstname"=>"Mariela", "lastname"=>"Dach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4067ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe22aa57353352972f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22aa57353352972f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5154ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe22aa57353352972f0000
Completed 302 Found in 31ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6567ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3361ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3369ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2847ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2782ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22b057353352c3000000'), "name"=>"Mr. Christop Haley", "reference"=>"Therese Volkman", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4451ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1634ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22b057353352c3010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4342ms
Redirected to http://test.host/admin/products/52fe22b057353352c3010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2080ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22b057353352c3020000'), "name"=>"Karlee Fahey", "reference"=>"Lauretta Huels III", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3613ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2242ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe22b057353352c3020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22b057353352c3020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2987ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22b057353352c3020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3240ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1844ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22b057353352c3030000'), "name"=>"Fletcher Morar", "reference"=>"Magnolia Purdy", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2980ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe22b057353352c3030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22b057353352c3030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2615ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.4ms)
Completed 500 Internal Server Error in 26ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22b057353352c3040000'), "name"=>"Eldridge Considine", "reference"=>"Dr. Angelina Bosco", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4635ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3218ms
Completed 500 Internal Server Error in 38ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3050000'), "name"=>"Asa Jacobi", "reference"=>"Kobe Sauer V", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4388ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 500 Internal Server Error in 10ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3060000'), "name"=>"Mrs. Heather O'Connell", "reference"=>"Vicky Johnston", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4695ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe22b157353352c3060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22b157353352c3060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2382ms
Completed 500 Internal Server Error in 8ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3070000'), "name"=>"Thalia O'Hara Jr.", "reference"=>"Bertha Senger V", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4316ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe22b157353352c3070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22b157353352c3070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2630ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22b157353352c3070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3238ms
Redirected to http://test.host/admin/products/52fe22b157353352c3070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3080000'), "firstname"=>"Elyse", "lastname"=>"Bernhard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4192ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1889ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4359ms
Redirected to http://test.host/admin/users/52fe22b157353352c3090000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1891ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c30a0000'), "firstname"=>"Piper", "lastname"=>"Rowe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3067ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1743ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe22b157353352c30a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22b157353352c30a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22b157353352c30a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2983ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1822ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c30b0000'), "firstname"=>"Guiseppe", "lastname"=>"Rippin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe22b157353352c30b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22b157353352c30b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2478ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 500 Internal Server Error in 40ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c30c0000'), "firstname"=>"Bernadette", "lastname"=>"Douglas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.5752ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4222ms
Completed 500 Internal Server Error in 10ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c30d0000'), "firstname"=>"Skyla", "lastname"=>"Grant"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4385ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 8ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c30e0000'), "firstname"=>"Arvid", "lastname"=>"Dare"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4211ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe22b157353352c30e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22b157353352c30e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2529ms
Completed 500 Internal Server Error in 8ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c30f0000'), "firstname"=>"Shaylee", "lastname"=>"Flatley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4309ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe22b157353352c30f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22b157353352c30f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2511ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe22b157353352c30f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3100000'), "firstname"=>"Joany", "lastname"=>"Harber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4414ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1890ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3321ms
Redirected to http://test.host/admin/clients/52fe22b157353352c3110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1961ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3120000'), "firstname"=>"Micheal", "lastname"=>"Prosacco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3204ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1770ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe22b157353352c3120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22b157353352c3120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2506ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22b157353352c3120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3029ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1882ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3130000'), "firstname"=>"Brown", "lastname"=>"Heathcote"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0100ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe22b157353352c3130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22b157353352c3130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2624ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 500 Internal Server Error in 12ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3140000'), "firstname"=>"Bradford", "lastname"=>"Price"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4864ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3332ms
Completed 500 Internal Server Error in 10ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3150000'), "firstname"=>"Birdie", "lastname"=>"Kuhn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 9ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3160000'), "firstname"=>"Eli", "lastname"=>"Weber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5322ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe22b157353352c3160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22b157353352c3160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3707ms
Completed 500 Internal Server Error in 38ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3170000'), "firstname"=>"Mohamed", "lastname"=>"Stracke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4630ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe22b157353352c3170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22b157353352c3170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2625ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22b157353352c3170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3265ms
Redirected to http://test.host/admin/clients/52fe22b157353352c3170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3180000'), "firstname"=>"Rosalee", "lastname"=>"Thompson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2743ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2223ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3498ms
Redirected to http://test.host/clients/52fe22b157353352c3190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2621ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c31a0000'), "firstname"=>"Ena", "lastname"=>"Marks"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2857ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2214ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe22b157353352c31a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22b157353352c31a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2921ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22b157353352c31a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2645ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1442ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c31b0000'), "firstname"=>"Arvilla", "lastname"=>"Corwin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.5048ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe22b157353352c31b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22b157353352c31b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3552ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 500 Internal Server Error in 10ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c31c0000'), "firstname"=>"Noel", "lastname"=>"Kessler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4768ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3714ms
Completed 500 Internal Server Error in 11ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c31d0000'), "firstname"=>"Kurtis", "lastname"=>"Dickinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4121ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 36ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c31e0000'), "firstname"=>"Cheyenne", "lastname"=>"Smith"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4176ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe22b157353352c31e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22b157353352c31e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2650ms
Completed 500 Internal Server Error in 8ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c31f0000'), "firstname"=>"Destiney", "lastname"=>"Von"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4197ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe22b157353352c31f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22b157353352c31f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2988ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22b157353352c31f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2694ms
Redirected to http://test.host/clients/52fe22b157353352c31f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3200000'), "name"=>"Mohammed Veum", "reference"=>"Keon Nader", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4588ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1868ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4694ms
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3069ms
Redirected to http://test.host/products/52fe22b157353352c3210000
Completed 302 Found in 17ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1988ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3220000'), "name"=>"Jettie Kuvalis", "reference"=>"Marilyne Parker", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3108ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1779ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe22b157353352c3220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22b157353352c3220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2500ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22b157353352c3220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2567ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1809ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3230000'), "name"=>"Corine Gerlach", "reference"=>"Mrs. Katelynn Powlowski", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2556ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe22b157353352c3230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22b157353352c3230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2675ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.7ms)
Completed 500 Internal Server Error in 14ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3240000'), "name"=>"Grover Langworth", "reference"=>"Madonna Weimann", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3684ms
Completed 500 Internal Server Error in 41ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3250000'), "name"=>"Garnett Volkman", "reference"=>"Dr. Justus O'Kon", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4299ms
Processing by ProductsController#new as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2861ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 500 Internal Server Error in 10ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3260000'), "name"=>"Keara Botsford", "reference"=>"Adrian Nicolas", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4237ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe22b157353352c3260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22b157353352c3260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms
Completed 500 Internal Server Error in 8ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3270000'), "name"=>"Dr. Elna Raynor", "reference"=>"Steve Langosh", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4167ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe22b157353352c3270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22b157353352c3270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2679ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1772ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22b157353352c3270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8870ms
Redirected to http://test.host/products/52fe22b157353352c3270000
Completed 302 Found in 7ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3280000'), "firstname"=>"Eugene", "lastname"=>"Stracke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4865ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1830ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c3290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3181ms
Redirected to http://test.host/users/52fe22b157353352c3290000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1888ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c32a0000'), "firstname"=>"Jordon", "lastname"=>"Harris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3105ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1943ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe22b157353352c32a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22b157353352c32a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2479ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22b157353352c32a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2597ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2159ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c32b0000'), "firstname"=>"Kaleb", "lastname"=>"Kling"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2363ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe22b157353352c32b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22b157353352c32b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2332ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 500 Internal Server Error in 40ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c32c0000'), "firstname"=>"Orval", "lastname"=>"Barrows"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4814ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3633ms
Completed 500 Internal Server Error in 11ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c32d0000'), "firstname"=>"Margarete", "lastname"=>"Schamberger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4319ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 8ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c32e0000'), "firstname"=>"Delbert", "lastname"=>"Swaniawski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4980ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe22b157353352c32e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22b157353352c32e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3475ms
Completed 500 Internal Server Error in 8ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22b157353352c32f0000'), "firstname"=>"Maryse", "lastname"=>"Gibson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9485ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe22b157353352c32f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22b157353352c32f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3585ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe22b157353352c32f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6897ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3550ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3038ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3707ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306000000'), "name"=>"Emely Murray", "reference"=>"Pauline Watsica", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4539ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1838ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3913ms
Redirected to http://test.host/admin/products/52fe22cf5735335306010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2014ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306020000'), "name"=>"Eriberto Spencer II", "reference"=>"Lenore Ward MD", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3128ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1737ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe22cf5735335306020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22cf5735335306020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22cf5735335306020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3269ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1804ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306030000'), "name"=>"Tianna Olson", "reference"=>"Mr. Savanah Turcotte", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2550ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe22cf5735335306030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22cf5735335306030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms)
Completed 200 OK in 26ms (Views: 25.1ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306040000'), "name"=>"Missouri Waters", "reference"=>"Jamil Metz MD", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4313ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4453ms
Completed 200 OK in 34ms (Views: 33.4ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306050000'), "name"=>"Dr. Jadyn Smith", "reference"=>"Ms. Jan Kozey", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3648ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 6ms (Views: 5.2ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306060000'), "name"=>"Gilberto Klocko", "reference"=>"Leatha Ullrich", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4207ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe22cf5735335306060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22cf5735335306060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2886ms
Completed 200 OK in 5ms (Views: 3.9ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306070000'), "name"=>"Nicholaus Donnelly", "reference"=>"Therese Heaney", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4282ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe22cf5735335306070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22cf5735335306070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3050ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22cf5735335306070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3532ms
Redirected to http://test.host/admin/products/52fe22cf5735335306070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306080000'), "firstname"=>"Brandt", "lastname"=>"Hermann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4140ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1805ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3188ms
Redirected to http://test.host/admin/users/52fe22cf5735335306090000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1908ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22cf57353353060a0000'), "firstname"=>"Rosalee", "lastname"=>"Quitzon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3031ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1733ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe22cf57353353060a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22cf57353353060a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22cf57353353060a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2939ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1820ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22cf57353353060b0000'), "firstname"=>"Cleveland", "lastname"=>"Prohaska"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2795ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe22cf57353353060b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22cf57353353060b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4041ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 9ms (Views: 6.9ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22cf57353353060c0000'), "firstname"=>"Madelyn", "lastname"=>"Emmerich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4308ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3444ms
Completed 200 OK in 6ms (Views: 5.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22cf57353353060d0000'), "firstname"=>"Kara", "lastname"=>"Goyette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3452ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 5ms (Views: 4.2ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22cf57353353060e0000'), "firstname"=>"Abbigail", "lastname"=>"Abbott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4127ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe22cf57353353060e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22cf57353353060e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3066ms
Completed 200 OK in 5ms (Views: 3.8ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22cf57353353060f0000'), "firstname"=>"Mohammad", "lastname"=>"Smitham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4301ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe22cf57353353060f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22cf57353353060f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2551ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe22cf57353353060f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306100000'), "firstname"=>"Zack", "lastname"=>"Deckow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4472ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2193ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4989ms
Redirected to http://test.host/admin/clients/52fe22cf5735335306110000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2331ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306120000'), "firstname"=>"Heber", "lastname"=>"Witting"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3542ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1785ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe22cf5735335306120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22cf5735335306120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2933ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22cf5735335306120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3455ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2262ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306130000'), "firstname"=>"Lindsay", "lastname"=>"Kohler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2514ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe22cf5735335306130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22cf5735335306130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2446ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 39ms (Views: 37.5ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306140000'), "firstname"=>"Hardy", "lastname"=>"Cassin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4424ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3589ms
Completed 200 OK in 7ms (Views: 5.9ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306150000'), "firstname"=>"Vito", "lastname"=>"Stoltenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 6ms (Views: 5.2ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306160000'), "firstname"=>"Domingo", "lastname"=>"Botsford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4027ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe22cf5735335306160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22cf5735335306160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2376ms
Completed 200 OK in 5ms (Views: 3.9ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306170000'), "firstname"=>"Ignacio", "lastname"=>"Breitenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4362ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe22cf5735335306170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22cf5735335306170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4298ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22cf5735335306170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3840ms
Redirected to http://test.host/admin/clients/52fe22cf5735335306170000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306180000'), "firstname"=>"Beatrice", "lastname"=>"Bode"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2720ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2182ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3517ms
Redirected to http://test.host/clients/52fe22cf5735335306190000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2251ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22cf57353353061a0000'), "firstname"=>"Vernie", "lastname"=>"Lind"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2811ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1727ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe22cf57353353061a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22cf57353353061a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22cf57353353061a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2560ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1769ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22cf57353353061b0000'), "firstname"=>"Sandra", "lastname"=>"Lueilwitz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2585ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe22cf57353353061b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22cf57353353061b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2782ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 6ms (Views: 4.5ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22cf57353353061c0000'), "firstname"=>"Clifford", "lastname"=>"Schuppe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3489ms
Completed 200 OK in 8ms (Views: 7.3ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22cf57353353061d0000'), "firstname"=>"Veronica", "lastname"=>"Murphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3608ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 5ms (Views: 4.1ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22cf57353353061e0000'), "firstname"=>"Boris", "lastname"=>"Roberts"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3911ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe22cf57353353061e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22cf57353353061e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2319ms
Completed 200 OK in 4ms (Views: 2.8ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22cf57353353061f0000'), "firstname"=>"Karina", "lastname"=>"Stiedemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3187ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe22cf57353353061f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22cf57353353061f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2927ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22cf57353353061f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2965ms
Redirected to http://test.host/clients/52fe22cf57353353061f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306200000'), "name"=>"Ardella Greenholt", "reference"=>"Isabell Wisoky", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4398ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2305ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4920ms
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3686ms
Redirected to http://test.host/products/52fe22cf5735335306210000
Completed 302 Found in 16ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2394ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306220000'), "name"=>"Icie Weimann", "reference"=>"Flo Hirthe", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3863ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2416ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe22cf5735335306220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22cf5735335306220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3312ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22cf5735335306220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3933ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3055ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306230000'), "name"=>"Dr. Renee Ledner", "reference"=>"Jeffry Witting", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2996ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe22cf5735335306230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22cf5735335306230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms)
Completed 200 OK in 11ms (Views: 9.2ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306240000'), "name"=>"Mrs. Marcelino Greenfelder", "reference"=>"Jaquelin Parker I", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1744ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4142ms
Completed 200 OK in 8ms (Views: 7.5ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306250000'), "name"=>"Bryce Keeling", "reference"=>"Irma Gutmann", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3976ms
Processing by ProductsController#new as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2712ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 6ms (Views: 6.0ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22cf5735335306260000'), "name"=>"Dr. Milo Gibson", "reference"=>"Ms. Juvenal Kunde", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3789ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe22cf5735335306260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22cf5735335306260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2633ms
Completed 200 OK in 5ms (Views: 3.4ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22d05735335306270000'), "name"=>"Dr. Jaylen Wisoky", "reference"=>"Ms. Margaretta Hermann", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3975ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe22d05735335306270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22d05735335306270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1688ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22d05735335306270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2781ms
Redirected to http://test.host/products/52fe22d05735335306270000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22d05735335306280000'), "firstname"=>"Rico", "lastname"=>"Sanford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4836ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1830ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22d05735335306290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3302ms
Redirected to http://test.host/users/52fe22d05735335306290000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1902ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22d057353353062a0000'), "firstname"=>"Thea", "lastname"=>"Wunsch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3469ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2235ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe22d057353353062a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22d057353353062a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2944ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22d057353353062a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3395ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2170ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22d057353353062b0000'), "firstname"=>"Marlon", "lastname"=>"Howe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2392ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe22d057353353062b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22d057353353062b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2405ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 6.2ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22d057353353062c0000'), "firstname"=>"Nyah", "lastname"=>"Marvin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4260ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3772ms
Completed 200 OK in 8ms (Views: 7.2ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22d057353353062d0000'), "firstname"=>"Carlotta", "lastname"=>"Hintz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3819ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 35ms (Views: 34.4ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22d057353353062e0000'), "firstname"=>"Dulce", "lastname"=>"Koss"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4203ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe22d057353353062e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22d057353353062e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2774ms
Completed 200 OK in 5ms (Views: 3.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22d057353353062f0000'), "firstname"=>"Aubree", "lastname"=>"Keebler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe22d057353353062f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22d057353353062f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2609ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe22d057353353062f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6569ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3161ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3612ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2999ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3229ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22da5735335364000000'), "name"=>"Delbert Krajcik", "reference"=>"Emmie Wolff", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4517ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1861ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22da5735335364010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3859ms
Redirected to http://test.host/admin/products/52fe22da5735335364010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2240ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22da5735335364020000'), "name"=>"Yvette Schulist DDS", "reference"=>"Mr. Jamar Bode", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3198ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1801ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe22da5735335364020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22da5735335364020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2984ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22da5735335364020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3244ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2119ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22da5735335364030000'), "name"=>"Hailee Emmerich", "reference"=>"Enrico Murphy", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2688ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe22da5735335364030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22da5735335364030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2555ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.4ms)
Completed 200 OK in 26ms (Views: 24.8ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22da5735335364040000'), "name"=>"Sonia Anderson V", "reference"=>"Sigmund Marks", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4223ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4840ms
Completed 200 OK in 34ms (Views: 33.6ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22db5735335364050000'), "name"=>"Marques Frami", "reference"=>"Joshuah Collier", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3726ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 20ms (Views: 5.7ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22db5735335364080000'), "name"=>"Sigurd Walter", "reference"=>"Mr. Darrick Greenholt", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4355ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe22db5735335364080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22db5735335364080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2754ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22db5735335364090000'), "name"=>"Audie Haley", "reference"=>"Johnpaul Yost", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4092ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe22db5735335364090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22db5735335364090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2650ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22db5735335364090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3187ms
Redirected to http://test.host/admin/products/52fe22db5735335364090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22db57353353640a0000'), "firstname"=>"Deron", "lastname"=>"Mosciski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4015ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1887ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22db57353353640b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4557ms
Redirected to http://test.host/admin/users/52fe22db57353353640b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1923ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22db57353353640c0000'), "firstname"=>"Adrienne", "lastname"=>"Renner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3110ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1581ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe22db57353353640c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22db57353353640c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2875ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22db57353353640c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3183ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1901ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22db57353353640d0000'), "firstname"=>"Arianna", "lastname"=>"Tillman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3118ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe22db57353353640d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22db57353353640d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2693ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.6ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22db57353353640e0000'), "firstname"=>"Noah", "lastname"=>"McCullough"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4451ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3108ms
Completed 200 OK in 6ms (Views: 5.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22db57353353640f0000'), "firstname"=>"Tyson", "lastname"=>"Donnelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 5ms (Views: 4.5ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22db5735335364100000'), "firstname"=>"Fritz", "lastname"=>"Beer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4302ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe22db5735335364100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22db5735335364100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2550ms
Completed 200 OK in 5ms (Views: 3.3ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22db5735335364110000'), "firstname"=>"Veronica", "lastname"=>"Kris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3853ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe22db5735335364110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22db5735335364110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe22db5735335364110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22db5735335364120000'), "firstname"=>"Stevie", "lastname"=>"Schoen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7696ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2329ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22db5735335364130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4997ms
Redirected to http://test.host/admin/clients/52fe22db5735335364130000
Completed 302 Found in 30ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2594ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22db5735335364140000'), "firstname"=>"Vilma", "lastname"=>"Luettgen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4145ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2333ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe22db5735335364140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22db5735335364140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3393ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22db5735335364140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3637ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1967ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22db5735335364150000'), "firstname"=>"Tanner", "lastname"=>"Schiller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2631ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe22db5735335364150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22db5735335364150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.9ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22db5735335364160000'), "firstname"=>"Asha", "lastname"=>"Murazik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4587ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3330ms
Completed 200 OK in 7ms (Views: 5.6ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22db5735335364170000'), "firstname"=>"Pearl", "lastname"=>"Donnelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4350ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 6ms (Views: 5.2ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22db5735335364180000'), "firstname"=>"Herta", "lastname"=>"Gleichner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4084ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe22db5735335364180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22db5735335364180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms
Completed 200 OK in 5ms (Views: 3.9ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22db5735335364190000'), "firstname"=>"Mittie", "lastname"=>"Cummings"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3914ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe22db5735335364190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22db5735335364190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3579ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22db5735335364190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4605ms
Redirected to http://test.host/admin/clients/52fe22db5735335364190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22db57353353641a0000'), "firstname"=>"Karianne", "lastname"=>"Barton"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2484ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1668ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22db57353353641b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2955ms
Redirected to http://test.host/clients/52fe22db57353353641b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1663ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22db57353353641c0000'), "firstname"=>"Amira", "lastname"=>"Purdy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3156ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2226ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe22db57353353641c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22db57353353641c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22db57353353641c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2303ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22db57353353641d0000'), "firstname"=>"Cara", "lastname"=>"Mann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2839ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe22db57353353641d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22db57353353641d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2703ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 6ms (Views: 4.4ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22db57353353641e0000'), "firstname"=>"Margie", "lastname"=>"Rau"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3464ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4636ms
Completed 200 OK in 8ms (Views: 7.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22db57353353641f0000'), "firstname"=>"Fausto", "lastname"=>"Hills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3950ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 5ms (Views: 4.1ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22db5735335364200000'), "firstname"=>"Eula", "lastname"=>"Kshlerin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4044ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe22db5735335364200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22db5735335364200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms
Completed 200 OK in 4ms (Views: 2.9ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe22db5735335364210000'), "firstname"=>"Tristin", "lastname"=>"Gerlach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3590ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe22db5735335364210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22db5735335364210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3712ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe22db5735335364210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4485ms
Redirected to http://test.host/clients/52fe22db5735335364210000
Completed 302 Found in 32ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22db5735335364220000'), "name"=>"Celia Terry", "reference"=>"Agnes Heller II", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4375ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1873ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22db5735335364230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3568ms
Redirected to http://test.host/products/52fe22db5735335364230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2206ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22db5735335364240000'), "name"=>"Norene Heaney", "reference"=>"Jamaal Windler", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3501ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1835ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe22db5735335364240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22db5735335364240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2591ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22db5735335364240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2682ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1843ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22db5735335364250000'), "name"=>"Winston Ondricka", "reference"=>"Jazmyne Lesch MD", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2571ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe22db5735335364250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22db5735335364250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2747ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 500 Internal Server Error in 10ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22db5735335364260000'), "name"=>"Mrs. Liana Reichel", "reference"=>"Trevor Bins", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4317ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3757ms
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22db5735335364270000'), "name"=>"Alta Wolf", "reference"=>"Dr. Manley Hudson", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3513ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5609.9ms)
Completed 200 OK in 5614ms (Views: 5612.8ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22e15735335364290000'), "name"=>"Gardner Yundt", "reference"=>"Coy Schamberger", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4952ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe22e15735335364290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22e15735335364290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms
Completed 200 OK in 5ms (Views: 3.4ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe22e157353353642a0000'), "name"=>"Martina Nolan DDS", "reference"=>"Maxime Bogisich", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4478ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe22e157353353642a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22e157353353642a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4024ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe22e157353353642a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms
Redirected to http://test.host/products/52fe22e157353353642a0000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22e157353353642b0000'), "firstname"=>"Melissa", "lastname"=>"Jenkins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4288ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1869ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22e157353353642c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms
Redirected to http://test.host/users/52fe22e157353353642c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2379ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22e157353353642d0000'), "firstname"=>"Carissa", "lastname"=>"Rosenbaum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4183ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1687ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe22e157353353642d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22e157353353642d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4291ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22e157353353642d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4343ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3504ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22e157353353642e0000'), "firstname"=>"Chandler", "lastname"=>"Ruecker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4638ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe22e157353353642e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22e157353353642e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3664ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 8ms (Views: 6.5ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22e157353353642f0000'), "firstname"=>"Brigitte", "lastname"=>"Kirlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4585ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3559ms
Completed 200 OK in 38ms (Views: 37.6ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22e15735335364300000'), "firstname"=>"Raina", "lastname"=>"Weber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4099ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 5ms (Views: 4.4ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22e15735335364310000'), "firstname"=>"Pamela", "lastname"=>"Schmidt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 9.7635ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe22e15735335364310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22e15735335364310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2676ms
Completed 200 OK in 5ms (Views: 3.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe22e15735335364320000'), "firstname"=>"Kathryne", "lastname"=>"Thiel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4115ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe22e15735335364320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe22e15735335364320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3785ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe22e15735335364320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6216ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3251ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2798ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2223ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2127ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3000000'), "name"=>"Golda Dickens", "reference"=>"Dr. Richie Collins", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4969ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2356ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3754ms
Redirected to http://test.host/admin/products/52fe230157353353c3010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2207ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3020000'), "name"=>"Lucinda Gerhold II", "reference"=>"Burnice Jones", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3312ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2036ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe230157353353c3020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe230157353353c3020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3014ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe230157353353c3020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3962ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2601ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3030000'), "name"=>"Erik Effertz MD", "reference"=>"Mrs. Alice Klein", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3050ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe230157353353c3030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe230157353353c3030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 200 OK in 27ms (Views: 25.4ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3040000'), "name"=>"German Casper", "reference"=>"Tina Gusikowski", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6588ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4376ms
Completed 200 OK in 34ms (Views: 33.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3050000'), "name"=>"Nettie Altenwerth", "reference"=>"Francesco Lindgren", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3708ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 20ms (Views: 5.3ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3080000'), "name"=>"Ms. Ayden Murphy", "reference"=>"Adelle Bradtke", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4362ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe230157353353c3080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe230157353353c3080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2594ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3090000'), "name"=>"Dudley Schulist", "reference"=>"Jay Strosin", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4083ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe230157353353c3090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe230157353353c3090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe230157353353c3090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3324ms
Redirected to http://test.host/admin/products/52fe230157353353c3090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe230157353353c30a0000'), "firstname"=>"Nelle", "lastname"=>"Olson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4723ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1808ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe230157353353c30b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3249ms
Redirected to http://test.host/admin/users/52fe230157353353c30b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2152ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe230157353353c30c0000'), "firstname"=>"Lionel", "lastname"=>"Considine"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3392ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1632ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe230157353353c30c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe230157353353c30c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2431ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe230157353353c30c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2822ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2256ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe230157353353c30d0000'), "firstname"=>"Okey", "lastname"=>"Monahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2949ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe230157353353c30d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe230157353353c30d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2957ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.6ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe230157353353c30e0000'), "firstname"=>"Stanley", "lastname"=>"Torp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1094ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3609ms
Completed 200 OK in 6ms (Views: 5.4ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe230157353353c30f0000'), "firstname"=>"Arden", "lastname"=>"Gerlach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 5ms (Views: 4.2ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3100000'), "firstname"=>"Alia", "lastname"=>"Will"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe230157353353c3100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe230157353353c3100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms
Completed 200 OK in 5ms (Views: 3.3ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3110000'), "firstname"=>"Fermin", "lastname"=>"Howell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe230157353353c3110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe230157353353c3110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2243ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe230157353353c3110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3120000'), "firstname"=>"Esther", "lastname"=>"Harber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4326ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1841ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4889ms
Redirected to http://test.host/admin/clients/52fe230157353353c3130000
Completed 302 Found in 33ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2395ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3140000'), "firstname"=>"Michale", "lastname"=>"Effertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3516ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2148ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe230157353353c3140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe230157353353c3140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2991ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe230157353353c3140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4955ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3398ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3150000'), "firstname"=>"Justyn", "lastname"=>"Lind"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2797ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe230157353353c3150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe230157353353c3150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2827ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.9ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3160000'), "firstname"=>"Sven", "lastname"=>"Kunze"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5329ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms
Completed 200 OK in 7ms (Views: 5.5ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3170000'), "firstname"=>"Wilhelmine", "lastname"=>"Ortiz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4521ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 6ms (Views: 5.1ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3180000'), "firstname"=>"Ruben", "lastname"=>"Hickle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4076ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe230157353353c3180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe230157353353c3180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2450ms
Completed 200 OK in 5ms (Views: 3.9ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3190000'), "firstname"=>"Elsie", "lastname"=>"Rippin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe230157353353c3190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe230157353353c3190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe230157353353c3190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2952ms
Redirected to http://test.host/admin/clients/52fe230157353353c3190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe230157353353c31a0000'), "firstname"=>"Eleanora", "lastname"=>"Bartell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3103ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2449ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe230157353353c31b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4355ms
Redirected to http://test.host/clients/52fe230157353353c31b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1866ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe230157353353c31c0000'), "firstname"=>"Katelin", "lastname"=>"Bernhard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2130ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1723ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe230157353353c31c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe230157353353c31c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2409ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe230157353353c31c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2572ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1812ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe230157353353c31d0000'), "firstname"=>"Johnny", "lastname"=>"Labadie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2381ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe230157353353c31d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe230157353353c31d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 6ms (Views: 4.4ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe230157353353c31e0000'), "firstname"=>"Mariam", "lastname"=>"Reinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3511ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe230157353353c31f0000'), "firstname"=>"Hillard", "lastname"=>"Turner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3892ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.4ms)
Completed 200 OK in 5ms (Views: 4.1ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3200000'), "firstname"=>"Oswald", "lastname"=>"Senger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe230157353353c3200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe230157353353c3200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2465ms
Completed 200 OK in 4ms (Views: 2.9ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3210000'), "firstname"=>"Terrill", "lastname"=>"Barton"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3384ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe230157353353c3210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe230157353353c3210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe230157353353c3210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2956ms
Redirected to http://test.host/clients/52fe230157353353c3210000
Completed 302 Found in 32ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3220000'), "name"=>"Garret Feeney", "reference"=>"Myrtice Moore", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5375ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3263ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms
Redirected to http://test.host/products/52fe230157353353c3230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1960ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3240000'), "name"=>"Jaleel Reinger", "reference"=>"Mrs. Marlene Koelpin", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3385ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1831ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe230157353353c3240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe230157353353c3240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2596ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe230157353353c3240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2662ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1848ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3250000'), "name"=>"Mr. Larissa Auer", "reference"=>"Agustina Trantow", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2555ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe230157353353c3250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe230157353353c3250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 9ms (Views: 7.6ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3260000'), "name"=>"Everardo Pacocha", "reference"=>"Howard Mills", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4717ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4560ms
Completed 200 OK in 8ms (Views: 7.8ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3270000'), "name"=>"Mr. Nedra Jast", "reference"=>"Clarabelle Carroll", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3648ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 7ms (Views: 5.5ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3290000'), "name"=>"Emie Parisian II", "reference"=>"Abelardo Lind", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4348ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe230157353353c3290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe230157353353c3290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2554ms
Completed 200 OK in 5ms (Views: 3.3ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe230157353353c32a0000'), "name"=>"Fernando Jerde", "reference"=>"Caleigh Osinski", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe230157353353c32a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe230157353353c32a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3102ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe230157353353c32a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4788ms
Redirected to http://test.host/products/52fe230157353353c32a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe230157353353c32b0000'), "firstname"=>"Lyla", "lastname"=>"Bahringer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4922ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1834ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe230157353353c32c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3209ms
Redirected to http://test.host/users/52fe230157353353c32c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1964ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe230157353353c32d0000'), "firstname"=>"Laury", "lastname"=>"Davis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2972ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1741ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe230157353353c32d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe230157353353c32d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2551ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe230157353353c32d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8391ms
Redirected to http://test.host/users
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2318ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe230157353353c32e0000'), "firstname"=>"Audra", "lastname"=>"Ankunding"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2908ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe230157353353c32e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe230157353353c32e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.9ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe230157353353c32f0000'), "firstname"=>"Sadye", "lastname"=>"Abbott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4157ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms
Completed 200 OK in 7ms (Views: 6.9ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3300000'), "firstname"=>"Maverick", "lastname"=>"Hand"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3479ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 35ms (Views: 35.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3310000'), "firstname"=>"Madalyn", "lastname"=>"Luettgen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4561ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe230157353353c3310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe230157353353c3310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2833ms
Completed 200 OK in 5ms (Views: 3.8ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe230157353353c3320000'), "firstname"=>"Rylee", "lastname"=>"Mann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4947ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe230157353353c3320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe230157353353c3320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2752ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe230157353353c3320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6150ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2918ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2946ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2522ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2573ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa000000'), "name"=>"Pierce Medhurst Jr.", "reference"=>"Thelma Feest", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4561ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1831ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms
Redirected to http://test.host/admin/products/52fe231357353353fa010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1948ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa020000'), "name"=>"Dashawn Schaden", "reference"=>"Mozell Jaskolski", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3137ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2190ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe231357353353fa020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe231357353353fa020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2977ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe231357353353fa020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3548ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2135ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa030000'), "name"=>"Fern Reichert", "reference"=>"Stephan Medhurst", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 10.0392ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe231357353353fa030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe231357353353fa030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3041ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms)
Completed 200 OK in 27ms (Views: 25.2ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa040000'), "name"=>"Nya Stracke", "reference"=>"Antonette Balistreri", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4660ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 30.2212ms
Completed 200 OK in 37ms (Views: 36.4ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa050000'), "name"=>"Pearlie Wintheiser", "reference"=>"Allie Roberts", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6030ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 23ms (Views: 5.3ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa080000'), "name"=>"Bettie Denesik", "reference"=>"Salvador Schuppe", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe231357353353fa080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe231357353353fa080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2968ms
Completed 200 OK in 5ms (Views: 3.9ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa090000'), "name"=>"Camden Weber", "reference"=>"Vaughn Lowe", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.1586ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe231357353353fa090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe231357353353fa090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3234ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe231357353353fa090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3846ms
Redirected to http://test.host/admin/products/52fe231357353353fa090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa0a0000'), "firstname"=>"Kayleigh", "lastname"=>"Lemke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4249ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1783ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3128ms
Redirected to http://test.host/admin/users/52fe231357353353fa0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1825ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa0c0000'), "firstname"=>"Elijah", "lastname"=>"Altenwerth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3080ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1735ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe231357353353fa0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe231357353353fa0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2439ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe231357353353fa0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3055ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1746ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa0d0000'), "firstname"=>"Earlene", "lastname"=>"Wilkinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3376ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe231357353353fa0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe231357353353fa0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3612ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.7ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa0e0000'), "firstname"=>"Floy", "lastname"=>"Corkery"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4118ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3221ms
Completed 200 OK in 6ms (Views: 5.1ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa0f0000'), "firstname"=>"Mikayla", "lastname"=>"Jaskolski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3447ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 5ms (Views: 4.2ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa100000'), "firstname"=>"Hazel", "lastname"=>"Barton"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4069ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe231357353353fa100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe231357353353fa100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2918ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa110000'), "firstname"=>"Alda", "lastname"=>"Schulist"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4273ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe231357353353fa110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe231357353353fa110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe231357353353fa110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa120000'), "firstname"=>"Ella", "lastname"=>"Zieme"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4381ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1953ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 28.2114ms
Redirected to http://test.host/admin/clients/52fe231357353353fa130000
Completed 302 Found in 31ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2600ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa140000'), "firstname"=>"Jada", "lastname"=>"Rippin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3864ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1829ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe231357353353fa140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe231357353353fa140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe231357353353fa140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3057ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1879ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa150000'), "firstname"=>"Royce", "lastname"=>"Labadie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2562ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe231357353353fa150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe231357353353fa150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2363ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.8ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa160000'), "firstname"=>"Suzanne", "lastname"=>"Conn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4205ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3318ms
Completed 200 OK in 7ms (Views: 5.5ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa170000'), "firstname"=>"Janae", "lastname"=>"Schoen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4255ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 6ms (Views: 5.1ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa180000'), "firstname"=>"Guiseppe", "lastname"=>"Purdy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4099ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe231357353353fa180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe231357353353fa180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2539ms
Completed 200 OK in 5ms (Views: 3.9ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa190000'), "firstname"=>"Lukas", "lastname"=>"Mann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe231357353353fa190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe231357353353fa190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3063ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe231357353353fa190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4791ms
Redirected to http://test.host/admin/clients/52fe231357353353fa190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa1a0000'), "firstname"=>"Kay", "lastname"=>"Rolfson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3629ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1783ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3074ms
Redirected to http://test.host/clients/52fe231357353353fa1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1835ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa1c0000'), "firstname"=>"Palma", "lastname"=>"Welch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2299ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1680ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe231357353353fa1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe231357353353fa1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2401ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe231357353353fa1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2525ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1796ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa1d0000'), "firstname"=>"Garry", "lastname"=>"Rau"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2429ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe231357353353fa1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe231357353353fa1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2609ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 6ms (Views: 4.4ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa1e0000'), "firstname"=>"Jerald", "lastname"=>"Carroll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3512ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3699ms
Completed 200 OK in 8ms (Views: 7.3ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa1f0000'), "firstname"=>"Kevin", "lastname"=>"Adams"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4023ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.4ms)
Completed 200 OK in 5ms (Views: 4.1ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa200000'), "firstname"=>"Alison", "lastname"=>"Marquardt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4049ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe231357353353fa200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe231357353353fa200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2500ms
Completed 200 OK in 4ms (Views: 2.8ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa210000'), "firstname"=>"Audrey", "lastname"=>"Graham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3372ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe231357353353fa210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe231357353353fa210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2603ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe231357353353fa210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2831ms
Redirected to http://test.host/clients/52fe231357353353fa210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa220000'), "name"=>"Ethyl Marks", "reference"=>"Russel Wilderman", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4754ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1860ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3583ms
Redirected to http://test.host/products/52fe231357353353fa230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1978ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa240000'), "name"=>"Constance Reilly", "reference"=>"Mr. Camila Cronin", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3235ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1800ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe231357353353fa240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe231357353353fa240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2642ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe231357353353fa240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2697ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1836ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa250000'), "name"=>"Rose Bode MD", "reference"=>"Tressie Armstrong", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2575ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe231357353353fa250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe231357353353fa250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2558ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.7ms)
Completed 500 Internal Server Error in 9ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa260000'), "name"=>"Dominique Friesen DDS", "reference"=>"Orval Stoltenberg", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4207ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4204ms
Completed 200 OK in 8ms (Views: 7.3ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa270000'), "name"=>"Devante Wolf", "reference"=>"Rashawn Abbott", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3508ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 7ms (Views: 5.5ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa290000'), "name"=>"Aiden Schulist", "reference"=>"Lonny Beahan", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1906ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe231357353353fa290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe231357353353fa290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2590ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa2a0000'), "name"=>"Louisa Schuppe", "reference"=>"Grady Powlowski", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4373ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe231357353353fa2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe231357353353fa2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2560ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe231357353353fa2a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2811ms
Redirected to http://test.host/products/52fe231357353353fa2a0000
Completed 302 Found in 2ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa2b0000'), "firstname"=>"Jaden", "lastname"=>"Marquardt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4133ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1800ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa2c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3250ms
Redirected to http://test.host/users/52fe231357353353fa2c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2191ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa2d0000'), "firstname"=>"Jake", "lastname"=>"Brekke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3118ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1634ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe231357353353fa2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe231357353353fa2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2337ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe231357353353fa2d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2939ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1933ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa2e0000'), "firstname"=>"Reynold", "lastname"=>"Smitham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2887ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe231357353353fa2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe231357353353fa2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2442ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 6.9ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa2f0000'), "firstname"=>"Chasity", "lastname"=>"Stoltenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3368ms
Completed 200 OK in 7ms (Views: 6.8ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa300000'), "firstname"=>"Delpha", "lastname"=>"Cole"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3309ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 35ms (Views: 34.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa310000'), "firstname"=>"Elza", "lastname"=>"Ritchie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe231357353353fa310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe231357353353fa310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2382ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe231357353353fa320000'), "firstname"=>"Armando", "lastname"=>"Parisian"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5067ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe231357353353fa320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe231357353353fa320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2343ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe231357353353fa320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6348ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3324ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3169ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2682ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2664ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe23285735335427000000'), "name"=>"Domenick Bins", "reference"=>"Clare Bode", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4576ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1856ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe23285735335427010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms
Redirected to http://test.host/admin/products/52fe23285735335427010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1908ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe23285735335427020000'), "name"=>"Mr. Elyse Lang", "reference"=>"Linnie Hammes", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3060ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2287ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe23285735335427020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe23285735335427020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2500ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe23285735335427020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2962ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2318ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe23285735335427030000'), "name"=>"Macey Bins", "reference"=>"Tamia Feeney", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3014ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe23285735335427030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe23285735335427030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3013ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.4ms)
Completed 200 OK in 26ms (Views: 24.9ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe23285735335427040000'), "name"=>"Miss Annamarie Langworth", "reference"=>"Rosendo Torp", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4366ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 29.1389ms
Completed 200 OK in 35ms (Views: 35.0ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe23285735335427050000'), "name"=>"Mylene Sporer", "reference"=>"Savion Roob", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3897ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 200 OK in 20ms (Views: 5.5ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe23285735335427080000'), "name"=>"Jeffry Marvin", "reference"=>"Reese Grimes IV", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4298ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe23285735335427080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe23285735335427080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2633ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe23285735335427090000'), "name"=>"Marge Bartell", "reference"=>"Rahul Wunsch", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3956ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe23285735335427090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe23285735335427090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2983ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe23285735335427090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms
Redirected to http://test.host/admin/products/52fe23285735335427090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe232857353354270a0000'), "firstname"=>"Hayley", "lastname"=>"Auer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4545ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2427ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe232857353354270b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4264ms
Redirected to http://test.host/admin/users/52fe232857353354270b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1756ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe232857353354270c0000'), "firstname"=>"Susan", "lastname"=>"Cole"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2934ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1579ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe232857353354270c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe232857353354270c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2350ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe232857353354270c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3445ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2426ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe232857353354270d0000'), "firstname"=>"Fatima", "lastname"=>"Ritchie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe232857353354270d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe232857353354270d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2558ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.6ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe232857353354270e0000'), "firstname"=>"Felicita", "lastname"=>"Hammes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4395ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2933ms
Completed 200 OK in 6ms (Views: 5.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe232857353354270f0000'), "firstname"=>"Nolan", "lastname"=>"Macejkovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4509ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 5ms (Views: 4.4ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe23285735335427100000'), "firstname"=>"Vivianne", "lastname"=>"Stark"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3914ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe23285735335427100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe23285735335427100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2317ms
Completed 200 OK in 5ms (Views: 3.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe23285735335427110000'), "firstname"=>"Josefina", "lastname"=>"Kilback"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3763ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe23285735335427110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe23285735335427110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe23285735335427110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe23285735335427120000'), "firstname"=>"Pattie", "lastname"=>"Hansen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4291ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1834ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe23285735335427130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4442ms
Redirected to http://test.host/admin/clients/52fe23285735335427130000
Completed 302 Found in 30ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2417ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe23285735335427140000'), "firstname"=>"Jerald", "lastname"=>"Thompson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4265ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1864ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe23285735335427140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe23285735335427140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2654ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe23285735335427140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3024ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1864ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe23285735335427150000'), "firstname"=>"Murphy", "lastname"=>"Huel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2574ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe23285735335427150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe23285735335427150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2925ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 10ms (Views: 8.4ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe23285735335427160000'), "firstname"=>"Cecile", "lastname"=>"Aufderhar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4331ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3555ms
Completed 200 OK in 7ms (Views: 5.8ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe23285735335427170000'), "firstname"=>"Baylee", "lastname"=>"Purdy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4331ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 6ms (Views: 5.1ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe23295735335427180000'), "firstname"=>"Marcos", "lastname"=>"Rolfson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4437ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe23295735335427180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe23295735335427180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2714ms
Completed 200 OK in 5ms (Views: 3.9ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe23295735335427190000'), "firstname"=>"Sheridan", "lastname"=>"Hackett"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2905ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe23295735335427190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe23295735335427190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3242ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe23295735335427190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3771ms
Redirected to http://test.host/admin/clients/52fe23295735335427190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe232957353354271a0000'), "firstname"=>"Giovani", "lastname"=>"Glover"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3401ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2260ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe232957353354271b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3451ms
Redirected to http://test.host/clients/52fe232957353354271b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2325ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe232957353354271c0000'), "firstname"=>"Alivia", "lastname"=>"Hauck"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2845ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1929ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe232957353354271c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe232957353354271c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe232957353354271c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2587ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1809ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe232957353354271d0000'), "firstname"=>"Janie", "lastname"=>"MacGyver"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2804ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe232957353354271d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe232957353354271d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2290ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 6ms (Views: 4.5ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe232957353354271e0000'), "firstname"=>"Orpha", "lastname"=>"Kling"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4238ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4084ms
Completed 200 OK in 8ms (Views: 7.3ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe232957353354271f0000'), "firstname"=>"Matilda", "lastname"=>"Batz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3996ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.4ms)
Completed 200 OK in 5ms (Views: 4.1ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe23295735335427200000'), "firstname"=>"Maude", "lastname"=>"Paucek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4264ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe23295735335427200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe23295735335427200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2911ms
Completed 200 OK in 5ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe23295735335427210000'), "firstname"=>"Adolfo", "lastname"=>"Cruickshank"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4530ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe23295735335427210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe23295735335427210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe23295735335427210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3369ms
Redirected to http://test.host/clients/52fe23295735335427210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe23295735335427220000'), "name"=>"Shawna Ward", "reference"=>"Mrs. Rubie Stanton", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4586ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1932ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe23295735335427230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4033ms
Redirected to http://test.host/products/52fe23295735335427230000
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2431ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe23295735335427240000'), "name"=>"Brennon Yost", "reference"=>"Rosetta Collier", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1939ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe23295735335427240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe23295735335427240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe23295735335427240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2874ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1936ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe23295735335427250000'), "name"=>"Mrs. Rowena Howe", "reference"=>"Miss Susanna Carroll", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4311ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe23295735335427250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe23295735335427250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3456ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 9ms (Views: 7.6ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe23295735335427260000'), "name"=>"Georgianna Strosin II", "reference"=>"Clement Heaney", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4138ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3671ms
Completed 200 OK in 7ms (Views: 7.0ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe23295735335427270000'), "name"=>"Gwendolyn Monahan PhD", "reference"=>"Perry Wehner", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3573ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 7ms (Views: 5.9ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe23295735335427290000'), "name"=>"Payton Gleason", "reference"=>"Mr. Maurice Runte", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4445ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe23295735335427290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe23295735335427290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms
Completed 200 OK in 5ms (Views: 3.4ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe232957353354272a0000'), "name"=>"Ms. Randi Carroll", "reference"=>"Miss Laurianne Stiedemann", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3939ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe232957353354272a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe232957353354272a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2704ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe232957353354272a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3037ms
Redirected to http://test.host/products/52fe232957353354272a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe232957353354272b0000'), "firstname"=>"Elias", "lastname"=>"Ruecker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3970ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1811ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe232957353354272c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3085ms
Redirected to http://test.host/users/52fe232957353354272c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1883ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe232957353354272d0000'), "firstname"=>"Esteban", "lastname"=>"Hilll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2985ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2186ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe232957353354272d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe232957353354272d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3974ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe232957353354272d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2944ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1485ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe232957353354272e0000'), "firstname"=>"Jacey", "lastname"=>"Orn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe232957353354272e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe232957353354272e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2965ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 8ms (Views: 6.3ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe232957353354272f0000'), "firstname"=>"Kayla", "lastname"=>"Corwin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4451ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3529ms
Completed 200 OK in 7ms (Views: 6.8ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe23295735335427300000'), "firstname"=>"D'angelo", "lastname"=>"Gibson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3442ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 35ms (Views: 34.1ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe23295735335427310000'), "firstname"=>"Dayton", "lastname"=>"Collins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4360ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe23295735335427310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe23295735335427310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3089ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe23295735335427320000'), "firstname"=>"Gaetano", "lastname"=>"Huel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4140ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe23295735335427320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe23295735335427320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2647ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe23295735335427320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6604ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3447ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3656ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2984ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe26ca57353355a2000000'), "name"=>"Norene O'Conner MD", "reference"=>"Miss Jaqueline Lemke", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4780ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1890ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe26ca57353355a2010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3866ms
Redirected to http://test.host/admin/products/52fe26ca57353355a2010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1925ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe26ca57353355a2020000'), "name"=>"Sandy Kuhlman", "reference"=>"Jean Stanton IV", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1758ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe26ca57353355a2020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe26ca57353355a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2648ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe26ca57353355a2020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2936ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2083ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe26ca57353355a2030000'), "name"=>"Kraig Ryan", "reference"=>"Thaddeus Witting I", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2771ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe26ca57353355a2030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe26ca57353355a2030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2979ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms)
Completed 200 OK in 26ms (Views: 25.2ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe26ca57353355a2040000'), "name"=>"Litzy Larkin", "reference"=>"Dr. Rosie Effertz", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 9.1327ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3882ms
Completed 200 OK in 34ms (Views: 33.1ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2050000'), "name"=>"Velva Botsford", "reference"=>"Gene Effertz", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3748ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 20ms (Views: 5.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2080000'), "name"=>"Florian Steuber", "reference"=>"Khalid Schmeler", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4169ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe26cb57353355a2080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe26cb57353355a2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2837ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2090000'), "name"=>"Dessie Lueilwitz MD", "reference"=>"Ms. Tre Koelpin", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe26cb57353355a2090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe26cb57353355a2090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2891ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe26cb57353355a2090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3413ms
Redirected to http://test.host/admin/products/52fe26cb57353355a2090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a20a0000'), "firstname"=>"Carolina", "lastname"=>"Daugherty"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4515ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1816ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a20b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms
Redirected to http://test.host/admin/users/52fe26cb57353355a20b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1849ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a20c0000'), "firstname"=>"Wiley", "lastname"=>"Hoeger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3302ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1806ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe26cb57353355a20c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe26cb57353355a20c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2495ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe26cb57353355a20c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2929ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1837ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a20d0000'), "firstname"=>"Alphonso", "lastname"=>"Hackett"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2453ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe26cb57353355a20d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe26cb57353355a20d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2691ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.6ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a20e0000'), "firstname"=>"Jake", "lastname"=>"Gutkowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2073ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3464ms
Completed 200 OK in 6ms (Views: 5.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a20f0000'), "firstname"=>"Herman", "lastname"=>"Hane"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3809ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 5ms (Views: 4.3ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2100000'), "firstname"=>"Maribel", "lastname"=>"Flatley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4436ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe26cb57353355a2100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe26cb57353355a2100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2900ms
Completed 200 OK in 5ms (Views: 3.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2110000'), "firstname"=>"Dave", "lastname"=>"Weber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4026ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe26cb57353355a2110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe26cb57353355a2110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3853ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe26cb57353355a2110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2120000'), "firstname"=>"Marie", "lastname"=>"Hammes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4858ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1982ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4761ms
Redirected to http://test.host/admin/clients/52fe26cb57353355a2130000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2428ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2140000'), "firstname"=>"Demarcus", "lastname"=>"Dach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3602ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2373ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe26cb57353355a2140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe26cb57353355a2140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5008ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe26cb57353355a2140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4671ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2467ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2150000'), "firstname"=>"Durward", "lastname"=>"DuBuque"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3069ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe26cb57353355a2150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe26cb57353355a2150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 8.0ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2160000'), "firstname"=>"Jacky", "lastname"=>"Schaden"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0829ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3302ms
Completed 200 OK in 7ms (Views: 5.5ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2170000'), "firstname"=>"Allen", "lastname"=>"Hettinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 6ms (Views: 5.1ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2180000'), "firstname"=>"Emmie", "lastname"=>"Russel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4093ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe26cb57353355a2180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe26cb57353355a2180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2506ms
Completed 200 OK in 5ms (Views: 3.9ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2190000'), "firstname"=>"Amira", "lastname"=>"Kertzmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4402ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe26cb57353355a2190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe26cb57353355a2190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3162ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe26cb57353355a2190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3466ms
Redirected to http://test.host/admin/clients/52fe26cb57353355a2190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a21a0000'), "firstname"=>"Spencer", "lastname"=>"Hintz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3993ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2124ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a21b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3908ms
Redirected to http://test.host/clients/52fe26cb57353355a21b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2363ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a21c0000'), "firstname"=>"Anissa", "lastname"=>"Lynch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2617ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1722ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe26cb57353355a21c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe26cb57353355a21c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2399ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe26cb57353355a21c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2522ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1737ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a21d0000'), "firstname"=>"Eugene", "lastname"=>"Hegmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2756ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe26cb57353355a21d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe26cb57353355a21d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2649ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.6ms)
Completed 200 OK in 6ms (Views: 4.4ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a21e0000'), "firstname"=>"Alysson", "lastname"=>"Pollich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3554ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3605ms
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a21f0000'), "firstname"=>"Alberto", "lastname"=>"Schuppe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3810ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.4ms)
Completed 200 OK in 5ms (Views: 4.1ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2200000'), "firstname"=>"Dale", "lastname"=>"Donnelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4075ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe26cb57353355a2200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe26cb57353355a2200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2521ms
Completed 200 OK in 4ms (Views: 2.8ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2210000'), "firstname"=>"Sam", "lastname"=>"Bechtelar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3289ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe26cb57353355a2210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe26cb57353355a2210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3612ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe26cb57353355a2210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms
Redirected to http://test.host/clients/52fe26cb57353355a2210000
Completed 302 Found in 32ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2220000'), "name"=>"Palma McLaughlin", "reference"=>"Alysa Durgan", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4758ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1862ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4040ms
Redirected to http://test.host/products/52fe26cb57353355a2230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2397ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2240000'), "name"=>"Keara O'Connell", "reference"=>"Kelli Simonis", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1904ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe26cb57353355a2240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe26cb57353355a2240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe26cb57353355a2240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2632ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1822ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2250000'), "name"=>"Quinn Cormier", "reference"=>"Mercedes Lockman", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2527ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe26cb57353355a2250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe26cb57353355a2250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2550ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 9ms (Views: 7.6ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2260000'), "name"=>"Dr. Chase Stroman", "reference"=>"Mr. Andre Larkin", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4121ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4131ms
Completed 200 OK in 8ms (Views: 7.6ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2270000'), "name"=>"Armando Lindgren", "reference"=>"Julius Shanahan", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3338ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 7ms (Views: 5.5ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2290000'), "name"=>"Bailey Wiegand III", "reference"=>"Fredy Bayer", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe26cb57353355a2290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe26cb57353355a2290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms
Completed 200 OK in 5ms (Views: 3.4ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a22a0000'), "name"=>"Guadalupe Denesik", "reference"=>"Rene Pollich", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3865ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe26cb57353355a22a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe26cb57353355a22a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2905ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe26cb57353355a22a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3495ms
Redirected to http://test.host/products/52fe26cb57353355a22a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a22b0000'), "firstname"=>"Marina", "lastname"=>"Barrows"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4153ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1604ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a22c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4066ms
Redirected to http://test.host/users/52fe26cb57353355a22c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1984ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a22d0000'), "firstname"=>"Dudley", "lastname"=>"Lockman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3500ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2136ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe26cb57353355a22d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe26cb57353355a22d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3074ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe26cb57353355a22d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4467ms
Redirected to http://test.host/users
Completed 302 Found in 7ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2459ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a22e0000'), "firstname"=>"Melvina", "lastname"=>"O'Kon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3004ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe26cb57353355a22e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe26cb57353355a22e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2734ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a22f0000'), "firstname"=>"Camila", "lastname"=>"Raynor"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4631ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3362ms
Completed 200 OK in 8ms (Views: 7.1ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2300000'), "firstname"=>"Emmett", "lastname"=>"Fisher"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3571ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 200 OK in 35ms (Views: 34.2ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2310000'), "firstname"=>"Mason", "lastname"=>"Jacobi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4214ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe26cb57353355a2310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe26cb57353355a2310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2556ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe26cb57353355a2320000'), "firstname"=>"Adolphus", "lastname"=>"Schaefer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5449ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe26cb57353355a2320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe26cb57353355a2320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2874ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe26cb57353355a2320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6160ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2944ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3397ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2798ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3106ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38c75735335bd6000000'), "name"=>"Dina Swift", "reference"=>"Luisa Stark", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5015ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2258ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38c75735335bd6010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3599ms
Redirected to http://test.host/admin/products/52fe38c75735335bd6010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2555ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38c75735335bd6020000'), "name"=>"Joel Bergnaum Sr.", "reference"=>"Tressa Rutherford IV", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3348ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2253ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe38c75735335bd6020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe38c75735335bd6020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2752ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe38c75735335bd6020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1967ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38c75735335bd6030000'), "name"=>"Bradford Kozey", "reference"=>"Ms. Nia Berge", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 8.9539ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe38c75735335bd6030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe38c75735335bd6030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2931ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.9ms)
Completed 500 Internal Server Error in 27ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38c75735335bd6040000'), "name"=>"Clarissa Smith", "reference"=>"Ms. Augustus Ankunding", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5045ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3701ms
Completed 500 Internal Server Error in 12ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38c75735335bd6050000'), "name"=>"Makenna Fritsch", "reference"=>"Janet Kassulke", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4778ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 500 Internal Server Error in 26ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38c75735335bd6080000'), "name"=>"Jaron Littel", "reference"=>"Camila McLaughlin PhD", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4533ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe38c75735335bd6080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe38c75735335bd6080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2749ms
Completed 500 Internal Server Error in 10ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38c75735335bd6090000'), "name"=>"Marisa Champlin DVM", "reference"=>"Dr. Matilda Roob", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4274ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe38c75735335bd6090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe38c75735335bd6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe38c75735335bd6090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3544ms
Redirected to http://test.host/admin/products/52fe38c75735335bd6090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38c75735335bd60a0000'), "firstname"=>"Hallie", "lastname"=>"McGlynn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4575ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2281ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38c75735335bd60b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3931ms
Redirected to http://test.host/admin/users/52fe38c75735335bd60b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2386ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38c75735335bd60c0000'), "firstname"=>"Eliza", "lastname"=>"Howell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3594ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2233ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe38c75735335bd60c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe38c75735335bd60c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2543ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe38c75735335bd60c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2996ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1868ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38c75735335bd60d0000'), "firstname"=>"Oleta", "lastname"=>"Rath"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2488ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe38c75735335bd60d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe38c75735335bd60d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2685ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 500 Internal Server Error in 13ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38c75735335bd60e0000'), "firstname"=>"Darrin", "lastname"=>"Kunze"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4165ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4096ms
Completed 500 Internal Server Error in 12ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38c75735335bd60f0000'), "firstname"=>"Vita", "lastname"=>"McCullough"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0347ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 500 Internal Server Error in 10ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38c75735335bd6100000'), "firstname"=>"Wilton", "lastname"=>"Dickinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5058ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe38c75735335bd6100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe38c75735335bd6100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2992ms
Completed 500 Internal Server Error in 38ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38c75735335bd6110000'), "firstname"=>"Taurean", "lastname"=>"Bosco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4196ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe38c75735335bd6110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe38c75735335bd6110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe38c75735335bd6110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38c75735335bd6120000'), "firstname"=>"Arnulfo", "lastname"=>"Zieme"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4836ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2302ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38c75735335bd6130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms
Redirected to http://test.host/admin/clients/52fe38c75735335bd6130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2096ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38c75735335bd6140000'), "firstname"=>"Llewellyn", "lastname"=>"Runolfsdottir"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3008ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1748ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe38c75735335bd6140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe38c75735335bd6140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2492ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe38c75735335bd6140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2921ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1861ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38c75735335bd6150000'), "firstname"=>"Madelynn", "lastname"=>"Langosh"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2840ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe38c75735335bd6150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe38c75735335bd6150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2295ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 500 Internal Server Error in 14ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38c75735335bd6160000'), "firstname"=>"Ferne", "lastname"=>"Haley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4660ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms
Completed 500 Internal Server Error in 41ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38c75735335bd6170000'), "firstname"=>"Caroline", "lastname"=>"Dach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4283ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 500 Internal Server Error in 12ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd6180000'), "firstname"=>"Mafalda", "lastname"=>"Strosin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4200ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe38c85735335bd6180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe38c85735335bd6180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3112ms
Completed 500 Internal Server Error in 10ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd6190000'), "firstname"=>"Ruthe", "lastname"=>"Windler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4559ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe38c85735335bd6190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe38c85735335bd6190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe38c85735335bd6190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2999ms
Redirected to http://test.host/admin/clients/52fe38c85735335bd6190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd61a0000'), "firstname"=>"Jerrell", "lastname"=>"Sauer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2722ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2163ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd61b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms
Redirected to http://test.host/clients/52fe38c85735335bd61b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2054ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd61c0000'), "firstname"=>"Glenda", "lastname"=>"West"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3881ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2322ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe38c85735335bd61c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe38c85735335bd61c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2391ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe38c85735335bd61c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2475ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1613ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd61d0000'), "firstname"=>"Freddie", "lastname"=>"Hoeger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2710ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe38c85735335bd61d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe38c85735335bd61d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2610ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 500 Internal Server Error in 11ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd61e0000'), "firstname"=>"Clementina", "lastname"=>"Schmeler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4552ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms
Completed 500 Internal Server Error in 13ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd61f0000'), "firstname"=>"Jeramie", "lastname"=>"Kutch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 500 Internal Server Error in 10ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd6200000'), "firstname"=>"Alexandrine", "lastname"=>"Jenkins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4140ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe38c85735335bd6200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe38c85735335bd6200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2521ms
Completed 500 Internal Server Error in 9ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd6210000'), "firstname"=>"Christy", "lastname"=>"Torp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4580ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe38c85735335bd6210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe38c85735335bd6210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe38c85735335bd6210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2785ms
Redirected to http://test.host/clients/52fe38c85735335bd6210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd6220000'), "name"=>"Kellie Lehner", "reference"=>"Ms. Kitty Wisoky", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4123ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1806ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd6230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3131ms
Redirected to http://test.host/products/52fe38c85735335bd6230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1894ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd6240000'), "name"=>"Asha Ward", "reference"=>"Cade Jenkins", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 29.5496ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4332ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe38c85735335bd6240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe38c85735335bd6240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3147ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe38c85735335bd6240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2871ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1880ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd6250000'), "name"=>"Rocio Osinski", "reference"=>"Jessie Jacobi", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2364ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe38c85735335bd6250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe38c85735335bd6250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2873ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.0ms)
Completed 500 Internal Server Error in 15ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd6260000'), "name"=>"Lawson Hagenes DVM", "reference"=>"Ms. Jett Roberts", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4280ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3719ms
Completed 500 Internal Server Error in 14ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd6270000'), "name"=>"Blake Lehner", "reference"=>"Gust Schimmel", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4777ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 500 Internal Server Error in 12ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd6290000'), "name"=>"Charlie Marks DDS", "reference"=>"Dr. Shyanne Jast", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4643ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe38c85735335bd6290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe38c85735335bd6290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms
Completed 500 Internal Server Error in 38ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd62a0000'), "name"=>"Jovanny Pacocha", "reference"=>"Shanie Cartwright", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4212ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe38c85735335bd62a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe38c85735335bd62a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2588ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe38c85735335bd62a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2813ms
Redirected to http://test.host/products/52fe38c85735335bd62a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd62b0000'), "firstname"=>"Rachelle", "lastname"=>"Graham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4138ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1821ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd62c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3207ms
Redirected to http://test.host/users/52fe38c85735335bd62c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1897ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd62d0000'), "firstname"=>"Janice", "lastname"=>"Heaney"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3024ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1984ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe38c85735335bd62d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe38c85735335bd62d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe38c85735335bd62d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2549ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1780ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd62e0000'), "firstname"=>"Camden", "lastname"=>"Kovacek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2416ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe38c85735335bd62e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe38c85735335bd62e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2753ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 500 Internal Server Error in 13ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd62f0000'), "firstname"=>"Peggie", "lastname"=>"Nader"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4300ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4333ms
Completed 500 Internal Server Error in 44ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd6300000'), "firstname"=>"Cordie", "lastname"=>"Labadie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4286ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 500 Internal Server Error in 10ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd6310000'), "firstname"=>"Cortez", "lastname"=>"Beatty"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4441ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe38c85735335bd6310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe38c85735335bd6310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2906ms
Completed 500 Internal Server Error in 9ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38c85735335bd6320000'), "firstname"=>"Tatum", "lastname"=>"Stoltenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5285ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe38c85735335bd6320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe38c85735335bd6320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3589ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe38c85735335bd6320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7102ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3597ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4367ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3463ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3404ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c01000000'), "name"=>"Corine Moen", "reference"=>"Ramona Block", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4946ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2319ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c01010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3728ms
Redirected to http://test.host/admin/products/52fe38cd5735335c01010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2156ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c01020000'), "name"=>"Eulalia Schmidt Sr.", "reference"=>"Joshuah Moore", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3359ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1988ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe38cd5735335c01020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe38cd5735335c01020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe38cd5735335c01020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3209ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1964ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c01030000'), "name"=>"Cleo Leuschke", "reference"=>"Elmore White", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7222ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe38cd5735335c01030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe38cd5735335c01030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2444ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.8ms)
Completed 500 Internal Server Error in 26ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c01040000'), "name"=>"Cortez Kuvalis", "reference"=>"Jeremie Nicolas", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5398ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3436ms
Completed 500 Internal Server Error in 12ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c01050000'), "name"=>"Elmore Lebsack", "reference"=>"Kayla Steuber", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4206ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 500 Internal Server Error in 24ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c01080000'), "name"=>"Ronaldo Erdman", "reference"=>"Salvatore Gerlach", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0805ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe38cd5735335c01080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe38cd5735335c01080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4353ms
Completed 500 Internal Server Error in 10ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c01090000'), "name"=>"Dr. Adolf Roob", "reference"=>"Jacquelyn Zieme", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4753ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe38cd5735335c01090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe38cd5735335c01090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2591ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe38cd5735335c01090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3228ms
Redirected to http://test.host/admin/products/52fe38cd5735335c01090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c010a0000'), "firstname"=>"Winston", "lastname"=>"Runte"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5109ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2423ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c010b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3935ms
Redirected to http://test.host/admin/users/52fe38cd5735335c010b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2639ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c010c0000'), "firstname"=>"Joseph", "lastname"=>"Cronin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3813ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2615ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe38cd5735335c010c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe38cd5735335c010c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3016ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe38cd5735335c010c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2019ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c010d0000'), "firstname"=>"Margie", "lastname"=>"Klein"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2578ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe38cd5735335c010d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe38cd5735335c010d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2420ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 500 Internal Server Error in 13ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c010e0000'), "firstname"=>"Leann", "lastname"=>"Wolf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4572ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4963ms
Completed 500 Internal Server Error in 13ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c010f0000'), "firstname"=>"Arturo", "lastname"=>"Fahey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2850ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 500 Internal Server Error in 10ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c01100000'), "firstname"=>"Rusty", "lastname"=>"Parisian"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5233ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe38cd5735335c01100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe38cd5735335c01100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3499ms
Completed 500 Internal Server Error in 40ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c01110000'), "firstname"=>"Broderick", "lastname"=>"Torphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4576ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe38cd5735335c01110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe38cd5735335c01110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe38cd5735335c01110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c01120000'), "firstname"=>"Lorna", "lastname"=>"Zieme"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4801ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1870ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c01130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3345ms
Redirected to http://test.host/admin/clients/52fe38cd5735335c01130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2350ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c01140000'), "firstname"=>"Adan", "lastname"=>"Kuhlman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3573ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2258ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe38cd5735335c01140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe38cd5735335c01140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2947ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe38cd5735335c01140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3279ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2077ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c01150000'), "firstname"=>"Hillard", "lastname"=>"Daugherty"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2479ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe38cd5735335c01150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe38cd5735335c01150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2274ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 500 Internal Server Error in 15ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c01160000'), "firstname"=>"Breanne", "lastname"=>"Romaguera"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4407ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3504ms
Completed 500 Internal Server Error in 41ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c01170000'), "firstname"=>"Hassan", "lastname"=>"Crist"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4445ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 500 Internal Server Error in 12ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c01180000'), "firstname"=>"Gladyce", "lastname"=>"Johns"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4353ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe38cd5735335c01180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe38cd5735335c01180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms
Completed 500 Internal Server Error in 10ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c01190000'), "firstname"=>"Tiffany", "lastname"=>"Dooley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4220ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe38cd5735335c01190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe38cd5735335c01190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe38cd5735335c01190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3189ms
Redirected to http://test.host/admin/clients/52fe38cd5735335c01190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c011a0000'), "firstname"=>"Dillan", "lastname"=>"Nitzsche"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3551ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2953ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c011b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4272ms
Redirected to http://test.host/clients/52fe38cd5735335c011b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1933ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c011c0000'), "firstname"=>"Mariane", "lastname"=>"Batz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2325ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1697ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe38cd5735335c011c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe38cd5735335c011c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe38cd5735335c011c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2546ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1780ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c011d0000'), "firstname"=>"Alda", "lastname"=>"Bartoletti"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2447ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe38cd5735335c011d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe38cd5735335c011d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 500 Internal Server Error in 11ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c011e0000'), "firstname"=>"Jonatan", "lastname"=>"Hilpert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4483ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4795ms
Completed 500 Internal Server Error in 14ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38cd5735335c011f0000'), "firstname"=>"Sterling", "lastname"=>"Hettinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 500 Internal Server Error in 10ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38ce5735335c01200000'), "firstname"=>"Ethelyn", "lastname"=>"Botsford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4153ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe38ce5735335c01200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe38ce5735335c01200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2942ms
Completed 500 Internal Server Error in 10ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe38ce5735335c01210000'), "firstname"=>"Selmer", "lastname"=>"Lakin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4204ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe38ce5735335c01210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe38ce5735335c01210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2429ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe38ce5735335c01210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2663ms
Redirected to http://test.host/clients/52fe38ce5735335c01210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38ce5735335c01220000'), "name"=>"Santiago O'Reilly", "reference"=>"Frances Keeling", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4383ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1536ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38ce5735335c01230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3425ms
Redirected to http://test.host/products/52fe38ce5735335c01230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1943ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38ce5735335c01240000'), "name"=>"Anika Zboncak", "reference"=>"Keyon Connelly", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3329ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4858ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe38ce5735335c01240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe38ce5735335c01240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3413ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe38ce5735335c01240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3041ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1893ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38ce5735335c01250000'), "name"=>"Mrs. Clint Weissnat", "reference"=>"Nikolas Stokes DDS", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2699ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe38ce5735335c01250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe38ce5735335c01250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2626ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.0ms)
Completed 500 Internal Server Error in 15ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38ce5735335c01260000'), "name"=>"Daryl Berge", "reference"=>"Loren Moore", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4642ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3707ms
Completed 500 Internal Server Error in 15ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38ce5735335c01270000'), "name"=>"Kaylee Grimes", "reference"=>"Ora D'Amore", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4251ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 500 Internal Server Error in 12ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38ce5735335c01290000'), "name"=>"Eliane DuBuque", "reference"=>"Etha Prosacco", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4208ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe38ce5735335c01290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe38ce5735335c01290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2916ms
Completed 500 Internal Server Error in 40ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe38ce5735335c012a0000'), "name"=>"Taya Reynolds II", "reference"=>"Lisette Gerlach", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4386ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe38ce5735335c012a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe38ce5735335c012a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2577ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe38ce5735335c012a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2695ms
Redirected to http://test.host/products/52fe38ce5735335c012a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38ce5735335c012b0000'), "firstname"=>"Jerel", "lastname"=>"Tremblay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4515ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2025ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38ce5735335c012c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3817ms
Redirected to http://test.host/users/52fe38ce5735335c012c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2400ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38ce5735335c012d0000'), "firstname"=>"Lane", "lastname"=>"Stamm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2711ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1430ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe38ce5735335c012d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe38ce5735335c012d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2913ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe38ce5735335c012d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3150ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2321ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38ce5735335c012e0000'), "firstname"=>"Dock", "lastname"=>"Cummerata"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2850ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe38ce5735335c012e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe38ce5735335c012e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2863ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 500 Internal Server Error in 14ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38ce5735335c012f0000'), "firstname"=>"Roy", "lastname"=>"Oberbrunner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4823ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3597ms
Completed 500 Internal Server Error in 45ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38ce5735335c01300000'), "firstname"=>"Vickie", "lastname"=>"Lesch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4397ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 500 Internal Server Error in 10ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38ce5735335c01310000'), "firstname"=>"Johnathon", "lastname"=>"Windler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4260ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe38ce5735335c01310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe38ce5735335c01310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2653ms
Completed 500 Internal Server Error in 9ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe38ce5735335c01320000'), "firstname"=>"Destini", "lastname"=>"Effertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5001ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe38ce5735335c01320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe38ce5735335c01320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2826ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe38ce5735335c01320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7443ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4180ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4350ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3355ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3158ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa000000'), "name"=>"Sharon Labadie", "reference"=>"Mr. Andreane Armstrong", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4657ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2172ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4179ms
Redirected to http://test.host/admin/products/52fe392d5735335caa010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2521ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa020000'), "name"=>"Janis Stracke", "reference"=>"Dimitri Kiehn", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4136ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2018ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe392d5735335caa020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe392d5735335caa020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3048ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe392d5735335caa020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3087ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1866ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa030000'), "name"=>"Mrs. Betty Powlowski", "reference"=>"Ms. Creola Schroeder", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3014ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe392d5735335caa030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe392d5735335caa030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2989ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.9ms)
Completed 200 OK in 59ms (Views: 57.2ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa040000'), "name"=>"Amely Hansen", "reference"=>"Norma Gleichner", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.9276ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3885ms
Completed 200 OK in 8ms (Views: 7.1ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa050000'), "name"=>"Shanelle Ritchie", "reference"=>"Percy Lesch", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 21ms (Views: 6.0ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa080000'), "name"=>"Joana Hodkiewicz", "reference"=>"Marilyne Conroy", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4383ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe392d5735335caa080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe392d5735335caa080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3100ms
Completed 200 OK in 5ms (Views: 3.9ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa090000'), "name"=>"Freeda Larkin II", "reference"=>"Leann Schowalter", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4317ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe392d5735335caa090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe392d5735335caa090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3127ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe392d5735335caa090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3685ms
Redirected to http://test.host/admin/products/52fe392d5735335caa090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa0a0000'), "firstname"=>"Mason", "lastname"=>"Koepp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5287ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2782ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4183ms
Redirected to http://test.host/admin/users/52fe392d5735335caa0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2552ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa0c0000'), "firstname"=>"Dianna", "lastname"=>"Blick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4349ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2047ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe392d5735335caa0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe392d5735335caa0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3386ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe392d5735335caa0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3112ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1972ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa0d0000'), "firstname"=>"Mekhi", "lastname"=>"Nolan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2807ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe392d5735335caa0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe392d5735335caa0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2982ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.6ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa0e0000'), "firstname"=>"Ibrahim", "lastname"=>"Fahey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4284ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3707ms
Completed 200 OK in 7ms (Views: 6.6ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa0f0000'), "firstname"=>"Kyleigh", "lastname"=>"Harris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.2ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa100000'), "firstname"=>"Tyree", "lastname"=>"Fisher"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5390ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe392d5735335caa100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe392d5735335caa100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3159ms
Completed 200 OK in 5ms (Views: 3.9ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa110000'), "firstname"=>"Antonia", "lastname"=>"Koepp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4829ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe392d5735335caa110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe392d5735335caa110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3231ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe392d5735335caa110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa120000'), "firstname"=>"Woodrow", "lastname"=>"Cormier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4647ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1945ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4471ms
Redirected to http://test.host/admin/clients/52fe392d5735335caa130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2734ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa140000'), "firstname"=>"Hermina", "lastname"=>"Kunde"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4491ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2040ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe392d5735335caa140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe392d5735335caa140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3622ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe392d5735335caa140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3380ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2037ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa150000'), "firstname"=>"Brandi", "lastname"=>"Skiles"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe392d5735335caa150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe392d5735335caa150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3147ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 10ms (Views: 8.8ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa160000'), "firstname"=>"Adrianna", "lastname"=>"Wunsch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4284ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3758ms
Completed 200 OK in 7ms (Views: 6.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa170000'), "firstname"=>"Natalia", "lastname"=>"Schuppe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4753ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 6.2ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa180000'), "firstname"=>"Enrico", "lastname"=>"Koss"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4437ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe392d5735335caa180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe392d5735335caa180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3306ms
Completed 200 OK in 6ms (Views: 4.6ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa190000'), "firstname"=>"Ettie", "lastname"=>"Kuhn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4582ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe392d5735335caa190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe392d5735335caa190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe392d5735335caa190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3268ms
Redirected to http://test.host/admin/clients/52fe392d5735335caa190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa1a0000'), "firstname"=>"Jameson", "lastname"=>"Abshire"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3331ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1633ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3661ms
Redirected to http://test.host/clients/52fe392d5735335caa1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2008ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa1c0000'), "firstname"=>"Rodrigo", "lastname"=>"Lynch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2645ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1589ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe392d5735335caa1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe392d5735335caa1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2937ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe392d5735335caa1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2548ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1848ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa1d0000'), "firstname"=>"Akeem", "lastname"=>"Hahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2781ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe392d5735335caa1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe392d5735335caa1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3322ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.4ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa1e0000'), "firstname"=>"Daija", "lastname"=>"Marks"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4132ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4110ms
Completed 200 OK in 39ms (Views: 38.4ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa1f0000'), "firstname"=>"Jazmyne", "lastname"=>"Johns"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3041ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.2ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa200000'), "firstname"=>"Tatum", "lastname"=>"Abshire"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4928ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe392d5735335caa200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe392d5735335caa200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3316ms
Completed 200 OK in 5ms (Views: 3.4ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa210000'), "firstname"=>"Bettye", "lastname"=>"Parker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3832ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe392d5735335caa210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe392d5735335caa210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3120ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe392d5735335caa210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3039ms
Redirected to http://test.host/clients/52fe392d5735335caa210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa220000'), "name"=>"Jorge Gutmann I", "reference"=>"Maddison Wuckert", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4530ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1800ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms
Redirected to http://test.host/products/52fe392d5735335caa230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2214ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa240000'), "name"=>"Kira Thiel DDS", "reference"=>"Malinda Friesen", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4097ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2197ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe392d5735335caa240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe392d5735335caa240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3444ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe392d5735335caa240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3031ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2185ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa250000'), "name"=>"Ms. Misty Fritsch", "reference"=>"Donna Farrell", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3531ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe392d5735335caa250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe392d5735335caa250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3407ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.2ms)
Completed 200 OK in 11ms (Views: 9.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa260000'), "name"=>"Mrs. Jeanette Kerluke", "reference"=>"Vito Balistreri", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4903ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4136ms
Completed 200 OK in 10ms (Views: 9.7ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa270000'), "name"=>"Ms. Fiona Jacobson", "reference"=>"Hanna Wisozk", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 7ms (Views: 6.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa290000'), "name"=>"Mrs. Maia Pollich", "reference"=>"Althea Rodriguez", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4352ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe392d5735335caa290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe392d5735335caa290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3107ms
Completed 200 OK in 5ms (Views: 3.8ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe392d5735335caa2a0000'), "name"=>"Alta Tromp", "reference"=>"Mrs. Lowell Gutkowski", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4207ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe392d5735335caa2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe392d5735335caa2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3054ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe392d5735335caa2a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms
Redirected to http://test.host/products/52fe392d5735335caa2a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe392e5735335caa2b0000'), "firstname"=>"Jayda", "lastname"=>"Crooks"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4573ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1803ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe392e5735335caa2c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3913ms
Redirected to http://test.host/users/52fe392e5735335caa2c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2141ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe392e5735335caa2d0000'), "firstname"=>"Cicero", "lastname"=>"Jones"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3683ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1793ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe392e5735335caa2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe392e5735335caa2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3191ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe392e5735335caa2d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2662ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1816ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe392e5735335caa2e0000'), "firstname"=>"Lucienne", "lastname"=>"Kris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2960ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe392e5735335caa2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe392e5735335caa2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2945ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 8.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe392e5735335caa2f0000'), "firstname"=>"Calista", "lastname"=>"Cormier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4471ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4269ms
Completed 200 OK in 11ms (Views: 10.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe392e5735335caa300000'), "firstname"=>"Daron", "lastname"=>"Eichmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3970ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe392e5735335caa310000'), "firstname"=>"Tomasa", "lastname"=>"Friesen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5920ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe392e5735335caa310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe392e5735335caa310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3376ms
Completed 200 OK in 6ms (Views: 4.2ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe392e5735335caa320000'), "firstname"=>"Brandy", "lastname"=>"Thiel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4340ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe392e5735335caa320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe392e5735335caa320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3179ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe392e5735335caa320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7265ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3397ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3386ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2755ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2618ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f805735336291000000'), "name"=>"Mrs. Helena Schowalter", "reference"=>"Ms. Kaitlyn Douglas", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4647ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f805735336291010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms
Redirected to http://test.host/admin/products/52fe3f805735336291010000
Completed 302 Found in 2ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f805735336291020000'), "name"=>"Emely Huels", "reference"=>"Elbert Bogan", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 7.8419ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe3f805735336291020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f805735336291020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f805735336291020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3570ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f805735336291030000'), "name"=>"Miss Albin Grady", "reference"=>"Kayla Littel", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2711ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe3f805735336291030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f805735336291030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2768ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (6.4ms)
Completed 200 OK in 28ms (Views: 27.1ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f805735336291040000'), "name"=>"Gaetano Auer DVM", "reference"=>"Crawford McKenzie", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4880ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms
Completed 200 OK in 5ms (Views: 4.4ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f805735336291050000'), "name"=>"Zula Christiansen", "reference"=>"Jan Langworth", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3456ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.3ms)
Completed 200 OK in 5ms (Views: 4.5ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f805735336291060000'), "name"=>"Lisa Stoltenberg DDS", "reference"=>"Mark Hermiston", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4701ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe3f805735336291060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f805735336291060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3199ms
Completed 200 OK in 4ms (Views: 2.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f805735336291070000'), "name"=>"Miss Thaddeus Daniel", "reference"=>"Miss Rahsaan Moen", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4014ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe3f805735336291070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f805735336291070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2681ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f805735336291070000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms
Redirected to http://test.host/admin/products/52fe3f805735336291070000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f805735336291080000'), "firstname"=>"Rollin", "lastname"=>"Morar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5245ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f805735336291090000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1444ms
Redirected to http://test.host/admin/users/52fe3f805735336291090000
Completed 302 Found in 5ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8157353362910a0000'), "firstname"=>"Keyshawn", "lastname"=>"Homenick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4010ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe3f8157353362910a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f8157353362910a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3202ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f8157353362910a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3865ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8157353362910b0000'), "firstname"=>"Verlie", "lastname"=>"Daniel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2488ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe3f8157353362910b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f8157353362910b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2532ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.7ms)
Completed 200 OK in 7ms (Views: 6.0ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8157353362910c0000'), "firstname"=>"Gabriella", "lastname"=>"Corkery"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4048ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2962ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8157353362910d0000'), "firstname"=>"River", "lastname"=>"Block"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2982ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8157353362910e0000'), "firstname"=>"Filiberto", "lastname"=>"Mann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4626ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe3f8157353362910e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f8157353362910e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3054ms
Completed 200 OK in 4ms (Views: 2.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8157353362910f0000'), "firstname"=>"Wyman", "lastname"=>"Stroman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3506ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe3f8157353362910f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f8157353362910f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2630ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe3f8157353362910f0000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f815735336291100000'), "firstname"=>"Davion", "lastname"=>"Feest"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5119ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f815735336291110000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3692ms
Redirected to http://test.host/clients/52fe3f815735336291110000
Completed 302 Found in 3ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f815735336291120000'), "firstname"=>"Cierra", "lastname"=>"Tremblay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3401ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe3f815735336291120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f815735336291120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2630ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f815735336291120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3412ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f815735336291130000'), "firstname"=>"Bernice", "lastname"=>"Mertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2655ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe3f815735336291130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f815735336291130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.8ms)
Completed 200 OK in 7ms (Views: 6.1ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f815735336291140000'), "firstname"=>"Woodrow", "lastname"=>"Mosciski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3870ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3278ms
Completed 200 OK in 6ms (Views: 4.7ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f815735336291150000'), "firstname"=>"Aryanna", "lastname"=>"Rodriguez"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4159ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.7ms)
Completed 200 OK in 4ms (Views: 3.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f815735336291160000'), "firstname"=>"Verner", "lastname"=>"Franecki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4233ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe3f815735336291160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f815735336291160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3234ms
Completed 200 OK in 4ms (Views: 2.4ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f815735336291170000'), "firstname"=>"Antonetta", "lastname"=>"Senger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3495ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe3f815735336291170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f815735336291170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2574ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f815735336291170000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms
Redirected to http://test.host/clients/52fe3f815735336291170000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f815735336291180000'), "firstname"=>"Columbus", "lastname"=>"Marquardt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2660ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f815735336291190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3015ms
Redirected to http://test.host/clients/52fe3f815735336291190000
Completed 302 Found in 2ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f8157353362911a0000'), "firstname"=>"Iliana", "lastname"=>"Tremblay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2480ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe3f8157353362911a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f8157353362911a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2558ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f8157353362911a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2781ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f8157353362911b0000'), "firstname"=>"Roderick", "lastname"=>"Moore"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4384ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe3f8157353362911b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f8157353362911b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3594ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 3.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f8157353362911c0000'), "firstname"=>"Kraig", "lastname"=>"Krajcik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3362ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3377ms
Completed 200 OK in 5ms (Views: 4.9ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f8157353362911d0000'), "firstname"=>"Mylene", "lastname"=>"Reichert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3051ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.5ms)
Completed 200 OK in 3ms (Views: 2.4ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f8157353362911e0000'), "firstname"=>"Dulce", "lastname"=>"Nitzsche"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3493ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe3f8157353362911e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f8157353362911e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2597ms
Completed 200 OK in 3ms (Views: 1.3ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f8157353362911f0000'), "firstname"=>"Christophe", "lastname"=>"Botsford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2912ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe3f8157353362911f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f8157353362911f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2704ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f8157353362911f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3274ms
Redirected to http://test.host/clients/52fe3f8157353362911f0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f815735336291200000'), "name"=>"Heidi Sauer", "reference"=>"Zetta Cormier MD", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5019ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f815735336291210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3929ms
Redirected to http://test.host/products/52fe3f815735336291210000
Completed 302 Found in 2ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f815735336291220000'), "name"=>"Maryjane Breitenberg", "reference"=>"Augusta Greenholt", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3387ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe3f815735336291220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f815735336291220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2696ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f815735336291220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2879ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f815735336291230000'), "name"=>"Kenny Bradtke", "reference"=>"Olga Kihn II", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2710ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe3f815735336291230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f815735336291230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (3.1ms)
Completed 200 OK in 8ms (Views: 6.9ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f815735336291240000'), "name"=>"Miss Kiel Schumm", "reference"=>"Daniella Schmitt", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5020ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3788ms
Completed 200 OK in 7ms (Views: 6.4ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f815735336291250000'), "name"=>"Chandler Barton", "reference"=>"Layne Johnson", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.9ms)
Completed 200 OK in 4ms (Views: 3.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f815735336291260000'), "name"=>"Linda Walker", "reference"=>"Dr. Kathryne Gleason", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3669ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe3f815735336291260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f815735336291260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2621ms
Completed 200 OK in 4ms (Views: 2.4ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f815735336291270000'), "name"=>"Hank Berge", "reference"=>"Santino Gorczany Sr.", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3579ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe3f815735336291270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f815735336291270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3631ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f815735336291270000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4854ms
Redirected to http://test.host/products/52fe3f815735336291270000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f815735336291280000'), "firstname"=>"Reta", "lastname"=>"Yost"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4496ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f815735336291290000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3797ms
Redirected to http://test.host/users/52fe3f815735336291290000
Completed 302 Found in 2ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8157353362912a0000'), "firstname"=>"Nia", "lastname"=>"Prohaska"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3756ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe3f8157353362912a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f8157353362912a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f8157353362912a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3307ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8157353362912b0000'), "firstname"=>"Tracey", "lastname"=>"Sporer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3030ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe3f8157353362912b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f8157353362912b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2895ms
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 5.8ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8157353362912c0000'), "firstname"=>"Kaycee", "lastname"=>"Beahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5155ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4314ms
Completed 200 OK in 7ms (Views: 6.7ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8157353362912d0000'), "firstname"=>"Milo", "lastname"=>"Sanford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3521ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/_form.html.erb (1.5ms)
Completed 200 OK in 4ms (Views: 3.4ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8157353362912e0000'), "firstname"=>"Gilda", "lastname"=>"Miller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3784ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe3f8157353362912e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f8157353362912e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms
Completed 200 OK in 4ms (Views: 2.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8157353362912f0000'), "firstname"=>"Jerod", "lastname"=>"Little"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3440ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe3f8157353362912f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f8157353362912f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2416ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe3f8157353362912f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6554ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2993ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2939ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3115ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3170ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f8b57353362e0000000'), "name"=>"Guy Ryan", "reference"=>"Delilah Lang Sr.", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5171ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2318ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f8b57353362e0010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3652ms
Redirected to http://test.host/admin/products/52fe3f8b57353362e0010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2173ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f8b57353362e0020000'), "name"=>"Loyce Lubowitz I", "reference"=>"Adaline Gerlach", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3340ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2439ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe3f8b57353362e0020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f8b57353362e0020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3013ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f8b57353362e0020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6154ms
Redirected to http://test.host/admin/products
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2439ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f8b57353362e0030000'), "name"=>"Haskell Kozey", "reference"=>"Ms. Rosemarie Olson", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3040ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe3f8b57353362e0030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f8b57353362e0030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2884ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.7ms)
Completed 200 OK in 62ms (Views: 60.4ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0040000'), "name"=>"Janick Casper", "reference"=>"Miss Allene Ratke", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4383ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3413ms
Completed 200 OK in 7ms (Views: 6.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0050000'), "name"=>"River Wolff", "reference"=>"Cooper Mertz", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3577ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 20ms (Views: 6.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0080000'), "name"=>"Kale Waters", "reference"=>"Danyka Collier", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4383ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe3f8c57353362e0080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e0080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2762ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0090000'), "name"=>"Bert Abshire", "reference"=>"Rex Renner", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3987ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe3f8c57353362e0090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e0090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2563ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e0090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3206ms
Redirected to http://test.host/admin/products/52fe3f8c57353362e0090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e00a0000'), "firstname"=>"Braxton", "lastname"=>"Kshlerin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1821ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e00b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3832ms
Redirected to http://test.host/admin/users/52fe3f8c57353362e00b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3112ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e00c0000'), "firstname"=>"Freida", "lastname"=>"Treutel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4822ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1811ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe3f8c57353362e00c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e00c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e00c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2949ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1822ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e00d0000'), "firstname"=>"Samir", "lastname"=>"Mueller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2482ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe3f8c57353362e00d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e00d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2460ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.0ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e00e0000'), "firstname"=>"Samanta", "lastname"=>"Windler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4060ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3294ms
Completed 200 OK in 6ms (Views: 5.9ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e00f0000'), "firstname"=>"Matilda", "lastname"=>"White"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3627ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 34ms (Views: 33.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0100000'), "firstname"=>"Filomena", "lastname"=>"Hilpert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4235ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe3f8c57353362e0100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e0100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2657ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0110000'), "firstname"=>"Assunta", "lastname"=>"Hintz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4005ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe3f8c57353362e0110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e0110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2737ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe3f8c57353362e0110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0120000'), "firstname"=>"Ari", "lastname"=>"Sanford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4652ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1851ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3363ms
Redirected to http://test.host/admin/clients/52fe3f8c57353362e0130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1890ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0140000'), "firstname"=>"Craig", "lastname"=>"Daugherty"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3094ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1784ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe3f8c57353362e0140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e0140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e0140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1841ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0150000'), "firstname"=>"Marjolaine", "lastname"=>"Powlowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2527ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe3f8c57353362e0150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e0150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2416ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.5ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0160000'), "firstname"=>"Willie", "lastname"=>"Heller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4177ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4115ms
Completed 200 OK in 7ms (Views: 6.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0170000'), "firstname"=>"Ines", "lastname"=>"Mayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4250ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 5.5ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0180000'), "firstname"=>"Jovan", "lastname"=>"Homenick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe3f8c57353362e0180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e0180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms
Completed 200 OK in 6ms (Views: 4.6ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0190000'), "firstname"=>"Larue", "lastname"=>"Kuphal"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4228ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe3f8c57353362e0190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e0190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e0190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3017ms
Redirected to http://test.host/admin/clients/52fe3f8c57353362e0190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e01a0000'), "firstname"=>"Isabell", "lastname"=>"Miller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2448ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1795ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e01b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2803ms
Redirected to http://test.host/clients/52fe3f8c57353362e01b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1805ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e01c0000'), "firstname"=>"Doug", "lastname"=>"Dicki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2268ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1749ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe3f8c57353362e01c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e01c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2303ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e01c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2524ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1785ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e01d0000'), "firstname"=>"Ardith", "lastname"=>"Cole"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2345ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe3f8c57353362e01d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e01d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2211ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 37ms (Views: 36.2ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e01e0000'), "firstname"=>"Robert", "lastname"=>"Von"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4652ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4318ms
Completed 200 OK in 8ms (Views: 7.6ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e01f0000'), "firstname"=>"Antonetta", "lastname"=>"Ernser"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3749ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 5ms (Views: 4.5ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0200000'), "firstname"=>"Fausto", "lastname"=>"Daugherty"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4050ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe3f8c57353362e0200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e0200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0210000'), "firstname"=>"Bernard", "lastname"=>"Erdman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4327ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe3f8c57353362e0210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e0210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2667ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e0210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2817ms
Redirected to http://test.host/clients/52fe3f8c57353362e0210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0220000'), "name"=>"Wilber Russel", "reference"=>"Verlie Larson", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4180ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1787ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3471ms
Redirected to http://test.host/products/52fe3f8c57353362e0230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1934ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0240000'), "name"=>"Doug Bauch", "reference"=>"Dr. Sandrine Johnston", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3108ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1736ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe3f8c57353362e0240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e0240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2448ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e0240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2574ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1773ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0250000'), "name"=>"Terry Kerluke", "reference"=>"Everardo Bruen I", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2497ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe3f8c57353362e0250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e0250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2599ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.4ms)
Completed 200 OK in 10ms (Views: 9.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0260000'), "name"=>"Jayden Nienow", "reference"=>"Nels Fisher", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4043ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3598ms
Completed 200 OK in 9ms (Views: 8.9ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0270000'), "name"=>"Jerel Gerhold", "reference"=>"Jaleel Bartell", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3418ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 7ms (Views: 5.9ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0290000'), "name"=>"Domenico Kutch V", "reference"=>"Amiya Dietrich I", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5447ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe3f8c57353362e0290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e0290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3278ms
Completed 200 OK in 5ms (Views: 3.7ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e02a0000'), "name"=>"Margarete Little", "reference"=>"Glenda Mante", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe3f8c57353362e02a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e02a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2341ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e02a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2671ms
Redirected to http://test.host/products/52fe3f8c57353362e02a0000
Completed 302 Found in 2ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e02b0000'), "firstname"=>"Ewell", "lastname"=>"Thiel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4796ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1987ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e02c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3886ms
Redirected to http://test.host/users/52fe3f8c57353362e02c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1989ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e02d0000'), "firstname"=>"Franz", "lastname"=>"O'Kon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3512ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2308ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe3f8c57353362e02d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e02d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4399ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e02d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4669ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2494ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e02e0000'), "firstname"=>"Colton", "lastname"=>"Smith"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2626ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe3f8c57353362e02e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e02e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 6.9ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e02f0000'), "firstname"=>"Loraine", "lastname"=>"Nolan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4591ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3676ms
Completed 200 OK in 9ms (Views: 9.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0300000'), "firstname"=>"Thalia", "lastname"=>"Torp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3634ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.3ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0310000'), "firstname"=>"Arnulfo", "lastname"=>"Trantow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4080ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe3f8c57353362e0310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e0310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2526ms
Completed 200 OK in 5ms (Views: 3.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f8c57353362e0320000'), "firstname"=>"Kaycee", "lastname"=>"Runte"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6104ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe3f8c57353362e0320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f8c57353362e0320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe3f8c57353362e0320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7070ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3214ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3205ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2706ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2584ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f995735336335000000'), "name"=>"Gail Littel MD", "reference"=>"Deron Boehm", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5568ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2466ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f995735336335010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3271ms
Redirected to http://test.host/admin/products/52fe3f995735336335010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1887ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f995735336335020000'), "name"=>"Soledad Anderson", "reference"=>"Moshe Nikolaus IV", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 7.2644ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2037ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52fe3f995735336335020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f995735336335020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2520ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f995735336335020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3664ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2395ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f995735336335030000'), "name"=>"Terrence Spinka V", "reference"=>"Maurine Medhurst", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2600ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52fe3f995735336335030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f995735336335030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2715ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.9ms)
Completed 200 OK in 56ms (Views: 54.7ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335040000'), "name"=>"Otto Medhurst", "reference"=>"Brown Muller I", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4752ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3407ms
Completed 200 OK in 7ms (Views: 6.7ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335050000'), "name"=>"Dr. Lora Roberts", "reference"=>"Mr. Rahul Collins", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3552ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 21ms (Views: 6.7ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335080000'), "name"=>"Delilah Schamberger", "reference"=>"Elda Bergnaum", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4201ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52fe3f9a5735336335080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f9a5735336335080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2692ms
Completed 200 OK in 5ms (Views: 3.8ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335090000'), "name"=>"Jedidiah Rutherford", "reference"=>"Madison Cormier", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3893ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe3f9a5735336335090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f9a5735336335090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2651ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f9a5735336335090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms
Redirected to http://test.host/admin/products/52fe3f9a5735336335090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f9a57353363350a0000'), "firstname"=>"Imogene", "lastname"=>"Hammes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2024ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f9a57353363350b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5334ms
Redirected to http://test.host/admin/users/52fe3f9a57353363350b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2389ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f9a57353363350c0000'), "firstname"=>"Muhammad", "lastname"=>"Yost"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3475ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1924ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52fe3f9a57353363350c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f9a57353363350c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2452ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f9a57353363350c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3158ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1776ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f9a57353363350d0000'), "firstname"=>"Daisha", "lastname"=>"Hane"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2370ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52fe3f9a57353363350d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f9a57353363350d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2291ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 9ms (Views: 7.7ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f9a57353363350e0000'), "firstname"=>"Carroll", "lastname"=>"McKenzie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3673ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2891ms
Completed 200 OK in 7ms (Views: 6.4ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f9a57353363350f0000'), "firstname"=>"Jeanie", "lastname"=>"Brekke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4309ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335100000'), "firstname"=>"Deborah", "lastname"=>"Considine"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3940ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52fe3f9a5735336335100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f9a5735336335100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2410ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335110000'), "firstname"=>"Alexander", "lastname"=>"Glover"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3837ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe3f9a5735336335110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f9a5735336335110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2399ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52fe3f9a5735336335110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335120000'), "firstname"=>"Frank", "lastname"=>"Skiles"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4594ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1781ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms
Redirected to http://test.host/admin/clients/52fe3f9a5735336335130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2051ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335140000'), "firstname"=>"Gina", "lastname"=>"Hettinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3229ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1925ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe3f9a5735336335140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f9a5735336335140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2648ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f9a5735336335140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3031ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1810ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335150000'), "firstname"=>"Freddie", "lastname"=>"Hackett"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2346ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe3f9a5735336335150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f9a5735336335150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2251ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.6ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335160000'), "firstname"=>"Jay", "lastname"=>"Windler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4202ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms
Completed 200 OK in 7ms (Views: 5.6ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335170000'), "firstname"=>"Carol", "lastname"=>"Leffler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4421ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335180000'), "firstname"=>"Ora", "lastname"=>"Kuvalis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4205ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe3f9a5735336335180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f9a5735336335180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms
Completed 200 OK in 6ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335190000'), "firstname"=>"Gaston", "lastname"=>"Kreiger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe3f9a5735336335190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f9a5735336335190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f9a5735336335190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms
Redirected to http://test.host/admin/clients/52fe3f9a5735336335190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f9a57353363351a0000'), "firstname"=>"William", "lastname"=>"Schumm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2909ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1986ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f9a57353363351b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3159ms
Redirected to http://test.host/clients/52fe3f9a57353363351b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1956ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f9a57353363351c0000'), "firstname"=>"Jermey", "lastname"=>"Schmeler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2427ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1817ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52fe3f9a57353363351c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f9a57353363351c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2341ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f9a57353363351c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2630ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2662ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f9a57353363351d0000'), "firstname"=>"Marcos", "lastname"=>"Schiller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3989ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52fe3f9a57353363351d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f9a57353363351d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3274ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f9a57353363351e0000'), "firstname"=>"Maritza", "lastname"=>"Pacocha"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9894ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4040ms
Completed 200 OK in 8ms (Views: 7.5ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f9a57353363351f0000'), "firstname"=>"Dominic", "lastname"=>"Hansen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3992ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 37ms (Views: 36.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335200000'), "firstname"=>"Dexter", "lastname"=>"Schaefer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4476ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52fe3f9a5735336335200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f9a5735336335200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335210000'), "firstname"=>"Helene", "lastname"=>"Haag"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3501ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52fe3f9a5735336335210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f9a5735336335210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2751ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52fe3f9a5735336335210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3005ms
Redirected to http://test.host/clients/52fe3f9a5735336335210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335220000'), "name"=>"Mrs. Heath Bradtke", "reference"=>"Beaulah Bahringer", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4183ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1834ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3352ms
Redirected to http://test.host/products/52fe3f9a5735336335230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1902ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335240000'), "name"=>"Hailie Koss III", "reference"=>"Price Stanton", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3128ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1758ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52fe3f9a5735336335240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f9a5735336335240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4558ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f9a5735336335240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3363ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2138ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335250000'), "name"=>"Nella Spinka", "reference"=>"Donna Quigley", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2706ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52fe3f9a5735336335250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f9a5735336335250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2484ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.9ms)
Completed 200 OK in 10ms (Views: 8.6ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335260000'), "name"=>"Imogene Stoltenberg II", "reference"=>"Dr. Roslyn Kuhlman", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.9054ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3643ms
Completed 200 OK in 10ms (Views: 9.6ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335270000'), "name"=>"Marjory Hackett", "reference"=>"Trudie Wyman", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4042ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.1ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335290000'), "name"=>"Dallin Maggio", "reference"=>"Darrion Emard V", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4189ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52fe3f9a5735336335290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f9a5735336335290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2803ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52fe3f9a57353363352a0000'), "name"=>"Nora Kshlerin", "reference"=>"Axel Cartwright", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3904ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52fe3f9a57353363352a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f9a57353363352a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2633ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52fe3f9a57353363352a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2993ms
Redirected to http://test.host/products/52fe3f9a57353363352a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f9a57353363352b0000'), "firstname"=>"Torey", "lastname"=>"Zemlak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4745ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2193ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f9a57353363352c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3435ms
Redirected to http://test.host/users/52fe3f9a57353363352c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2196ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f9a57353363352d0000'), "firstname"=>"Felipe", "lastname"=>"Lakin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3122ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1733ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52fe3f9a57353363352d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f9a57353363352d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2394ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f9a57353363352d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2525ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1707ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f9a57353363352e0000'), "firstname"=>"Barrett", "lastname"=>"Medhurst"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2307ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52fe3f9a57353363352e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f9a57353363352e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2731ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 39ms (Views: 38.2ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f9a57353363352f0000'), "firstname"=>"Newton", "lastname"=>"Lang"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4276ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4135ms
Completed 200 OK in 10ms (Views: 9.8ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335300000'), "firstname"=>"Amparo", "lastname"=>"Cole"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3692ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335310000'), "firstname"=>"Abe", "lastname"=>"Sporer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4201ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52fe3f9a5735336335310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f9a5735336335310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms
Completed 200 OK in 5ms (Views: 3.9ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52fe3f9a5735336335320000'), "firstname"=>"Jonathon", "lastname"=>"Adams"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4391ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52fe3f9a5735336335320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52fe3f9a5735336335320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms
Unpermitted parameters: name
Redirected to http://test.host/users/52fe3f9a5735336335320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7023ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 3.1862ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4300ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3010ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2815ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d000000'), "name"=>"Godfrey Zieme", "reference"=>"Jevon Hartmann", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4708ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1762ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4412ms
Redirected to http://test.host/admin/products/52ff22cf573533352d010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1602ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d020000'), "name"=>"Ms. Marcel Gorczany", "reference"=>"Monroe Hansen PhD", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3724ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2062ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52ff22cf573533352d020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff22cf573533352d020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3014ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff22cf573533352d020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3101ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2137ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d030000'), "name"=>"Rosalinda Romaguera", "reference"=>"Jody Yost", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3054ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52ff22cf573533352d030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff22cf573533352d030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2936ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (48.4ms)
Completed 200 OK in 254ms (Views: 253.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d040000'), "name"=>"Wilbert Heathcote", "reference"=>"Ms. Shane Kris", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4349ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3657ms
Completed 200 OK in 7ms (Views: 6.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d050000'), "name"=>"Kadin Wuckert", "reference"=>"Heaven Toy", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3729ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 21ms (Views: 6.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d080000'), "name"=>"Osborne Weissnat", "reference"=>"Jayce Stehr", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4241ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52ff22cf573533352d080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff22cf573533352d080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms
Completed 200 OK in 5ms (Views: 3.8ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d090000'), "name"=>"Nick Veum", "reference"=>"Meaghan Legros DDS", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4029ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52ff22cf573533352d090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff22cf573533352d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff22cf573533352d090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3332ms
Redirected to http://test.host/admin/products/52ff22cf573533352d090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d0a0000'), "firstname"=>"Cade", "lastname"=>"Waelchi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4065ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1669ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4498ms
Redirected to http://test.host/admin/users/52ff22cf573533352d0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2951ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d0c0000'), "firstname"=>"Sam", "lastname"=>"Carroll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3163ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1565ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52ff22cf573533352d0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff22cf573533352d0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2465ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff22cf573533352d0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2785ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1600ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d0d0000'), "firstname"=>"Rosalind", "lastname"=>"Cassin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2440ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52ff22cf573533352d0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff22cf573533352d0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2379ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d0e0000'), "firstname"=>"Marianna", "lastname"=>"Yundt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3960ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3179ms
Completed 200 OK in 7ms (Views: 6.1ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d0f0000'), "firstname"=>"Wyman", "lastname"=>"Lesch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6840ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d100000'), "firstname"=>"Misty", "lastname"=>"Kuhlman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52ff22cf573533352d100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff22cf573533352d100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2425ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d110000'), "firstname"=>"Anais", "lastname"=>"Strosin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52ff22cf573533352d110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff22cf573533352d110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2097ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52ff22cf573533352d110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d120000'), "firstname"=>"Norwood", "lastname"=>"Kutch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4433ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1693ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3272ms
Redirected to http://test.host/admin/clients/52ff22cf573533352d130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1746ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d140000'), "firstname"=>"Brooks", "lastname"=>"Bartell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3185ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1616ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52ff22cf573533352d140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff22cf573533352d140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff22cf573533352d140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2838ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1654ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d150000'), "firstname"=>"Quinn", "lastname"=>"Upton"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2290ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52ff22cf573533352d150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff22cf573533352d150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2469ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.5ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d160000'), "firstname"=>"Robert", "lastname"=>"Marvin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4008ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3169ms
Completed 200 OK in 7ms (Views: 5.8ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d170000'), "firstname"=>"Erika", "lastname"=>"Yost"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4277ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 5.5ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d180000'), "firstname"=>"Dwight", "lastname"=>"Cummerata"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4016ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52ff22cf573533352d180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff22cf573533352d180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2473ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d190000'), "firstname"=>"Devonte", "lastname"=>"Kautzer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4002ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52ff22cf573533352d190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff22cf573533352d190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2449ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff22cf573533352d190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3234ms
Redirected to http://test.host/admin/clients/52ff22cf573533352d190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d1a0000'), "firstname"=>"Michael", "lastname"=>"Hudson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2590ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1727ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3765ms
Redirected to http://test.host/clients/52ff22cf573533352d1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3611ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d1c0000'), "firstname"=>"Wilford", "lastname"=>"Schamberger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1959ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52ff22cf573533352d1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff22cf573533352d1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3005ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff22cf573533352d1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3049ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2265ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d1d0000'), "firstname"=>"Muhammad", "lastname"=>"Strosin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2692ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52ff22cf573533352d1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff22cf573533352d1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2485ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d1e0000'), "firstname"=>"Mariela", "lastname"=>"Bauch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3732ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3835ms
Completed 200 OK in 8ms (Views: 7.2ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d1f0000'), "firstname"=>"Rozella", "lastname"=>"Wisozk"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4534ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 200 OK in 35ms (Views: 34.6ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d200000'), "firstname"=>"Liliana", "lastname"=>"Waters"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52ff22cf573533352d200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff22cf573533352d200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2339ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d210000'), "firstname"=>"Daisha", "lastname"=>"Hettinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3234ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52ff22cf573533352d210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff22cf573533352d210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2375ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff22cf573533352d210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2977ms
Redirected to http://test.host/clients/52ff22cf573533352d210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d220000'), "name"=>"Zachery Durgan", "reference"=>"Roosevelt Ritchie", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4667ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1879ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4240ms
Redirected to http://test.host/products/52ff22cf573533352d230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1710ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d240000'), "name"=>"Santos Casper", "reference"=>"Lambert Marquardt", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3560ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2230ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52ff22cf573533352d240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff22cf573533352d240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3014ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff22cf573533352d240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2731ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2295ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d250000'), "name"=>"Mr. Bret Lehner", "reference"=>"Arlie Champlin", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2749ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52ff22cf573533352d250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff22cf573533352d250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 9ms (Views: 8.2ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d260000'), "name"=>"Marlene Bednar MD", "reference"=>"Jaren Denesik", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4109ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms
Completed 200 OK in 10ms (Views: 9.4ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d270000'), "name"=>"Mrs. Kristoffer Hauck", "reference"=>"Rosalinda Mann", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3900ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 7ms (Views: 6.0ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d290000'), "name"=>"Richie D'Amore", "reference"=>"Elnora Kub", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4070ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52ff22cf573533352d290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff22cf573533352d290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d2a0000'), "name"=>"Diamond Hoeger Sr.", "reference"=>"Jedidiah Franecki", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3987ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52ff22cf573533352d2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff22cf573533352d2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2854ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff22cf573533352d2a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2291ms
Redirected to http://test.host/products/52ff22cf573533352d2a0000
Completed 302 Found in 7ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d2b0000'), "firstname"=>"Maiya", "lastname"=>"Bins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1628ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d2c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms
Redirected to http://test.host/users/52ff22cf573533352d2c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1893ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d2d0000'), "firstname"=>"Kirsten", "lastname"=>"Witting"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3192ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1569ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52ff22cf573533352d2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff22cf573533352d2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2278ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff22cf573533352d2d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2831ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1941ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d2e0000'), "firstname"=>"Ernie", "lastname"=>"Feil"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2497ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52ff22cf573533352d2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff22cf573533352d2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2345ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 39ms (Views: 38.1ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d2f0000'), "firstname"=>"Quinton", "lastname"=>"Dietrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3722ms
Completed 200 OK in 10ms (Views: 9.5ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff22cf573533352d300000'), "firstname"=>"Delores", "lastname"=>"West"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3503ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff22d0573533352d310000'), "firstname"=>"Verna", "lastname"=>"Schmitt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4494ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52ff22d0573533352d310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff22d0573533352d310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2610ms
Completed 200 OK in 6ms (Views: 4.2ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff22d0573533352d320000'), "firstname"=>"Chesley", "lastname"=>"Hermann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4345ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52ff22d0573533352d320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff22d0573533352d320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms
Unpermitted parameters: name
Redirected to http://test.host/users/52ff22d0573533352d320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6018ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2697ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2673ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2471ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2676ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6233ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2720ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1736ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1427ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2565ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68515735336504000000'), "name"=>"Jeramie Lowe", "reference"=>"Shemar Wolff", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4720ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1895ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68515735336504010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3767ms
Redirected to http://test.host/admin/products/52ff68515735336504010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1986ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68515735336504020000'), "name"=>"Miss Alejandrin Kemmer", "reference"=>"Trenton Bogan", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3096ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1741ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52ff68515735336504020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff68515735336504020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2922ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff68515735336504020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2255ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68515735336504030000'), "name"=>"Murphy Dicki", "reference"=>"Kaleigh Aufderhar", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2960ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52ff68515735336504030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff68515735336504030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2955ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.7ms)
Completed 200 OK in 53ms (Views: 51.9ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68515735336504040000'), "name"=>"Wallace Parker", "reference"=>"Hoyt Barton DVM", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4625ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3347ms
Completed 200 OK in 7ms (Views: 6.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68515735336504050000'), "name"=>"Arely Farrell III", "reference"=>"Abelardo McLaughlin", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3600ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 7901ms (Views: 5.7ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68595735336504080000'), "name"=>"Geoffrey Considine", "reference"=>"Sandy Rau", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4868ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52ff68595735336504080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff68595735336504080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3409ms
Completed 200 OK in 6ms (Views: 4.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68595735336504090000'), "name"=>"Antwan Upton", "reference"=>"Franz Johnston", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4294ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52ff68595735336504090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff68595735336504090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3118ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff68595735336504090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4085ms
Redirected to http://test.host/admin/products/52ff68595735336504090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685957353365040a0000'), "firstname"=>"August", "lastname"=>"Gutmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5117ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1766ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685957353365040b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 8.8698ms
Redirected to http://test.host/admin/users/52ff685957353365040b0000
Completed 302 Found in 11ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2343ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685957353365040c0000'), "firstname"=>"Wava", "lastname"=>"Nicolas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2911ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1551ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52ff685957353365040c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff685957353365040c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2098ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff685957353365040c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2515ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1525ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685957353365040d0000'), "firstname"=>"Cale", "lastname"=>"Kulas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2064ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52ff685957353365040d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff685957353365040d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2229ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685957353365040e0000'), "firstname"=>"Derick", "lastname"=>"Larson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3159ms
Completed 200 OK in 7ms (Views: 6.3ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685957353365040f0000'), "firstname"=>"Lisandro", "lastname"=>"Mann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3944ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 96ms (Views: 5.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff68595735336504100000'), "firstname"=>"Kennith", "lastname"=>"Corkery"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4141ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52ff68595735336504100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff68595735336504100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4225ms
Completed 200 OK in 7ms (Views: 4.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff68595735336504110000'), "firstname"=>"Justus", "lastname"=>"Collier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4330ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52ff68595735336504110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff68595735336504110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52ff68595735336504110000
Completed 302 Found in 2ms
-------------------------------------------------------------
Crm::CustomersControllerTest: test_should_create_crm_customer
-------------------------------------------------------------
--------------------------------------------------------------
Crm::CustomersControllerTest: test_should_destroy_crm_customer
--------------------------------------------------------------
--------------------------------------------------
Crm::CustomersControllerTest: test_should_get_edit
--------------------------------------------------
---------------------------------------------------
Crm::CustomersControllerTest: test_should_get_index
---------------------------------------------------
-------------------------------------------------
Crm::CustomersControllerTest: test_should_get_new
-------------------------------------------------
-----------------------------------------------------------
Crm::CustomersControllerTest: test_should_show_crm_customer
-----------------------------------------------------------
-------------------------------------------------------------
Crm::CustomersControllerTest: test_should_update_crm_customer
-------------------------------------------------------------
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68595735336504120000'), "firstname"=>"Issac", "lastname"=>"McLaughlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4556ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1836ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68595735336504130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4603ms
Redirected to http://test.host/admin/clients/52ff68595735336504130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2348ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68595735336504140000'), "firstname"=>"Nicklaus", "lastname"=>"Lind"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3613ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2222ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52ff68595735336504140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff68595735336504140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2897ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff68595735336504140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3386ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2076ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68595735336504150000'), "firstname"=>"Yasmeen", "lastname"=>"Mayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2670ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52ff68595735336504150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff68595735336504150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2403ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 40ms (Views: 38.6ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68595735336504160000'), "firstname"=>"Elian", "lastname"=>"Ankunding"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4153ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4179ms
Completed 200 OK in 8ms (Views: 6.2ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68595735336504170000'), "firstname"=>"Morgan", "lastname"=>"O'Hara"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4181ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 80ms (Views: 6.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68595735336504180000'), "firstname"=>"Claudine", "lastname"=>"Stroman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4598ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52ff68595735336504180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff68595735336504180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3421ms
Completed 200 OK in 7ms (Views: 4.8ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68595735336504190000'), "firstname"=>"Susan", "lastname"=>"Mills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5622ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52ff68595735336504190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff68595735336504190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3093ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff68595735336504190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3118ms
Redirected to http://test.host/admin/clients/52ff68595735336504190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff685957353365041a0000'), "firstname"=>"Torrance", "lastname"=>"Block"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2694ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1776ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff685957353365041b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3029ms
Redirected to http://test.host/clients/52ff685957353365041b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1657ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff685957353365041c0000'), "firstname"=>"Karl", "lastname"=>"Senger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2429ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1634ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52ff685957353365041c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff685957353365041c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3052ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff685957353365041c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2745ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2167ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff685957353365041d0000'), "firstname"=>"Dave", "lastname"=>"Dicki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2828ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52ff685957353365041d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff685957353365041d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2846ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 39ms (Views: 37.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff685957353365041e0000'), "firstname"=>"Myrtice", "lastname"=>"Schowalter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4008ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3671ms
Completed 200 OK in 8ms (Views: 7.4ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff685957353365041f0000'), "firstname"=>"Lafayette", "lastname"=>"Wilkinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5633ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 88ms (Views: 6.3ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68595735336504200000'), "firstname"=>"Jennie", "lastname"=>"Feeney"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4565ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52ff68595735336504200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff68595735336504200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3205ms
Completed 200 OK in 5ms (Views: 3.4ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68595735336504210000'), "firstname"=>"Celia", "lastname"=>"Huels"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4697ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52ff68595735336504210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff68595735336504210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3847ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff68595735336504210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9380ms
Redirected to http://test.host/clients/52ff68595735336504210000
Completed 302 Found in 8ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68595735336504220000'), "name"=>"Floy Hintz V", "reference"=>"Maritza Gleichner", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5000ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2263ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68595735336504230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4517ms
Redirected to http://test.host/products/52ff68595735336504230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2856ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68595735336504240000'), "name"=>"Kaylie Howe", "reference"=>"Cyril Schumm", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5358ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3795ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52ff68595735336504240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff68595735336504240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4304ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff68595735336504240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3276ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2405ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68595735336504250000'), "name"=>"Lorine Mohr", "reference"=>"Jalyn Waelchi", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3090ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52ff68595735336504250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff68595735336504250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.1ms)
Completed 200 OK in 42ms (Views: 40.3ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68595735336504260000'), "name"=>"Josiane Hamill III", "reference"=>"Eulah Marvin", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4393ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3789ms
Completed 200 OK in 10ms (Views: 9.4ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68595735336504270000'), "name"=>"Sheldon O'Conner", "reference"=>"Ms. Luella Medhurst", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3925ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 83ms (Views: 6.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff685a5735336504290000'), "name"=>"Easton Williamson", "reference"=>"Ilene Wolf", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4728ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52ff685a5735336504290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff685a5735336504290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3339ms
Completed 200 OK in 6ms (Views: 4.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff685a57353365042a0000'), "name"=>"Glenda Bruen", "reference"=>"Mrs. Elwin Ruecker", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4547ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52ff685a57353365042a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff685a57353365042a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2417ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff685a57353365042a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2667ms
Redirected to http://test.host/products/52ff685a57353365042a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685a57353365042b0000'), "firstname"=>"Pink", "lastname"=>"Welch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4130ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1721ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685a57353365042c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4164ms
Redirected to http://test.host/users/52ff685a57353365042c0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2514ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685a57353365042d0000'), "firstname"=>"Ernestina", "lastname"=>"Moen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3962ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1666ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52ff685a57353365042d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff685a57353365042d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3323ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff685a57353365042d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2596ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1970ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685a57353365042e0000'), "firstname"=>"Theron", "lastname"=>"Goyette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2778ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52ff685a57353365042e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff685a57353365042e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2591ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685a57353365042f0000'), "firstname"=>"Gwen", "lastname"=>"Schuster"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4274ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4374ms
Completed 200 OK in 10ms (Views: 9.9ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685a5735336504300000'), "firstname"=>"Damaris", "lastname"=>"Jacobi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3583ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 55ms (Views: 5.4ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685a5735336504310000'), "firstname"=>"Kane", "lastname"=>"Trantow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4139ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52ff685a5735336504310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff685a5735336504310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4387ms
Completed 200 OK in 7ms (Views: 4.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685a5735336504320000'), "firstname"=>"Judah", "lastname"=>"Stehr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4777ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52ff685a5735336504320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff685a5735336504320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2723ms
Unpermitted parameters: name
Redirected to http://test.host/users/52ff685a5735336504320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6654ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2699ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3074ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2956ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a000000'), "name"=>"Ruby Moen III", "reference"=>"Otilia Borer", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4854ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2255ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3591ms
Redirected to http://test.host/admin/products/52ff685e573533653a010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2131ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a020000'), "name"=>"Annamarie Borer", "reference"=>"Tyra Kihn", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1987ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52ff685e573533653a020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff685e573533653a020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2790ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff685e573533653a020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3444ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2186ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a030000'), "name"=>"Ms. Aubree Kling", "reference"=>"Jalyn Grant", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2521ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52ff685e573533653a030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff685e573533653a030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2408ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.0ms)
Completed 200 OK in 56ms (Views: 54.7ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a040000'), "name"=>"Drake Denesik", "reference"=>"Mrs. Harold Mertz", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4752ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3299ms
Completed 200 OK in 7ms (Views: 6.6ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a050000'), "name"=>"Veda Torphy", "reference"=>"Graham Klein", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3324ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 22ms (Views: 6.6ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a080000'), "name"=>"Jamie Klein", "reference"=>"Jaylan Hilll", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4628ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52ff685e573533653a080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff685e573533653a080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2813ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a090000'), "name"=>"Moriah Hickle", "reference"=>"Emerald Hansen", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52ff685e573533653a090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff685e573533653a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2683ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff685e573533653a090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3449ms
Redirected to http://test.host/admin/products/52ff685e573533653a090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a0a0000'), "firstname"=>"Ned", "lastname"=>"Harvey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4049ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1964ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4212ms
Redirected to http://test.host/admin/users/52ff685e573533653a0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1957ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a0c0000'), "firstname"=>"Jalen", "lastname"=>"Rau"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2902ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1579ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52ff685e573533653a0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff685e573533653a0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2774ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff685e573533653a0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7874ms
Redirected to http://test.host/admin/users
Completed 302 Found in 7ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1972ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a0d0000'), "firstname"=>"Ines", "lastname"=>"Smith"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2563ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52ff685e573533653a0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff685e573533653a0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a0e0000'), "firstname"=>"Elroy", "lastname"=>"Wyman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4493ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3702ms
Completed 200 OK in 7ms (Views: 6.3ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a0f0000'), "firstname"=>"Mose", "lastname"=>"Hintz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3368ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (30.5ms)
Completed 200 OK in 35ms (Views: 34.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a100000'), "firstname"=>"Rhea", "lastname"=>"Monahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3918ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52ff685e573533653a100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff685e573533653a100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2642ms
Completed 200 OK in 5ms (Views: 3.8ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a110000'), "firstname"=>"Darwin", "lastname"=>"Wintheiser"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4070ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52ff685e573533653a110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff685e573533653a110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2625ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52ff685e573533653a110000
Completed 302 Found in 2ms
-------------------------------------------------------------
Crm::CustomersControllerTest: test_should_create_crm_customer
-------------------------------------------------------------
--------------------------------------------------------------
Crm::CustomersControllerTest: test_should_destroy_crm_customer
--------------------------------------------------------------
--------------------------------------------------
Crm::CustomersControllerTest: test_should_get_edit
--------------------------------------------------
---------------------------------------------------
Crm::CustomersControllerTest: test_should_get_index
---------------------------------------------------
-------------------------------------------------
Crm::CustomersControllerTest: test_should_get_new
-------------------------------------------------
-----------------------------------------------------------
Crm::CustomersControllerTest: test_should_show_crm_customer
-----------------------------------------------------------
-------------------------------------------------------------
Crm::CustomersControllerTest: test_should_update_crm_customer
-------------------------------------------------------------
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a120000'), "firstname"=>"Jamie", "lastname"=>"Mayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.2126ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2674ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4037ms
Redirected to http://test.host/admin/clients/52ff685e573533653a130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2176ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a140000'), "firstname"=>"Clark", "lastname"=>"Kulas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3059ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1681ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52ff685e573533653a140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff685e573533653a140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff685e573533653a140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2936ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1857ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a150000'), "firstname"=>"Antonetta", "lastname"=>"Witting"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52ff685e573533653a150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff685e573533653a150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 9ms (Views: 8.0ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a160000'), "firstname"=>"Elvera", "lastname"=>"Hudson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4458ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3789ms
Completed 200 OK in 7ms (Views: 5.9ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a170000'), "firstname"=>"Oma", "lastname"=>"Mosciski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4228ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a180000'), "firstname"=>"Jaqueline", "lastname"=>"McClure"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3914ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52ff685e573533653a180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff685e573533653a180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2814ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a190000'), "firstname"=>"Whitney", "lastname"=>"Bergnaum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3857ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52ff685e573533653a190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff685e573533653a190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2601ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff685e573533653a190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3341ms
Redirected to http://test.host/admin/clients/52ff685e573533653a190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a1a0000'), "firstname"=>"Kaylah", "lastname"=>"Jacobi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2988ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2064ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3359ms
Redirected to http://test.host/clients/52ff685e573533653a1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3595ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a1c0000'), "firstname"=>"Teagan", "lastname"=>"Wyman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3418ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1834ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52ff685e573533653a1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff685e573533653a1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff685e573533653a1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2613ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1842ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a1d0000'), "firstname"=>"Cristal", "lastname"=>"Smith"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2458ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52ff685e573533653a1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff685e573533653a1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2479ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 4.9ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff685e573533653a1e0000'), "firstname"=>"Laisha", "lastname"=>"Weissnat"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3627ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3786ms
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff685f573533653a1f0000'), "firstname"=>"Albert", "lastname"=>"Mayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3721ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 5ms (Views: 4.5ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff685f573533653a200000'), "firstname"=>"Darrell", "lastname"=>"Dickinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4025ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52ff685f573533653a200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff685f573533653a200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2366ms
Completed 200 OK in 4ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff685f573533653a210000'), "firstname"=>"Retta", "lastname"=>"Rice"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3338ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52ff685f573533653a210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff685f573533653a210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2954ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff685f573533653a210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2611ms
Redirected to http://test.host/clients/52ff685f573533653a210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff685f573533653a220000'), "name"=>"Reid Stroman", "reference"=>"Zechariah Langworth", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4944ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1995ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff685f573533653a230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3346ms
Redirected to http://test.host/products/52ff685f573533653a230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1940ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff685f573533653a240000'), "name"=>"Hilton Harris", "reference"=>"Gabriel Rowe PhD", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3101ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1734ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52ff685f573533653a240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff685f573533653a240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2376ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff685f573533653a240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2524ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1872ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff685f573533653a250000'), "name"=>"Dr. Haley Barrows", "reference"=>"Miles Walsh", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2511ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52ff685f573533653a250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff685f573533653a250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2505ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms)
Completed 200 OK in 9ms (Views: 8.2ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff685f573533653a260000'), "name"=>"Rita Bartell", "reference"=>"Evan Senger Sr.", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4404ms
Completed 200 OK in 43ms (Views: 42.0ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff685f573533653a270000'), "name"=>"Selena Lind", "reference"=>"Michaela Gulgowski", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4160ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.1ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff685f573533653a290000'), "name"=>"Jevon Larson", "reference"=>"Ms. Zackary Crona", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4117ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52ff685f573533653a290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff685f573533653a290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2720ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff685f573533653a2a0000'), "name"=>"Gerard Kohler Sr.", "reference"=>"Fay Schmidt I", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52ff685f573533653a2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff685f573533653a2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2609ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff685f573533653a2a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2838ms
Redirected to http://test.host/products/52ff685f573533653a2a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685f573533653a2b0000'), "firstname"=>"Dorris", "lastname"=>"Pagac"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4586ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1820ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685f573533653a2c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3322ms
Redirected to http://test.host/users/52ff685f573533653a2c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1912ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685f573533653a2d0000'), "firstname"=>"Stephan", "lastname"=>"Wyman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2979ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1791ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52ff685f573533653a2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff685f573533653a2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2909ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff685f573533653a2d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2448ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1654ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685f573533653a2e0000'), "firstname"=>"Connor", "lastname"=>"Bosco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2217ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52ff685f573533653a2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff685f573533653a2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.8ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685f573533653a2f0000'), "firstname"=>"Leon", "lastname"=>"Schoen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4444ms
Completed 200 OK in 10ms (Views: 9.8ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685f573533653a300000'), "firstname"=>"Fay", "lastname"=>"Heidenreich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3477ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685f573533653a310000'), "firstname"=>"Kade", "lastname"=>"Gorczany"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3991ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52ff685f573533653a310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff685f573533653a310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff685f573533653a320000'), "firstname"=>"Mabel", "lastname"=>"Terry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7531ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52ff685f573533653a320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff685f573533653a320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3617ms
Unpermitted parameters: name
Redirected to http://test.host/users/52ff685f573533653a320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6629ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3341ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3811ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3199ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3182ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d000000'), "name"=>"Eliseo Walsh", "reference"=>"Lyla Gislason", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4658ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1783ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3779ms
Redirected to http://test.host/admin/products/52ff68b0573533659d010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1931ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d020000'), "name"=>"Palma Bernhard", "reference"=>"Billy Witting", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3109ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1775ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52ff68b0573533659d020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff68b0573533659d020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3112ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff68b0573533659d020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2262ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d030000'), "name"=>"Keshawn Schmidt", "reference"=>"Flossie Koelpin III", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2939ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52ff68b0573533659d030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff68b0573533659d030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3155ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.7ms)
Completed 200 OK in 54ms (Views: 52.4ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d040000'), "name"=>"Shaina Wuckert", "reference"=>"Jensen Kunde MD", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4271ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3352ms
Completed 200 OK in 7ms (Views: 6.4ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d050000'), "name"=>"Mikel Waelchi", "reference"=>"Dr. Gregorio Goyette", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3657ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 22ms (Views: 6.0ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d080000'), "name"=>"Lorenz Mills", "reference"=>"Dr. Brandy Tromp", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4177ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52ff68b0573533659d080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff68b0573533659d080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2541ms
Completed 200 OK in 5ms (Views: 3.8ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d090000'), "name"=>"Bertha Moen", "reference"=>"Kassandra Renner", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4025ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52ff68b0573533659d090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff68b0573533659d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2607ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff68b0573533659d090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3169ms
Redirected to http://test.host/admin/products/52ff68b0573533659d090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d0a0000'), "firstname"=>"Baylee", "lastname"=>"Ritchie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4023ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2245ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4514ms
Redirected to http://test.host/admin/users/52ff68b0573533659d0b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1980ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d0c0000'), "firstname"=>"Darien", "lastname"=>"Langosh"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9685ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2182ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52ff68b0573533659d0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff68b0573533659d0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2569ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff68b0573533659d0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2966ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1979ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d0d0000'), "firstname"=>"Elisabeth", "lastname"=>"Kohler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2468ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52ff68b0573533659d0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff68b0573533659d0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2930ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d0e0000'), "firstname"=>"Yasmin", "lastname"=>"Boyer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4910ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3797ms
Completed 200 OK in 8ms (Views: 7.0ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d0f0000'), "firstname"=>"Lafayette", "lastname"=>"Swift"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (30.7ms)
Completed 200 OK in 35ms (Views: 34.1ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d100000'), "firstname"=>"Iva", "lastname"=>"Leffler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4096ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52ff68b0573533659d100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff68b0573533659d100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2997ms
Completed 200 OK in 5ms (Views: 3.8ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d110000'), "firstname"=>"Travon", "lastname"=>"Koelpin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4276ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52ff68b0573533659d110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff68b0573533659d110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2686ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52ff68b0573533659d110000
Completed 302 Found in 2ms
-------------------------------------------------------------
Crm::CustomersControllerTest: test_should_create_crm_customer
-------------------------------------------------------------
--------------------------------------------------------------
Crm::CustomersControllerTest: test_should_destroy_crm_customer
--------------------------------------------------------------
--------------------------------------------------
Crm::CustomersControllerTest: test_should_get_edit
--------------------------------------------------
---------------------------------------------------
Crm::CustomersControllerTest: test_should_get_index
---------------------------------------------------
-------------------------------------------------
Crm::CustomersControllerTest: test_should_get_new
-------------------------------------------------
-----------------------------------------------------------
Crm::CustomersControllerTest: test_should_show_crm_customer
-----------------------------------------------------------
-------------------------------------------------------------
Crm::CustomersControllerTest: test_should_update_crm_customer
-------------------------------------------------------------
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d120000'), "firstname"=>"Thaddeus", "lastname"=>"Hagenes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4616ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3098ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4100ms
Redirected to http://test.host/admin/clients/52ff68b0573533659d130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1719ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d140000'), "firstname"=>"Gus", "lastname"=>"Bernier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2888ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2028ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52ff68b0573533659d140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff68b0573533659d140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff68b0573533659d140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3054ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2302ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d150000'), "firstname"=>"Raleigh", "lastname"=>"Nikolaus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2895ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52ff68b0573533659d150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff68b0573533659d150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2865ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 9ms (Views: 8.1ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d160000'), "firstname"=>"Norma", "lastname"=>"Schoen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4051ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3875ms
Completed 200 OK in 7ms (Views: 6.0ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d170000'), "firstname"=>"Forrest", "lastname"=>"Robel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4291ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d180000'), "firstname"=>"Suzanne", "lastname"=>"Bayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4169ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52ff68b0573533659d180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff68b0573533659d180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2683ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d190000'), "firstname"=>"Kaden", "lastname"=>"Waters"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3937ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52ff68b0573533659d190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff68b0573533659d190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff68b0573533659d190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3068ms
Redirected to http://test.host/admin/clients/52ff68b0573533659d190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d1a0000'), "firstname"=>"Wilfredo", "lastname"=>"Hahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5128ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2684ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3764ms
Redirected to http://test.host/clients/52ff68b0573533659d1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2349ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d1c0000'), "firstname"=>"Ike", "lastname"=>"Robel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2853ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2234ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52ff68b0573533659d1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff68b0573533659d1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2294ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff68b0573533659d1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3085ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2334ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d1d0000'), "firstname"=>"Evelyn", "lastname"=>"Witting"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2524ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52ff68b0573533659d1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff68b0573533659d1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 4.9ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d1e0000'), "firstname"=>"Karelle", "lastname"=>"Cronin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3584ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3580ms
Completed 200 OK in 8ms (Views: 7.4ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d1f0000'), "firstname"=>"Floyd", "lastname"=>"Robel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3811ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 5ms (Views: 4.5ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d200000'), "firstname"=>"Vidal", "lastname"=>"Strosin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52ff68b0573533659d200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff68b0573533659d200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms
Completed 200 OK in 4ms (Views: 3.0ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d210000'), "firstname"=>"Dee", "lastname"=>"Altenwerth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3382ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52ff68b0573533659d210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff68b0573533659d210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff68b0573533659d210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2775ms
Redirected to http://test.host/clients/52ff68b0573533659d210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d220000'), "name"=>"Jimmie Nolan", "reference"=>"Mr. Laurine Corwin", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4984ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1944ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3479ms
Redirected to http://test.host/products/52ff68b0573533659d230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1864ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d240000'), "name"=>"Miss Demond Aufderhar", "reference"=>"Annabell Gleason Sr.", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3030ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1597ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52ff68b0573533659d240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff68b0573533659d240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff68b0573533659d240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3093ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2406ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68b0573533659d250000'), "name"=>"Ms. Norene Howe", "reference"=>"Kendra Turner", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2553ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52ff68b0573533659d250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff68b0573533659d250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2939ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms)
Completed 200 OK in 10ms (Views: 8.2ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68b1573533659d260000'), "name"=>"Reymundo Mante PhD", "reference"=>"Onie Kessler", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4965ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4420ms
Completed 200 OK in 41ms (Views: 40.9ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68b1573533659d270000'), "name"=>"Mason Cremin II", "reference"=>"Davonte Romaguera", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3704ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.0ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68b1573533659d290000'), "name"=>"Maymie Skiles", "reference"=>"Felton Wiza", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4088ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52ff68b1573533659d290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff68b1573533659d290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms
Completed 200 OK in 5ms (Views: 4.0ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff68b1573533659d2a0000'), "name"=>"Tony Stoltenberg", "reference"=>"Mrs. Jayson Vandervort", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4215ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52ff68b1573533659d2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff68b1573533659d2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2961ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff68b1573533659d2a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3093ms
Redirected to http://test.host/products/52ff68b1573533659d2a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff68b1573533659d2b0000'), "firstname"=>"Randi", "lastname"=>"Erdman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1836ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff68b1573533659d2c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3458ms
Redirected to http://test.host/users/52ff68b1573533659d2c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1869ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff68b1573533659d2d0000'), "firstname"=>"Warren", "lastname"=>"Jerde"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3060ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1748ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52ff68b1573533659d2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff68b1573533659d2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2440ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff68b1573533659d2d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2660ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1775ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff68b1573533659d2e0000'), "firstname"=>"Delphine", "lastname"=>"Dare"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2806ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52ff68b1573533659d2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff68b1573533659d2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 9ms (Views: 7.5ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff68b1573533659d2f0000'), "firstname"=>"Ralph", "lastname"=>"Reichert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4323ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3656ms
Completed 200 OK in 10ms (Views: 9.3ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff68b1573533659d300000'), "firstname"=>"Darwin", "lastname"=>"Adams"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3560ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff68b1573533659d310000'), "firstname"=>"Linnea", "lastname"=>"Huels"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5073ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52ff68b1573533659d310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff68b1573533659d310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2761ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff68b1573533659d320000'), "firstname"=>"Estel", "lastname"=>"Feil"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3936ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52ff68b1573533659d320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff68b1573533659d320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2662ms
Unpermitted parameters: name
Redirected to http://test.host/users/52ff68b1573533659d320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6177ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3246ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3849ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3503ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff8dcc573533796a000000'), "name"=>"Oceane Runolfsdottir", "reference"=>"Mrs. Kaden Herman", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4587ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1835ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff8dcc573533796a010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3933ms
Redirected to http://test.host/admin/products/52ff8dcc573533796a010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1884ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff8dcc573533796a020000'), "name"=>"Mikel Mosciski", "reference"=>"Juston Schaden V", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3098ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1773ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52ff8dcc573533796a020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff8dcc573533796a020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2962ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff8dcc573533796a020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3473ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2284ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff8dcc573533796a030000'), "name"=>"Cristobal Collier", "reference"=>"Darryl Stroman", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3014ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52ff8dcc573533796a030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff8dcc573533796a030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3003ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 200 OK in 54ms (Views: 52.6ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff8dcc573533796a040000'), "name"=>"Deshawn Hamill", "reference"=>"Emily Casper", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4255ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3402ms
Completed 200 OK in 7ms (Views: 6.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff8dcc573533796a050000'), "name"=>"Sedrick Howe MD", "reference"=>"Alexane Harris", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 7.7743ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 20ms (Views: 5.6ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff8dcc573533796a080000'), "name"=>"Marielle Littel", "reference"=>"Reyes Wuckert", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4167ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52ff8dcc573533796a080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff8dcc573533796a080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2578ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff8dcc573533796a090000'), "name"=>"Savanna Sauer", "reference"=>"Dorris Legros", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3965ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52ff8dcc573533796a090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff8dcc573533796a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2613ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff8dcc573533796a090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3568ms
Redirected to http://test.host/admin/products/52ff8dcc573533796a090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff8dcc573533796a0a0000'), "firstname"=>"Jevon", "lastname"=>"Stehr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4521ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1671ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff8dcc573533796a0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3536ms
Redirected to http://test.host/admin/users/52ff8dcc573533796a0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2327ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff8dcc573533796a0c0000'), "firstname"=>"Eva", "lastname"=>"Russel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3571ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2197ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52ff8dcc573533796a0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff8dcc573533796a0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff8dcc573533796a0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3343ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1681ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff8dcc573533796a0d0000'), "firstname"=>"Armand", "lastname"=>"Daugherty"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2468ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52ff8dcc573533796a0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff8dcc573533796a0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2734ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff8dcc573533796a0e0000'), "firstname"=>"Alicia", "lastname"=>"Steuber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4198ms
Completed 200 OK in 7ms (Views: 6.7ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff8dcc573533796a0f0000'), "firstname"=>"Enoch", "lastname"=>"Homenick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3747ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 200 OK in 5ms (Views: 4.7ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff8dcc573533796a100000'), "firstname"=>"Magnus", "lastname"=>"Hane"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4186ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52ff8dcc573533796a100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff8dcc573533796a100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms
Completed 200 OK in 5ms (Views: 3.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff8dcc573533796a110000'), "firstname"=>"Laverne", "lastname"=>"Grant"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52ff8dcc573533796a110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff8dcc573533796a110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52ff8dcc573533796a110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a120000'), "firstname"=>"Ericka", "lastname"=>"Hickle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4475ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2126ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3703ms
Redirected to http://test.host/admin/clients/52ff8dcd573533796a130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1952ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a140000'), "firstname"=>"Shyann", "lastname"=>"Rowe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3639ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2293ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52ff8dcd573533796a140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff8dcd573533796a140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2934ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff8dcd573533796a140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3477ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2282ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a150000'), "firstname"=>"Thad", "lastname"=>"O'Reilly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2674ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52ff8dcd573533796a150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff8dcd573533796a150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2382ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.2ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a160000'), "firstname"=>"Carmelo", "lastname"=>"Hamill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4706ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3244ms
Completed 200 OK in 7ms (Views: 5.5ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a170000'), "firstname"=>"Dina", "lastname"=>"Ritchie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4388ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 5.5ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a180000'), "firstname"=>"Bernita", "lastname"=>"Schmitt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4153ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52ff8dcd573533796a180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff8dcd573533796a180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2451ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a190000'), "firstname"=>"Dashawn", "lastname"=>"Harris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4134ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52ff8dcd573533796a190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff8dcd573533796a190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4297ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff8dcd573533796a190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4967ms
Redirected to http://test.host/admin/clients/52ff8dcd573533796a190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a1a0000'), "firstname"=>"Cloyd", "lastname"=>"Pacocha"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2464ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2246ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3559ms
Redirected to http://test.host/clients/52ff8dcd573533796a1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2281ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a1c0000'), "firstname"=>"Jermey", "lastname"=>"Tillman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2737ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2183ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52ff8dcd573533796a1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff8dcd573533796a1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2536ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff8dcd573533796a1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2419ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1561ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a1d0000'), "firstname"=>"Justice", "lastname"=>"Langworth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2411ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52ff8dcd573533796a1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff8dcd573533796a1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2463ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 4.9ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a1e0000'), "firstname"=>"Meghan", "lastname"=>"Gerlach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3778ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4068ms
Completed 200 OK in 8ms (Views: 7.7ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a1f0000'), "firstname"=>"Malcolm", "lastname"=>"Towne"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4083ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 7ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a200000'), "firstname"=>"Ethelyn", "lastname"=>"Goyette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4044ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52ff8dcd573533796a200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff8dcd573533796a200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2456ms
Completed 200 OK in 5ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a210000'), "firstname"=>"Jonathan", "lastname"=>"Steuber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3371ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52ff8dcd573533796a210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff8dcd573533796a210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ff8dcd573533796a210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2678ms
Redirected to http://test.host/clients/52ff8dcd573533796a210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a220000'), "name"=>"Lavon Pagac", "reference"=>"Dashawn Little", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4616ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3473ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4388ms
Redirected to http://test.host/products/52ff8dcd573533796a230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2276ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a240000'), "name"=>"Lue Kerluke", "reference"=>"Jocelyn Nader", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3177ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1802ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52ff8dcd573533796a240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff8dcd573533796a240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3082ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff8dcd573533796a240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7995ms
Redirected to http://test.host/products
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2268ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a250000'), "name"=>"Anjali Renner", "reference"=>"Luisa Schimmel", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52ff8dcd573533796a250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff8dcd573533796a250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2849ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 10ms (Views: 8.3ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a260000'), "name"=>"Miss Geovany Schmidt", "reference"=>"Selena White", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5832ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4589ms
Completed 200 OK in 10ms (Views: 9.3ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a270000'), "name"=>"Deondre McLaughlin", "reference"=>"Miss Kayla Mills", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3601ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 5.9ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a290000'), "name"=>"Philip Jacobs", "reference"=>"Creola Bailey", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4140ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52ff8dcd573533796a290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff8dcd573533796a290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms
Completed 200 OK in 5ms (Views: 3.9ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a2a0000'), "name"=>"Wilber Johns", "reference"=>"Elza Bruen", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4521ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52ff8dcd573533796a2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff8dcd573533796a2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ff8dcd573533796a2a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2883ms
Redirected to http://test.host/products/52ff8dcd573533796a2a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a2b0000'), "firstname"=>"Hayden", "lastname"=>"Williamson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4132ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1793ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a2c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3202ms
Redirected to http://test.host/users/52ff8dcd573533796a2c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1871ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a2d0000'), "firstname"=>"Glenda", "lastname"=>"Deckow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3153ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1751ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52ff8dcd573533796a2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff8dcd573533796a2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2470ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff8dcd573533796a2d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1764ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a2e0000'), "firstname"=>"Taurean", "lastname"=>"Schaefer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2419ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52ff8dcd573533796a2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff8dcd573533796a2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2433ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (34.2ms)
Completed 200 OK in 40ms (Views: 39.1ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a2f0000'), "firstname"=>"Abigail", "lastname"=>"Dibbert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4543ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3819ms
Completed 200 OK in 10ms (Views: 9.5ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a300000'), "firstname"=>"Daisha", "lastname"=>"Moen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3321ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a310000'), "firstname"=>"Maiya", "lastname"=>"Haley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3728ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52ff8dcd573533796a310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff8dcd573533796a310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2143ms
Completed 200 OK in 5ms (Views: 3.8ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ff8dcd573533796a320000'), "firstname"=>"Blanche", "lastname"=>"Macejkovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4432ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52ff8dcd573533796a320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ff8dcd573533796a320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2536ms
Unpermitted parameters: name
Redirected to http://test.host/users/52ff8dcd573533796a320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6754ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3008ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2880ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2366ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ffb6f557353309f6000000'), "name"=>"Vivianne Schaefer", "reference"=>"Deondre Gleason", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4914ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1913ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ffb6f557353309f6010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4096ms
Redirected to http://test.host/admin/products/52ffb6f557353309f6010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1969ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ffb6f557353309f6020000'), "name"=>"Clarabelle Yost", "reference"=>"Nella Denesik II", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3492ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1812ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"52ffb6f557353309f6020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ffb6f557353309f6020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ffb6f557353309f6020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2313ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ffb6f557353309f6030000'), "name"=>"Elijah Tillman", "reference"=>"Vicky Murphy", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2966ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"52ffb6f557353309f6030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ffb6f557353309f6030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2868ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 200 OK in 54ms (Views: 53.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ffb6f557353309f6040000'), "name"=>"Aletha Lehner", "reference"=>"Jakob Lueilwitz IV", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4374ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms
Completed 200 OK in 7ms (Views: 6.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ffb6f557353309f6050000'), "name"=>"Deven DuBuque", "reference"=>"Kane Haag", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3421ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 20ms (Views: 6.2ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f6080000'), "name"=>"Abigale Roob", "reference"=>"Benny Wiza", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4255ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"52ffb6f657353309f6080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ffb6f657353309f6080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2669ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f6090000'), "name"=>"Ethelyn Kshlerin", "reference"=>"Juliana Hermiston", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4274ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52ffb6f657353309f6090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ffb6f657353309f6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2505ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ffb6f657353309f6090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2854ms
Redirected to http://test.host/admin/products/52ffb6f657353309f6090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f60a0000'), "firstname"=>"Zackary", "lastname"=>"Heaney"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4528ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2298ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f60b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3686ms
Redirected to http://test.host/admin/users/52ffb6f657353309f60b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3479ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f60c0000'), "firstname"=>"Lenora", "lastname"=>"Schaefer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5176ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2321ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"52ffb6f657353309f60c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ffb6f657353309f60c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ffb6f657353309f60c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2939ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1900ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f60d0000'), "firstname"=>"Stephany", "lastname"=>"Sporer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2969ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"52ffb6f657353309f60d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ffb6f657353309f60d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2883ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f60e0000'), "firstname"=>"Chadd", "lastname"=>"Treutel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4482ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3168ms
Completed 200 OK in 6ms (Views: 6.0ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f60f0000'), "firstname"=>"Jermey", "lastname"=>"Streich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3932ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 4.9ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f6100000'), "firstname"=>"Osvaldo", "lastname"=>"Kuhn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4246ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"52ffb6f657353309f6100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ffb6f657353309f6100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms
Completed 200 OK in 5ms (Views: 3.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f6110000'), "firstname"=>"Brandyn", "lastname"=>"Shields"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3940ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52ffb6f657353309f6110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ffb6f657353309f6110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/52ffb6f657353309f6110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f6120000'), "firstname"=>"Austyn", "lastname"=>"Tremblay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4509ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1813ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f6130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3486ms
Redirected to http://test.host/admin/clients/52ffb6f657353309f6130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2011ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f6140000'), "firstname"=>"Elyssa", "lastname"=>"Harber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3259ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2018ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52ffb6f657353309f6140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ffb6f657353309f6140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ffb6f657353309f6140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2757ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1843ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f6150000'), "firstname"=>"Lelia", "lastname"=>"Flatley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2491ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52ffb6f657353309f6150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ffb6f657353309f6150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 9ms (Views: 8.2ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f6160000'), "firstname"=>"Jessy", "lastname"=>"Herzog"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4067ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3249ms
Completed 200 OK in 6ms (Views: 5.4ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f6170000'), "firstname"=>"Ladarius", "lastname"=>"Feest"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3629ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 5.5ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f6180000'), "firstname"=>"Garett", "lastname"=>"Mayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4058ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52ffb6f657353309f6180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ffb6f657353309f6180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2615ms
Completed 200 OK in 6ms (Views: 4.3ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f6190000'), "firstname"=>"Stacy", "lastname"=>"Stark"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4487ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52ffb6f657353309f6190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ffb6f657353309f6190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ffb6f657353309f6190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2970ms
Redirected to http://test.host/admin/clients/52ffb6f657353309f6190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f61a0000'), "firstname"=>"Norma", "lastname"=>"Bins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2671ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1763ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f61b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2996ms
Redirected to http://test.host/clients/52ffb6f657353309f61b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1595ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f61c0000'), "firstname"=>"Jaida", "lastname"=>"Doyle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2281ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1646ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"52ffb6f657353309f61c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ffb6f657353309f61c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2578ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ffb6f657353309f61c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2523ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1770ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f61d0000'), "firstname"=>"Moises", "lastname"=>"Armstrong"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2406ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"52ffb6f657353309f61d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ffb6f657353309f61d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2425ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 4.9ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f61e0000'), "firstname"=>"Claire", "lastname"=>"Koelpin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3459ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4661ms
Completed 200 OK in 8ms (Views: 7.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f61f0000'), "firstname"=>"Susie", "lastname"=>"Dare"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 7ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f6200000'), "firstname"=>"Ashlee", "lastname"=>"Rohan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4194ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"52ffb6f657353309f6200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ffb6f657353309f6200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2572ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f6210000'), "firstname"=>"Demond", "lastname"=>"Schiller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1440ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"52ffb6f657353309f6210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ffb6f657353309f6210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3095ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('52ffb6f657353309f6210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3346ms
Redirected to http://test.host/clients/52ffb6f657353309f6210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f6220000'), "name"=>"Jaquan Schuppe", "reference"=>"Lonny Reilly", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4314ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1871ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f6230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3473ms
Redirected to http://test.host/products/52ffb6f657353309f6230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1870ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f6240000'), "name"=>"Evert Dare", "reference"=>"Enola Morissette IV", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3212ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1772ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"52ffb6f657353309f6240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ffb6f657353309f6240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ffb6f657353309f6240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2646ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1868ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f6250000'), "name"=>"Hester Jakubowski", "reference"=>"Larue Luettgen", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2516ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"52ffb6f657353309f6250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ffb6f657353309f6250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2469ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.2ms)
Completed 200 OK in 10ms (Views: 8.9ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f6260000'), "name"=>"Dr. Rod Kreiger", "reference"=>"Miss Mae Von", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4244ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3835ms
Completed 200 OK in 10ms (Views: 9.1ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f6270000'), "name"=>"Orrin Bauch", "reference"=>"Kaylie Mraz", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3528ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 7ms (Views: 5.9ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f6290000'), "name"=>"Jailyn Dietrich", "reference"=>"Kasandra Gottlieb", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4751ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"52ffb6f657353309f6290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ffb6f657353309f6290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3343ms
Completed 200 OK in 5ms (Views: 3.7ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f62a0000'), "name"=>"Viviane Wisozk Jr.", "reference"=>"Antwan Wisoky", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3887ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"52ffb6f657353309f62a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ffb6f657353309f62a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('52ffb6f657353309f62a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2780ms
Redirected to http://test.host/products/52ffb6f657353309f62a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f62b0000'), "firstname"=>"Tom", "lastname"=>"Baumbach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4217ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1785ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f62c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3236ms
Redirected to http://test.host/users/52ffb6f657353309f62c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1862ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f62d0000'), "firstname"=>"Gustave", "lastname"=>"Rath"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3076ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1920ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"52ffb6f657353309f62d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ffb6f657353309f62d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3147ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ffb6f657353309f62d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2841ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2963ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f62e0000'), "firstname"=>"Humberto", "lastname"=>"Grimes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3447ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"52ffb6f657353309f62e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ffb6f657353309f62e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2511ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.1ms)
Completed 200 OK in 39ms (Views: 37.8ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f62f0000'), "firstname"=>"Andrew", "lastname"=>"Kessler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3702ms
Completed 200 OK in 10ms (Views: 9.4ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f6300000'), "firstname"=>"Jaron", "lastname"=>"Prohaska"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3616ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.3ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f6310000'), "firstname"=>"Carmella", "lastname"=>"Schultz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4258ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"52ffb6f657353309f6310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ffb6f657353309f6310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2644ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('52ffb6f657353309f6320000'), "firstname"=>"Claudine", "lastname"=>"Schultz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3904ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"52ffb6f657353309f6320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('52ffb6f657353309f6320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms
Unpermitted parameters: name
Redirected to http://test.host/users/52ffb6f657353309f6320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6315ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 3.2919ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4125ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2899ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2977ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53008f9d5735331334000000'), "name"=>"Pete Kulas", "reference"=>"Ms. Keith Ryan", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5026ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1924ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53008f9d5735331334010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms
Redirected to http://test.host/admin/products/53008f9d5735331334010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1957ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53008f9d5735331334020000'), "name"=>"Ronaldo O'Reilly", "reference"=>"Mrs. Travis Witting", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7866ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1650ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53008f9d5735331334020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53008f9d5735331334020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2638ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53008f9d5735331334020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1732ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53008f9d5735331334030000'), "name"=>"Mrs. Arvilla Ratke", "reference"=>"Mr. Lambert Lubowitz", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2478ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53008f9d5735331334030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53008f9d5735331334030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2380ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.8ms)
Completed 200 OK in 132ms (Views: 130.5ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53008f9d5735331334040000'), "name"=>"Rod Littel DVM", "reference"=>"Forrest Grant", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4188ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3792ms
Completed 200 OK in 7ms (Views: 6.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53008f9d5735331334050000'), "name"=>"Christa O'Reilly", "reference"=>"Miss Teagan Conroy", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 20ms (Views: 6.5ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53008f9d5735331334080000'), "name"=>"Jaqueline Lehner", "reference"=>"Heber Grant", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4152ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53008f9d5735331334080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53008f9d5735331334080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2476ms
Completed 200 OK in 5ms (Views: 3.8ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53008f9d5735331334090000'), "name"=>"Winnifred Pfeffer", "reference"=>"Kody Konopelski DVM", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3935ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53008f9d5735331334090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53008f9d5735331334090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2448ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53008f9d5735331334090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3321ms
Redirected to http://test.host/admin/products/53008f9d5735331334090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53008f9d57353313340a0000'), "firstname"=>"Kara", "lastname"=>"Willms"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4096ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1626ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53008f9d57353313340b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4523ms
Redirected to http://test.host/admin/users/53008f9d57353313340b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2873ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53008f9e57353313340c0000'), "firstname"=>"Audreanne", "lastname"=>"Howell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3525ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1587ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53008f9e57353313340c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53008f9e57353313340c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2365ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53008f9e57353313340c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2754ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1623ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53008f9e57353313340d0000'), "firstname"=>"Raina", "lastname"=>"Kuhic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2392ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53008f9e57353313340d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53008f9e57353313340d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2292ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53008f9e57353313340e0000'), "firstname"=>"Lourdes", "lastname"=>"Senger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.1867ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3918ms
Completed 200 OK in 7ms (Views: 6.4ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53008f9e57353313340f0000'), "firstname"=>"Zita", "lastname"=>"Lowe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3473ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53008f9e5735331334100000'), "firstname"=>"Jalyn", "lastname"=>"Becker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4119ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53008f9e5735331334100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53008f9e5735331334100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53008f9e5735331334110000'), "firstname"=>"Lucius", "lastname"=>"Baumbach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4037ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53008f9e5735331334110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53008f9e5735331334110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3908ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53008f9e5735331334110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53008f9e5735331334120000'), "firstname"=>"Christian", "lastname"=>"Smitham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4706ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1897ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53008f9e5735331334130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3702ms
Redirected to http://test.host/admin/clients/53008f9e5735331334130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2092ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53008f9e5735331334140000'), "firstname"=>"Darrick", "lastname"=>"Sawayn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3343ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1663ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53008f9e5735331334140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53008f9e5735331334140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3786ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53008f9e5735331334140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4814ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2127ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53008f9e5735331334150000'), "firstname"=>"Elmer", "lastname"=>"Halvorson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2582ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53008f9e5735331334150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53008f9e5735331334150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2712ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.6ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53008f9e5735331334160000'), "firstname"=>"Oscar", "lastname"=>"Bogan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9555ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3860ms
Completed 200 OK in 7ms (Views: 5.6ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53008f9e5735331334170000'), "firstname"=>"Brain", "lastname"=>"Langworth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4628ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53008f9e5735331334180000'), "firstname"=>"Winston", "lastname"=>"Wehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4232ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53008f9e5735331334180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53008f9e5735331334180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2614ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53008f9e5735331334190000'), "firstname"=>"Kariane", "lastname"=>"Simonis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4089ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53008f9e5735331334190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53008f9e5735331334190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53008f9e5735331334190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms
Redirected to http://test.host/admin/clients/53008f9e5735331334190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53008f9e57353313341a0000'), "firstname"=>"Aric", "lastname"=>"Klein"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2778ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2183ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53008f9e57353313341b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3518ms
Redirected to http://test.host/clients/53008f9e57353313341b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3038ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53008f9e57353313341c0000'), "firstname"=>"Tyson", "lastname"=>"Ward"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3427ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1568ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53008f9e57353313341c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53008f9e57353313341c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2334ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53008f9e57353313341c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2497ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1679ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53008f9e57353313341d0000'), "firstname"=>"Bernard", "lastname"=>"Johns"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2651ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53008f9e57353313341d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53008f9e57353313341d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2973ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53008f9e57353313341e0000'), "firstname"=>"Antone", "lastname"=>"Schmeler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3623ms
Completed 200 OK in 8ms (Views: 7.2ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53008f9e57353313341f0000'), "firstname"=>"Romaine", "lastname"=>"Labadie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4270ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 5.0ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53008f9e5735331334200000'), "firstname"=>"Madge", "lastname"=>"DuBuque"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4166ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53008f9e5735331334200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53008f9e5735331334200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3183ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53008f9e5735331334210000'), "firstname"=>"Reva", "lastname"=>"Heathcote"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3520ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53008f9e5735331334210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53008f9e5735331334210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2708ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53008f9e5735331334210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3315ms
Redirected to http://test.host/clients/53008f9e5735331334210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53008f9e5735331334220000'), "name"=>"Jade Padberg", "reference"=>"Anjali Dibbert", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4743ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1835ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53008f9e5735331334230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3425ms
Redirected to http://test.host/products/53008f9e5735331334230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1872ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53008f9e5735331334240000'), "name"=>"Elsie O'Conner V", "reference"=>"Louie Wolf V", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3296ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2089ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53008f9e5735331334240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53008f9e5735331334240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2651ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53008f9e5735331334240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2433ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1658ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53008f9e5735331334250000'), "name"=>"Madonna Kuhn", "reference"=>"Marilie Jacobs III", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2302ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53008f9e5735331334250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53008f9e5735331334250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2904ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms)
Completed 500 Internal Server Error in 9ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53008f9e5735331334260000'), "name"=>"Dr. Celestino Legros", "reference"=>"Doris Crooks", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4252ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4162ms
Completed 200 OK in 10ms (Views: 9.6ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53008f9e5735331334270000'), "name"=>"Mrs. Anabel Lockman", "reference"=>"Makayla Moore", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3627ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 500 Internal Server Error in 6ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53008f9e5735331334290000'), "name"=>"Trisha Armstrong Sr.", "reference"=>"Tatyana Upton DVM", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4922ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53008f9e5735331334290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53008f9e5735331334290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4071ms
Completed 200 OK in 5ms (Views: 3.8ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53008f9e57353313342a0000'), "name"=>"Chester Reinger", "reference"=>"Lyda Yost Sr.", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4088ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53008f9e57353313342a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53008f9e57353313342a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2650ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53008f9e57353313342a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2840ms
Redirected to http://test.host/products/53008f9e57353313342a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53008f9e57353313342b0000'), "firstname"=>"Ada", "lastname"=>"Haag"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4278ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1874ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53008f9e57353313342c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3307ms
Redirected to http://test.host/users/53008f9e57353313342c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1846ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53008f9e57353313342d0000'), "firstname"=>"Casandra", "lastname"=>"Borer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3371ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2197ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53008f9e57353313342d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53008f9e57353313342d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2847ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53008f9e57353313342d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2936ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1975ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53008f9e57353313342e0000'), "firstname"=>"Kaya", "lastname"=>"Dicki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 30.6563ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53008f9e57353313342e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53008f9e57353313342e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3328ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 11ms (Views: 9.3ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53008f9e57353313342f0000'), "firstname"=>"Scarlett", "lastname"=>"Konopelski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4018ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3653ms
Completed 200 OK in 10ms (Views: 9.4ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53008f9e5735331334300000'), "firstname"=>"Kobe", "lastname"=>"Bartell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3559ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.4ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53008f9e5735331334310000'), "firstname"=>"Mohammad", "lastname"=>"Hyatt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4452ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53008f9e5735331334310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53008f9e5735331334310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2469ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53008f9e5735331334320000'), "firstname"=>"Mabel", "lastname"=>"Price"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2057ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53008f9e5735331334320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53008f9e5735331334320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2917ms
Unpermitted parameters: name
Redirected to http://test.host/users/53008f9e5735331334320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6635ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3373ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3917ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3485ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3394ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300903057353313a9000000'), "name"=>"Dell Rohan", "reference"=>"Dr. Curtis Harber", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4663ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1995ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300903057353313a9010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3664ms
Redirected to http://test.host/admin/products/5300903057353313a9010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2154ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300903057353313a9020000'), "name"=>"Nels Goldner Jr.", "reference"=>"Jazmyne Abshire", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3322ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2435ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5300903057353313a9020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300903057353313a9020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2989ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300903057353313a9020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3726ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2401ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300903057353313a9030000'), "name"=>"Darrell Hermann", "reference"=>"Clyde McDermott", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2998ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5300903057353313a9030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300903057353313a9030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2858ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.8ms)
Completed 200 OK in 54ms (Views: 52.6ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300903057353313a9040000'), "name"=>"Theodora Ratke", "reference"=>"Gilda Weber", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4469ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms
Completed 200 OK in 7ms (Views: 6.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300903057353313a9050000'), "name"=>"Patrick Sipes", "reference"=>"Mr. Patience Erdman", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3672ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 20ms (Views: 6.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300903157353313a9080000'), "name"=>"Mrs. Sunny Carter", "reference"=>"Mrs. Hayley Stehr", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4196ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5300903157353313a9080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300903157353313a9080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2519ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300903157353313a9090000'), "name"=>"Camron Fisher", "reference"=>"Miss Ozella Wilderman", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5300903157353313a9090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300903157353313a9090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2555ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300903157353313a9090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3142ms
Redirected to http://test.host/admin/products/5300903157353313a9090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300903157353313a90a0000'), "firstname"=>"Elda", "lastname"=>"Beer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4252ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1786ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300903157353313a90b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3479ms
Redirected to http://test.host/admin/users/5300903157353313a90b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3095ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300903157353313a90c0000'), "firstname"=>"Helen", "lastname"=>"Carter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4782ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2240ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5300903157353313a90c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300903157353313a90c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2845ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300903157353313a90c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3179ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2012ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300903157353313a90d0000'), "firstname"=>"Leanne", "lastname"=>"Bosco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2488ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5300903157353313a90d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300903157353313a90d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2460ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300903157353313a90e0000'), "firstname"=>"Kennedy", "lastname"=>"Leffler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3108ms
Completed 200 OK in 6ms (Views: 6.0ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300903157353313a90f0000'), "firstname"=>"Christ", "lastname"=>"Watsica"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4027ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300903157353313a9100000'), "firstname"=>"Taylor", "lastname"=>"Collier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4188ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5300903157353313a9100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300903157353313a9100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300903157353313a9110000'), "firstname"=>"Hayley", "lastname"=>"Jaskolski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3913ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5300903157353313a9110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300903157353313a9110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2520ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5300903157353313a9110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300903157353313a9120000'), "firstname"=>"Mike", "lastname"=>"MacGyver"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4304ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1844ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300903157353313a9130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3549ms
Redirected to http://test.host/admin/clients/5300903157353313a9130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1853ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300903157353313a9140000'), "firstname"=>"Elfrieda", "lastname"=>"Thompson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3050ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1749ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5300903157353313a9140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300903157353313a9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300903157353313a9140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2968ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1902ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300903157353313a9150000'), "firstname"=>"Andre", "lastname"=>"Murray"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5300903157353313a9150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300903157353313a9150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2442ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 9ms (Views: 8.2ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300903157353313a9160000'), "firstname"=>"Ora", "lastname"=>"Lueilwitz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4057ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3321ms
Completed 200 OK in 7ms (Views: 5.5ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300903157353313a9170000'), "firstname"=>"Dixie", "lastname"=>"Koss"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4167ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300903157353313a9180000'), "firstname"=>"Lexi", "lastname"=>"Kozey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5300903157353313a9180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300903157353313a9180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2463ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300903157353313a9190000'), "firstname"=>"Estel", "lastname"=>"Wisoky"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3869ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5300903157353313a9190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300903157353313a9190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2995ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300903157353313a9190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4761ms
Redirected to http://test.host/admin/clients/5300903157353313a9190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300903157353313a91a0000'), "firstname"=>"Rebeka", "lastname"=>"Schinner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3464ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1619ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300903157353313a91b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3097ms
Redirected to http://test.host/clients/5300903157353313a91b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1637ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300903157353313a91c0000'), "firstname"=>"Yasmine", "lastname"=>"Stehr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2101ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1536ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5300903157353313a91c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300903157353313a91c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2247ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300903157353313a91c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2340ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1551ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300903157353313a91d0000'), "firstname"=>"Sarai", "lastname"=>"Schowalter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2226ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5300903157353313a91d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300903157353313a91d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2423ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300903157353313a91e0000'), "firstname"=>"Yolanda", "lastname"=>"Anderson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3733ms
Completed 200 OK in 8ms (Views: 7.5ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300903157353313a91f0000'), "firstname"=>"Nelson", "lastname"=>"Mueller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4701ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300903157353313a9200000'), "firstname"=>"Johathan", "lastname"=>"Bashirian"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4127ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5300903157353313a9200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300903157353313a9200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3407ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300903157353313a9210000'), "firstname"=>"Daron", "lastname"=>"Walker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3416ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5300903157353313a9210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300903157353313a9210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300903157353313a9210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2764ms
Redirected to http://test.host/clients/5300903157353313a9210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300903157353313a9220000'), "name"=>"Lindsay Mraz MD", "reference"=>"Maximo Rodriguez", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4565ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1650ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300903157353313a9230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3868ms
Redirected to http://test.host/products/5300903157353313a9230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1988ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300903157353313a9240000'), "name"=>"Augustine Moore", "reference"=>"Mrs. Orpha Kautzer", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3256ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1849ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5300903157353313a9240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300903157353313a9240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300903157353313a9240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2418ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1498ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300903157353313a9250000'), "name"=>"Mrs. Emmy Roob", "reference"=>"Carlotta Hamill", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2112ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5300903157353313a9250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300903157353313a9250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2132ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms)
Completed 500 Internal Server Error in 9ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300903157353313a9260000'), "name"=>"Karianne Rau", "reference"=>"Julian Daugherty", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4477ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4263ms
Completed 200 OK in 10ms (Views: 9.5ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300903157353313a9270000'), "name"=>"Mr. Fermin Sanford", "reference"=>"Rosetta Corwin", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3506ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.0ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300903157353313a9290000'), "name"=>"Magdalena Roberts", "reference"=>"Dedric Willms", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5300903157353313a9290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300903157353313a9290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2831ms
Completed 200 OK in 5ms (Views: 4.0ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300903157353313a92a0000'), "name"=>"Miss Blake Klein", "reference"=>"Jordane Mayert", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4236ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5300903157353313a92a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300903157353313a92a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2580ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300903157353313a92a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2685ms
Redirected to http://test.host/products/5300903157353313a92a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300903157353313a92b0000'), "firstname"=>"Shana", "lastname"=>"Hammes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3814ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1592ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300903157353313a92c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3252ms
Redirected to http://test.host/users/5300903157353313a92c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1659ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300903157353313a92d0000'), "firstname"=>"Fredy", "lastname"=>"Schultz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2809ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1523ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5300903157353313a92d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300903157353313a92d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2301ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300903157353313a92d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2346ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1551ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300903157353313a92e0000'), "firstname"=>"Pearline", "lastname"=>"Hoppe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2304ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5300903157353313a92e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300903157353313a92e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 39ms (Views: 37.3ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300903157353313a92f0000'), "firstname"=>"Jamil", "lastname"=>"Wunsch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3544ms
Completed 200 OK in 10ms (Views: 9.3ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300903157353313a9300000'), "firstname"=>"Watson", "lastname"=>"Maggio"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3589ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300903157353313a9310000'), "firstname"=>"Emmitt", "lastname"=>"Kovacek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5300903157353313a9310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300903157353313a9310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2378ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300903157353313a9320000'), "firstname"=>"Gordon", "lastname"=>"Schuppe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4653ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5300903157353313a9320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300903157353313a9320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2526ms
Unpermitted parameters: name
Redirected to http://test.host/users/5300903157353313a9320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6236ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3762ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3466ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3183ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1000000'), "name"=>"Sasha Mitchell", "reference"=>"Elsie Schinner", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4971ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2294ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 9.4517ms
Redirected to http://test.host/admin/products/5300908e57353313e1010000
Completed 302 Found in 11ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2041ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1020000'), "name"=>"Adriana Rohan", "reference"=>"Ms. Ivy Trantow", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3206ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1808ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5300908e57353313e1020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300908e57353313e1020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300908e57353313e1020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2983ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1843ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1030000'), "name"=>"Keshaun Schmidt", "reference"=>"Nash Smitham", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2502ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5300908e57353313e1030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300908e57353313e1030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2357ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.7ms)
Completed 200 OK in 54ms (Views: 52.6ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1040000'), "name"=>"Tia Runolfsdottir", "reference"=>"Merl Marvin", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4673ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3372ms
Completed 200 OK in 7ms (Views: 6.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1050000'), "name"=>"Mr. Mason Lynch", "reference"=>"Marlon Cummings", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3599ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 21ms (Views: 6.3ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1080000'), "name"=>"Brayan McDermott", "reference"=>"Winston Kilback", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4276ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5300908e57353313e1080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300908e57353313e1080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2652ms
Completed 200 OK in 5ms (Views: 3.8ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1090000'), "name"=>"Mr. Adella Gulgowski", "reference"=>"Mr. Lizeth Schinner", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3945ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5300908e57353313e1090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300908e57353313e1090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2543ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300908e57353313e1090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3164ms
Redirected to http://test.host/admin/products/5300908e57353313e1090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300908e57353313e10a0000'), "firstname"=>"Destany", "lastname"=>"Walker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4177ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1776ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300908e57353313e10b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4540ms
Redirected to http://test.host/admin/users/5300908e57353313e10b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3022ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300908e57353313e10c0000'), "firstname"=>"Timmothy", "lastname"=>"Steuber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3387ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1728ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5300908e57353313e10c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300908e57353313e10c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2457ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300908e57353313e10c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3151ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1928ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300908e57353313e10d0000'), "firstname"=>"Crawford", "lastname"=>"Feest"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2756ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5300908e57353313e10d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300908e57353313e10d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2662ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.3ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300908e57353313e10e0000'), "firstname"=>"Brenda", "lastname"=>"Spencer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms
Completed 200 OK in 6ms (Views: 6.0ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300908e57353313e10f0000'), "firstname"=>"Lydia", "lastname"=>"Halvorson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.9ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1100000'), "firstname"=>"Mona", "lastname"=>"Beer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5300908e57353313e1100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300908e57353313e1100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1110000'), "firstname"=>"Van", "lastname"=>"Koelpin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4220ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5300908e57353313e1110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300908e57353313e1110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2408ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5300908e57353313e1110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1120000'), "firstname"=>"Mateo", "lastname"=>"Braun"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4733ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2387ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3584ms
Redirected to http://test.host/admin/clients/5300908e57353313e1130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2478ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1140000'), "firstname"=>"Lenna", "lastname"=>"Halvorson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3558ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2240ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5300908e57353313e1140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300908e57353313e1140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2956ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300908e57353313e1140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3003ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1850ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1150000'), "firstname"=>"Carmelo", "lastname"=>"Koch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2454ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5300908e57353313e1150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300908e57353313e1150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2361ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.4ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1160000'), "firstname"=>"Alvena", "lastname"=>"Morar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4800ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3246ms
Completed 200 OK in 7ms (Views: 5.7ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1170000'), "firstname"=>"Rogers", "lastname"=>"Conroy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4181ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1180000'), "firstname"=>"Daryl", "lastname"=>"Braun"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5300908e57353313e1180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300908e57353313e1180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2409ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1190000'), "firstname"=>"Edward", "lastname"=>"Altenwerth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5300908e57353313e1190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300908e57353313e1190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3669ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300908e57353313e1190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3302ms
Redirected to http://test.host/admin/clients/5300908e57353313e1190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300908e57353313e11a0000'), "firstname"=>"Alycia", "lastname"=>"Windler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2481ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1612ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300908e57353313e11b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2835ms
Redirected to http://test.host/clients/5300908e57353313e11b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1633ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300908e57353313e11c0000'), "firstname"=>"Shawna", "lastname"=>"Cummings"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2097ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1555ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5300908e57353313e11c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300908e57353313e11c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2371ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300908e57353313e11c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2343ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1563ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300908e57353313e11d0000'), "firstname"=>"Cydney", "lastname"=>"Breitenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2159ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5300908e57353313e11d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300908e57353313e11d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2255ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300908e57353313e11e0000'), "firstname"=>"Fabian", "lastname"=>"Hamill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3394ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3488ms
Completed 200 OK in 8ms (Views: 7.4ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300908e57353313e11f0000'), "firstname"=>"Sid", "lastname"=>"Welch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4063ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 4.9ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1200000'), "firstname"=>"Elinor", "lastname"=>"Howe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3994ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5300908e57353313e1200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300908e57353313e1200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2399ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1210000'), "firstname"=>"Ariel", "lastname"=>"Schiller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3336ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5300908e57353313e1210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300908e57353313e1210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300908e57353313e1210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2461ms
Redirected to http://test.host/clients/5300908e57353313e1210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1220000'), "name"=>"Johnnie Dibbert", "reference"=>"Dina Jenkins PhD", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4750ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3087ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms
Redirected to http://test.host/products/5300908e57353313e1230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1802ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1240000'), "name"=>"Guy Cummings", "reference"=>"Eldora Shanahan II", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3461ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1897ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5300908e57353313e1240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300908e57353313e1240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2595ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300908e57353313e1240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2687ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1879ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1250000'), "name"=>"Valentina Volkman", "reference"=>"Jessy Kohler", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2370ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5300908e57353313e1250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300908e57353313e1250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2877ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 10ms (Views: 8.2ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1260000'), "name"=>"Orville Jaskolski", "reference"=>"Norene Blick", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4196ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4354ms
Completed 200 OK in 10ms (Views: 9.8ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1270000'), "name"=>"Lori Stokes", "reference"=>"Oswaldo Bins", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.6338ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300908e57353313e1290000'), "name"=>"Ethan Becker", "reference"=>"Kiel Parisian DDS", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4484ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5300908e57353313e1290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300908e57353313e1290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2925ms
Completed 200 OK in 5ms (Views: 4.0ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300908e57353313e12a0000'), "name"=>"Mrs. Jerod Hand", "reference"=>"Denis Mosciski", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5300908e57353313e12a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300908e57353313e12a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2857ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300908e57353313e12a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2986ms
Redirected to http://test.host/products/5300908e57353313e12a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300908e57353313e12b0000'), "firstname"=>"Rogelio", "lastname"=>"Runolfsson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4616ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1977ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300908e57353313e12c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3587ms
Redirected to http://test.host/users/5300908e57353313e12c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2344ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300908e57353313e12d0000'), "firstname"=>"Antonette", "lastname"=>"Hartmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3498ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2239ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5300908e57353313e12d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300908e57353313e12d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2619ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300908e57353313e12d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2676ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2394ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300908e57353313e12e0000'), "firstname"=>"Donny", "lastname"=>"Frami"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3559ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5300908e57353313e12e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300908e57353313e12e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3984ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.1ms)
Completed 200 OK in 40ms (Views: 38.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300908f57353313e12f0000'), "firstname"=>"Genoveva", "lastname"=>"Hartmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4202ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3719ms
Completed 200 OK in 10ms (Views: 9.5ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300908f57353313e1300000'), "firstname"=>"Iliana", "lastname"=>"Dare"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3630ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300908f57353313e1310000'), "firstname"=>"Kaleigh", "lastname"=>"Cormier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8199ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5300908f57353313e1310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300908f57353313e1310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2624ms
Completed 200 OK in 6ms (Views: 4.3ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300908f57353313e1320000'), "firstname"=>"Easton", "lastname"=>"Renner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4750ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5300908f57353313e1320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300908f57353313e1320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2969ms
Unpermitted parameters: name
Redirected to http://test.host/users/5300908f57353313e1320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6436ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3223ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2907ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2128ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3425ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530094e257353316dc000000'), "name"=>"Diana Schuster", "reference"=>"Margarette Williamson", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4633ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1815ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530094e257353316dc010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3965ms
Redirected to http://test.host/admin/products/530094e257353316dc010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1973ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530094e257353316dc020000'), "name"=>"Ms. Grady Farrell", "reference"=>"Idella Vandervort", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3416ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1765ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"530094e257353316dc020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530094e257353316dc020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3211ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530094e257353316dc020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2299ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530094e257353316dc030000'), "name"=>"Howell Beatty", "reference"=>"Beth Ebert", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3018ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"530094e257353316dc030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530094e257353316dc030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3124ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.7ms)
Completed 200 OK in 54ms (Views: 52.3ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530094e257353316dc040000'), "name"=>"Enola Lindgren Sr.", "reference"=>"Scarlett Breitenberg", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4494ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3348ms
Completed 200 OK in 7ms (Views: 6.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530094e257353316dc050000'), "name"=>"Mr. Ernestina Huels", "reference"=>"Miss Mac Denesik", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3643ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 21ms (Views: 6.3ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530094e257353316dc080000'), "name"=>"Ariel Koss Jr.", "reference"=>"Rosella Gulgowski", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4547ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"530094e257353316dc080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530094e257353316dc080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530094e257353316dc090000'), "name"=>"Demond Pagac", "reference"=>"Sierra Zboncak", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4105ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530094e257353316dc090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530094e257353316dc090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2577ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530094e257353316dc090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3175ms
Redirected to http://test.host/admin/products/530094e257353316dc090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530094e257353316dc0a0000'), "firstname"=>"Jessie", "lastname"=>"West"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4348ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1782ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530094e257353316dc0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4550ms
Redirected to http://test.host/admin/users/530094e257353316dc0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3137ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530094e257353316dc0c0000'), "firstname"=>"Damian", "lastname"=>"Stiedemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3439ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1768ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"530094e257353316dc0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530094e257353316dc0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2423ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530094e257353316dc0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3017ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1815ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530094e257353316dc0d0000'), "firstname"=>"Magdalena", "lastname"=>"Pollich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2625ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"530094e257353316dc0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530094e257353316dc0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2539ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530094e257353316dc0e0000'), "firstname"=>"Zoe", "lastname"=>"Douglas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4127ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3172ms
Completed 200 OK in 7ms (Views: 6.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530094e257353316dc0f0000'), "firstname"=>"Kaleigh", "lastname"=>"Mertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4276ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.9ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530094e257353316dc100000'), "firstname"=>"Keshaun", "lastname"=>"Weber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4321ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"530094e257353316dc100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530094e257353316dc100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2707ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530094e257353316dc110000'), "firstname"=>"Frances", "lastname"=>"Carter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4046ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530094e257353316dc110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530094e257353316dc110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2343ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/530094e257353316dc110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530094e257353316dc120000'), "firstname"=>"Rahsaan", "lastname"=>"Ernser"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4512ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1810ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530094e257353316dc130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3532ms
Redirected to http://test.host/admin/clients/530094e257353316dc130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1888ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530094e257353316dc140000'), "firstname"=>"Dovie", "lastname"=>"Boyle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3050ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1763ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530094e257353316dc140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530094e257353316dc140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2449ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530094e257353316dc140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2922ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1813ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530094e257353316dc150000'), "firstname"=>"Markus", "lastname"=>"D'Amore"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2587ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530094e257353316dc150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530094e257353316dc150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2448ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530094e257353316dc160000'), "firstname"=>"Flossie", "lastname"=>"Kozey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4070ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3159ms
Completed 200 OK in 7ms (Views: 5.6ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530094e257353316dc170000'), "firstname"=>"Maynard", "lastname"=>"Breitenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4205ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 5.5ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530094e257353316dc180000'), "firstname"=>"Elizabeth", "lastname"=>"Murray"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4058ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530094e257353316dc180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530094e257353316dc180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2411ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530094e257353316dc190000'), "firstname"=>"Jo", "lastname"=>"Durgan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4684ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530094e257353316dc190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530094e257353316dc190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3791ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530094e257353316dc190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2625ms
Redirected to http://test.host/admin/clients/530094e257353316dc190000
Completed 302 Found in 9ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530094e257353316dc1a0000'), "firstname"=>"Kirk", "lastname"=>"McKenzie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3364ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2253ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530094e257353316dc1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3296ms
Redirected to http://test.host/clients/530094e257353316dc1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1831ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530094e257353316dc1c0000'), "firstname"=>"Dayton", "lastname"=>"Jast"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2294ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1677ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530094e257353316dc1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530094e257353316dc1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2350ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530094e257353316dc1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3152ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1997ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530094e257353316dc1d0000'), "firstname"=>"Kameron", "lastname"=>"Daniel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2240ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530094e257353316dc1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530094e257353316dc1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2078ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530094e357353316dc1e0000'), "firstname"=>"Theresia", "lastname"=>"Paucek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3612ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4423ms
Completed 200 OK in 8ms (Views: 7.6ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530094e357353316dc1f0000'), "firstname"=>"Elmo", "lastname"=>"Erdman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4678ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 4.9ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530094e357353316dc200000'), "firstname"=>"Santos", "lastname"=>"Doyle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4625ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530094e357353316dc200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530094e357353316dc200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2570ms
Completed 200 OK in 5ms (Views: 3.3ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530094e357353316dc210000'), "firstname"=>"Anabel", "lastname"=>"Renner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4440ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530094e357353316dc210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530094e357353316dc210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3245ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530094e357353316dc210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3286ms
Redirected to http://test.host/clients/530094e357353316dc210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530094e357353316dc220000'), "name"=>"Leland Kirlin Sr.", "reference"=>"Alex Walter PhD", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4464ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1688ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530094e357353316dc230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1563ms
Redirected to http://test.host/products/530094e357353316dc230000
Completed 302 Found in 8ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2381ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530094e357353316dc240000'), "name"=>"Emie Keebler IV", "reference"=>"Retha Ernser", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3430ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1718ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"530094e357353316dc240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530094e357353316dc240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3894ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530094e357353316dc240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2226ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530094e357353316dc250000'), "name"=>"Verla Ritchie", "reference"=>"Ms. Addison Lynch", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3070ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"530094e357353316dc250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530094e357353316dc250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2603ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 10ms (Views: 8.3ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530094e357353316dc260000'), "name"=>"Maryam Heidenreich", "reference"=>"Davion Homenick", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4362ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3775ms
Completed 200 OK in 10ms (Views: 9.1ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530094e357353316dc270000'), "name"=>"Roselyn MacGyver PhD", "reference"=>"Kylee Schultz Sr.", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3708ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.3ms)
Completed 500 Internal Server Error in 7ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530094e357353316dc290000'), "name"=>"Einar Davis", "reference"=>"Jany Ortiz", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4185ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"530094e357353316dc290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530094e357353316dc290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2958ms
Completed 200 OK in 5ms (Views: 3.7ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530094e357353316dc2a0000'), "name"=>"Julian Bogisich", "reference"=>"Mrs. Greta Glover", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3954ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530094e357353316dc2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530094e357353316dc2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530094e357353316dc2a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2589ms
Redirected to http://test.host/products/530094e357353316dc2a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530094e357353316dc2b0000'), "firstname"=>"Scotty", "lastname"=>"Lowe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4465ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3378ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530094e357353316dc2c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4200ms
Redirected to http://test.host/users/530094e357353316dc2c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2003ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530094e357353316dc2d0000'), "firstname"=>"Kayli", "lastname"=>"Gerlach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3476ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1870ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"530094e357353316dc2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530094e357353316dc2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2995ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530094e357353316dc2d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3134ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2009ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530094e357353316dc2e0000'), "firstname"=>"Rylan", "lastname"=>"Halvorson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2722ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"530094e357353316dc2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530094e357353316dc2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3844ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 10ms (Views: 9.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530094e357353316dc2f0000'), "firstname"=>"Zelma", "lastname"=>"Cole"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4620ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms
Completed 200 OK in 11ms (Views: 10.1ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530094e357353316dc300000'), "firstname"=>"Ophelia", "lastname"=>"Johnson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530094e357353316dc310000'), "firstname"=>"Tess", "lastname"=>"Thiel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4158ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"530094e357353316dc310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530094e357353316dc310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2588ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530094e357353316dc320000'), "firstname"=>"Jody", "lastname"=>"Terry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530094e357353316dc320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530094e357353316dc320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2308ms
Unpermitted parameters: name
Redirected to http://test.host/users/530094e357353316dc320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6544ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2965ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2816ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2357ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2342ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300963557353317b4000000'), "name"=>"Mrs. Christiana Walter", "reference"=>"Guy Streich", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4556ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1677ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300963557353317b4010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4153ms
Redirected to http://test.host/admin/products/5300963557353317b4010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2250ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300963557353317b4020000'), "name"=>"Jailyn Wiza", "reference"=>"Ms. Laurence Rohan", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3324ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1843ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5300963557353317b4020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300963557353317b4020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2152ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300963557353317b4020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2516ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1414ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300963557353317b4030000'), "name"=>"Frida Schumm Jr.", "reference"=>"Miss Vanessa Tremblay", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2221ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5300963557353317b4030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300963557353317b4030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2199ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.8ms)
Completed 200 OK in 54ms (Views: 53.2ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300963557353317b4040000'), "name"=>"Otto O'Connell", "reference"=>"Ora Schneider", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3296ms
Completed 200 OK in 7ms (Views: 6.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300963557353317b4050000'), "name"=>"Dr. Shania Legros", "reference"=>"Shayna Konopelski", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3427ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 21ms (Views: 6.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300963557353317b4080000'), "name"=>"Neva Kreiger", "reference"=>"Marcellus Bruen", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4208ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5300963557353317b4080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300963557353317b4080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2605ms
Completed 200 OK in 5ms (Views: 3.8ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300963557353317b4090000'), "name"=>"Lionel Fritsch", "reference"=>"Dustin Prosacco", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5300963557353317b4090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300963557353317b4090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2397ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300963557353317b4090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3162ms
Redirected to http://test.host/admin/products/5300963557353317b4090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300963557353317b40a0000'), "firstname"=>"Marlee", "lastname"=>"Crist"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4456ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2262ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300963557353317b40b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5268ms
Redirected to http://test.host/admin/users/5300963557353317b40b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3550ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300963557353317b40c0000'), "firstname"=>"Maria", "lastname"=>"Cummings"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4051ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2197ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5300963557353317b40c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300963557353317b40c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2877ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300963557353317b40c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2243ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300963557353317b40d0000'), "firstname"=>"Brooks", "lastname"=>"Adams"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2533ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5300963557353317b40d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300963557353317b40d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2275ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300963557353317b40e0000'), "firstname"=>"Juliet", "lastname"=>"Dach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4513ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3174ms
Completed 200 OK in 7ms (Views: 6.1ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300963557353317b40f0000'), "firstname"=>"Alf", "lastname"=>"Beier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4520ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.9ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300963557353317b4100000'), "firstname"=>"Sydney", "lastname"=>"Raynor"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4148ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5300963557353317b4100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300963557353317b4100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300963557353317b4110000'), "firstname"=>"Howard", "lastname"=>"Gaylord"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3969ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5300963557353317b4110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300963557353317b4110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5300963557353317b4110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300963557353317b4120000'), "firstname"=>"Marcel", "lastname"=>"Hudson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4535ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1805ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300963557353317b4130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms
Redirected to http://test.host/admin/clients/5300963557353317b4130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1906ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300963557353317b4140000'), "firstname"=>"Arlie", "lastname"=>"Spencer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3035ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1813ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5300963557353317b4140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300963557353317b4140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300963557353317b4140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2809ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2351ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300963557353317b4150000'), "firstname"=>"Katheryn", "lastname"=>"Beahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3000ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5300963557353317b4150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300963557353317b4150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.2ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300963557353317b4160000'), "firstname"=>"Kurtis", "lastname"=>"Ward"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4103ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3262ms
Completed 200 OK in 6ms (Views: 5.4ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300963557353317b4170000'), "firstname"=>"Ethelyn", "lastname"=>"Bosco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4443ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300963557353317b4180000'), "firstname"=>"Vella", "lastname"=>"Jones"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4014ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5300963557353317b4180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300963557353317b4180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300963557353317b4190000'), "firstname"=>"Emory", "lastname"=>"Stark"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4276ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5300963557353317b4190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300963557353317b4190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3549ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300963557353317b4190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4598ms
Redirected to http://test.host/admin/clients/5300963557353317b4190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300963557353317b41a0000'), "firstname"=>"Nicolas", "lastname"=>"Ferry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2630ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1603ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300963557353317b41b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3003ms
Redirected to http://test.host/clients/5300963557353317b41b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1645ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300963557353317b41c0000'), "firstname"=>"Alexis", "lastname"=>"Schultz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2199ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1482ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5300963557353317b41c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300963557353317b41c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2340ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300963557353317b41c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0905ms
Redirected to http://test.host/clients
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2026ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300963557353317b41d0000'), "firstname"=>"Shyann", "lastname"=>"Hintz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2667ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5300963557353317b41d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300963557353317b41d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300963557353317b41e0000'), "firstname"=>"Ilene", "lastname"=>"Davis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3582ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4372ms
Completed 200 OK in 8ms (Views: 7.7ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300963557353317b41f0000'), "firstname"=>"Emilie", "lastname"=>"Bauch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4198ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 4.9ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300963557353317b4200000'), "firstname"=>"Amani", "lastname"=>"Conroy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5300963557353317b4200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300963557353317b4200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2542ms
Completed 200 OK in 5ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300963557353317b4210000'), "firstname"=>"Colleen", "lastname"=>"Jakubowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4051ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5300963557353317b4210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300963557353317b4210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3558ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300963557353317b4210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3016ms
Redirected to http://test.host/clients/5300963557353317b4210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300963557353317b4220000'), "name"=>"Alison Yundt", "reference"=>"Madisyn Wilkinson", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4232ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1790ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300963557353317b4230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3356ms
Redirected to http://test.host/products/5300963557353317b4230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1740ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300963557353317b4240000'), "name"=>"Sandra Cruickshank", "reference"=>"Stephan Ratke", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3113ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1835ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5300963557353317b4240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300963557353317b4240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300963557353317b4240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2518ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1784ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300963557353317b4250000'), "name"=>"Luna Lockman V", "reference"=>"Brando Schinner Sr.", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2472ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5300963557353317b4250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300963557353317b4250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2810ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.4ms)
Completed 200 OK in 10ms (Views: 9.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300963557353317b4260000'), "name"=>"Garry Gorczany", "reference"=>"Mr. Della Bahringer", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4674ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3928ms
Completed 200 OK in 10ms (Views: 9.6ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300963557353317b4270000'), "name"=>"Jessie Prosacco", "reference"=>"Gino Abshire", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3621ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.1ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300963557353317b4290000'), "name"=>"Jamel Franecki", "reference"=>"Mr. Sandrine Bartoletti", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4891ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5300963557353317b4290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300963557353317b4290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3094ms
Completed 200 OK in 5ms (Views: 3.7ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300963557353317b42a0000'), "name"=>"Anabel Johns III", "reference"=>"Kristoffer Wuckert", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4023ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5300963557353317b42a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300963557353317b42a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2564ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300963557353317b42a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2776ms
Redirected to http://test.host/products/5300963557353317b42a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300963557353317b42b0000'), "firstname"=>"Retta", "lastname"=>"Keebler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4257ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1772ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300963557353317b42c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3161ms
Redirected to http://test.host/users/5300963557353317b42c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1804ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300963557353317b42d0000'), "firstname"=>"Luisa", "lastname"=>"Kuvalis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3017ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1719ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5300963557353317b42d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300963557353317b42d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3005ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300963557353317b42d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3553ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3060ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300963557353317b42e0000'), "firstname"=>"Fay", "lastname"=>"Morissette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2752ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5300963557353317b42e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300963557353317b42e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2350ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (32.8ms)
Completed 200 OK in 39ms (Views: 37.7ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300963557353317b42f0000'), "firstname"=>"Zakary", "lastname"=>"Sipes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0149ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4166ms
Completed 200 OK in 10ms (Views: 10.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300963557353317b4300000'), "firstname"=>"Jaunita", "lastname"=>"Walker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4045ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300963557353317b4310000'), "firstname"=>"Jonathon", "lastname"=>"McDermott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4009ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5300963557353317b4310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300963557353317b4310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2359ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300963557353317b4320000'), "firstname"=>"Assunta", "lastname"=>"Jacobi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3876ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5300963557353317b4320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300963557353317b4320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2442ms
Unpermitted parameters: name
Redirected to http://test.host/users/5300963557353317b4320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6004ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3197ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3364ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3448ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3452ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530096ed57353317f3000000'), "name"=>"Ima Walsh", "reference"=>"Retha Hahn", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4601ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1854ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530096ed57353317f3010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3837ms
Redirected to http://test.host/admin/products/530096ed57353317f3010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2275ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530096ed57353317f3020000'), "name"=>"Blake Watsica", "reference"=>"Jessy Daugherty", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3520ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1897ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"530096ed57353317f3020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530096ed57353317f3020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530096ed57353317f3020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2979ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2156ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530096ed57353317f3030000'), "name"=>"Miss Edwina Metz", "reference"=>"Miss Mozell Dickinson", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3053ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"530096ed57353317f3030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530096ed57353317f3030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2987ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.8ms)
Completed 200 OK in 55ms (Views: 53.4ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530096ed57353317f3040000'), "name"=>"Jose Little", "reference"=>"Chris Feest", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4495ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3374ms
Completed 200 OK in 7ms (Views: 6.6ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530096ed57353317f3050000'), "name"=>"Gussie Toy", "reference"=>"Gunner Turner Jr.", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3610ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 20ms (Views: 6.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530096ed57353317f3080000'), "name"=>"Bobby Howell", "reference"=>"Mylene Kautzer", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4240ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"530096ed57353317f3080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530096ed57353317f3080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2653ms
Completed 200 OK in 5ms (Views: 3.8ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530096ed57353317f3090000'), "name"=>"Wendell Nolan PhD", "reference"=>"Edison Carter", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4044ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530096ed57353317f3090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530096ed57353317f3090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530096ed57353317f3090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3173ms
Redirected to http://test.host/admin/products/530096ed57353317f3090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530096ed57353317f30a0000'), "firstname"=>"Dianna", "lastname"=>"Mosciski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4238ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1803ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530096ed57353317f30b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3709ms
Redirected to http://test.host/admin/users/530096ed57353317f30b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3004ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530096ed57353317f30c0000'), "firstname"=>"Logan", "lastname"=>"Gerlach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4072ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2042ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"530096ed57353317f30c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530096ed57353317f30c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2648ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530096ed57353317f30c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2563ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2047ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530096ed57353317f30d0000'), "firstname"=>"Henderson", "lastname"=>"Langworth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2366ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"530096ed57353317f30d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530096ed57353317f30d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2919ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530096ed57353317f30e0000'), "firstname"=>"Demarcus", "lastname"=>"Ledner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4339ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3146ms
Completed 200 OK in 6ms (Views: 6.0ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530096ed57353317f30f0000'), "firstname"=>"Antonia", "lastname"=>"King"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4108ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 5.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530096ed57353317f3100000'), "firstname"=>"Stephanie", "lastname"=>"Kuhlman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4274ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"530096ed57353317f3100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530096ed57353317f3100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530096ed57353317f3110000'), "firstname"=>"Kurt", "lastname"=>"Lemke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3939ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530096ed57353317f3110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530096ed57353317f3110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2390ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/530096ed57353317f3110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530096ee57353317f3120000'), "firstname"=>"Jessika", "lastname"=>"Collier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4540ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1842ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530096ee57353317f3130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3469ms
Redirected to http://test.host/admin/clients/530096ee57353317f3130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1978ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530096ee57353317f3140000'), "firstname"=>"Johan", "lastname"=>"Kuphal"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3612ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2046ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530096ee57353317f3140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530096ee57353317f3140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2945ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530096ee57353317f3140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3446ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1944ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530096ee57353317f3150000'), "firstname"=>"Magdalena", "lastname"=>"Adams"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2548ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530096ee57353317f3150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530096ee57353317f3150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530096ee57353317f3160000'), "firstname"=>"Herman", "lastname"=>"Altenwerth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3944ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3196ms
Completed 200 OK in 7ms (Views: 5.6ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530096ee57353317f3170000'), "firstname"=>"Tyshawn", "lastname"=>"Green"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530096ee57353317f3180000'), "firstname"=>"Gerson", "lastname"=>"Crist"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3941ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530096ee57353317f3180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530096ee57353317f3180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530096ee57353317f3190000'), "firstname"=>"Deja", "lastname"=>"Kuhn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3891ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530096ee57353317f3190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530096ee57353317f3190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3619ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530096ee57353317f3190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3142ms
Redirected to http://test.host/admin/clients/530096ee57353317f3190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530096ee57353317f31a0000'), "firstname"=>"Toney", "lastname"=>"Toy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2571ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1581ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530096ee57353317f31b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2833ms
Redirected to http://test.host/clients/530096ee57353317f31b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1615ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530096ee57353317f31c0000'), "firstname"=>"Meaghan", "lastname"=>"Hoeger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2065ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1491ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530096ee57353317f31c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530096ee57353317f31c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2467ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530096ee57353317f31c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5877ms
Redirected to http://test.host/clients
Completed 302 Found in 5ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2024ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530096ee57353317f31d0000'), "firstname"=>"Caesar", "lastname"=>"Feil"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2729ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530096ee57353317f31d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530096ee57353317f31d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530096ee57353317f31e0000'), "firstname"=>"Romaine", "lastname"=>"Haley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4186ms
Completed 200 OK in 8ms (Views: 7.9ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530096ee57353317f31f0000'), "firstname"=>"Cloyd", "lastname"=>"Boyer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4249ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530096ee57353317f3200000'), "firstname"=>"Santino", "lastname"=>"Grady"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4184ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530096ee57353317f3200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530096ee57353317f3200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2539ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530096ee57353317f3210000'), "firstname"=>"Kaelyn", "lastname"=>"Mraz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530096ee57353317f3210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530096ee57353317f3210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3998ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530096ee57353317f3210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3481ms
Redirected to http://test.host/clients/530096ee57353317f3210000
Completed 302 Found in 4ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530096ee57353317f3220000'), "name"=>"Una Schuppe", "reference"=>"Andreane Roob II", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4452ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1840ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530096ee57353317f3230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3446ms
Redirected to http://test.host/products/530096ee57353317f3230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1879ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530096ee57353317f3240000'), "name"=>"Mr. Ceasar Ziemann", "reference"=>"Rahsaan Ryan DDS", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3507ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2258ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"530096ee57353317f3240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530096ee57353317f3240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3128ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530096ee57353317f3240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3043ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1732ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530096ee57353317f3250000'), "name"=>"Sage Becker", "reference"=>"Hadley Altenwerth", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2385ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"530096ee57353317f3250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530096ee57353317f3250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.4ms)
Completed 200 OK in 10ms (Views: 9.2ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530096ee57353317f3260000'), "name"=>"Dane Hoppe II", "reference"=>"Anabelle Koch", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4604ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms
Completed 200 OK in 10ms (Views: 9.3ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530096ee57353317f3270000'), "name"=>"Brennon Bartell", "reference"=>"Dangelo Fahey DVM", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3588ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530096ee57353317f3290000'), "name"=>"Mr. Dashawn D'Amore", "reference"=>"Ophelia Krajcik II", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4981ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"530096ee57353317f3290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530096ee57353317f3290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2675ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530096ee57353317f32a0000'), "name"=>"Dr. Lori Corkery", "reference"=>"Lizeth Walker", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530096ee57353317f32a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530096ee57353317f32a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530096ee57353317f32a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3007ms
Redirected to http://test.host/products/530096ee57353317f32a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530096ee57353317f32b0000'), "firstname"=>"Avis", "lastname"=>"Buckridge"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4108ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1788ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530096ee57353317f32c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3326ms
Redirected to http://test.host/users/530096ee57353317f32c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1883ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530096ee57353317f32d0000'), "firstname"=>"Reyes", "lastname"=>"Rempel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3030ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1750ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"530096ee57353317f32d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530096ee57353317f32d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3066ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530096ee57353317f32d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2718ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3001ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530096ee57353317f32e0000'), "firstname"=>"Ismael", "lastname"=>"Gutmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3763ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"530096ee57353317f32e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530096ee57353317f32e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2434ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (32.9ms)
Completed 200 OK in 39ms (Views: 37.6ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530096ee57353317f32f0000'), "firstname"=>"Nolan", "lastname"=>"Jacobson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7067ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4044ms
Completed 200 OK in 10ms (Views: 9.8ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530096ee57353317f3300000'), "firstname"=>"Ernest", "lastname"=>"Stroman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4225ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530096ee57353317f3310000'), "firstname"=>"Erna", "lastname"=>"Gleason"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4145ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"530096ee57353317f3310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530096ee57353317f3310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2571ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530096ee57353317f3320000'), "firstname"=>"Sister", "lastname"=>"Johns"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530096ee57353317f3320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530096ee57353317f3320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2642ms
Unpermitted parameters: name
Redirected to http://test.host/users/530096ee57353317f3320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6541ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3161ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3633ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3525ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3237ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300973c573533185e000000'), "name"=>"Junius Abshire MD", "reference"=>"Elroy Rogahn", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4561ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1843ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300973c573533185e010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3900ms
Redirected to http://test.host/admin/products/5300973c573533185e010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1958ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300973c573533185e020000'), "name"=>"Amber Kilback", "reference"=>"Mr. Carley Smith", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3187ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1772ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5300973c573533185e020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300973c573533185e020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2383ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300973c573533185e020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3023ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1838ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300973c573533185e030000'), "name"=>"Felicita Botsford", "reference"=>"Sheila Wolff", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2930ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5300973c573533185e030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300973c573533185e030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3055ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.7ms)
Completed 200 OK in 54ms (Views: 52.7ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300973c573533185e040000'), "name"=>"Golda Sporer", "reference"=>"Zachery Morissette", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4221ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3414ms
Completed 200 OK in 7ms (Views: 6.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300973c573533185e050000'), "name"=>"Lia Padberg", "reference"=>"Nadia Fritsch", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 20ms (Views: 6.3ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300973c573533185e080000'), "name"=>"Angelica Pfeffer", "reference"=>"Mr. Shyanne Hauck", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1371ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5300973c573533185e080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300973c573533185e080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2630ms
Completed 200 OK in 5ms (Views: 3.8ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300973c573533185e090000'), "name"=>"Elisabeth Hermiston", "reference"=>"Curt Stoltenberg III", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4083ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5300973c573533185e090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300973c573533185e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2572ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300973c573533185e090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3213ms
Redirected to http://test.host/admin/products/5300973c573533185e090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300973c573533185e0a0000'), "firstname"=>"Tamara", "lastname"=>"Schmitt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4945ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3300ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300973c573533185e0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3828ms
Redirected to http://test.host/admin/users/5300973c573533185e0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1891ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300973c573533185e0c0000'), "firstname"=>"Jimmie", "lastname"=>"Altenwerth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3041ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1731ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5300973c573533185e0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300973c573533185e0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300973c573533185e0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3189ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1810ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300973c573533185e0d0000'), "firstname"=>"Christian", "lastname"=>"Herman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2405ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5300973c573533185e0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300973c573533185e0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2807ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300973c573533185e0e0000'), "firstname"=>"Francisco", "lastname"=>"McClure"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4458ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3648ms
Completed 200 OK in 7ms (Views: 6.5ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300973c573533185e0f0000'), "firstname"=>"Maribel", "lastname"=>"Monahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3823ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300973c573533185e100000'), "firstname"=>"Gino", "lastname"=>"Schmitt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3924ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5300973c573533185e100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300973c573533185e100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300973c573533185e110000'), "firstname"=>"Greyson", "lastname"=>"Goyette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5300973c573533185e110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300973c573533185e110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2663ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5300973c573533185e110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300973c573533185e120000'), "firstname"=>"Myron", "lastname"=>"Heathcote"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4952ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2194ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300973c573533185e130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4040ms
Redirected to http://test.host/admin/clients/5300973c573533185e130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2348ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300973c573533185e140000'), "firstname"=>"Sterling", "lastname"=>"Hermann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3508ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2248ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5300973c573533185e140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300973c573533185e140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300973c573533185e140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3399ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1872ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300973c573533185e150000'), "firstname"=>"Makenna", "lastname"=>"Miller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2561ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5300973c573533185e150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300973c573533185e150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2804ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300973c573533185e160000'), "firstname"=>"Marquise", "lastname"=>"Pacocha"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4566ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3501ms
Completed 200 OK in 7ms (Views: 6.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300973c573533185e170000'), "firstname"=>"Stella", "lastname"=>"Medhurst"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4684ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300973c573533185e180000'), "firstname"=>"Belle", "lastname"=>"Larkin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4145ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5300973c573533185e180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300973c573533185e180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300973c573533185e190000'), "firstname"=>"Arlo", "lastname"=>"Borer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4588ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5300973c573533185e190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300973c573533185e190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3564ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300973c573533185e190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3340ms
Redirected to http://test.host/admin/clients/5300973c573533185e190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300973c573533185e1a0000'), "firstname"=>"Mireille", "lastname"=>"Osinski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2691ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1776ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300973c573533185e1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2949ms
Redirected to http://test.host/clients/5300973c573533185e1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2213ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300973c573533185e1c0000'), "firstname"=>"Fleta", "lastname"=>"Bins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2205ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5300973c573533185e1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300973c573533185e1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2735ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300973c573533185e1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2548ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1761ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300973c573533185e1d0000'), "firstname"=>"Mohamed", "lastname"=>"Stroman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2366ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5300973c573533185e1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300973c573533185e1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2413ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300973c573533185e1e0000'), "firstname"=>"Imelda", "lastname"=>"Schiller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6250ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4131ms
Completed 200 OK in 8ms (Views: 7.6ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300973c573533185e1f0000'), "firstname"=>"Mara", "lastname"=>"Monahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5218ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 5.0ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300973c573533185e200000'), "firstname"=>"Luther", "lastname"=>"Lebsack"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4308ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5300973c573533185e200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300973c573533185e200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2673ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300973c573533185e210000'), "firstname"=>"Domenic", "lastname"=>"Macejkovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3592ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5300973c573533185e210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300973c573533185e210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2637ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300973c573533185e210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2847ms
Redirected to http://test.host/clients/5300973c573533185e210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300973c573533185e220000'), "name"=>"Aurelio Larkin", "reference"=>"Anderson Runte", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4658ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2039ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300973c573533185e230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3395ms
Redirected to http://test.host/products/5300973c573533185e230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1893ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300973c573533185e240000'), "name"=>"Lamont Schroeder", "reference"=>"Maggie Hamill", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3123ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1786ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5300973c573533185e240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300973c573533185e240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300973c573533185e240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2612ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1786ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300973c573533185e250000'), "name"=>"Kelvin Balistreri", "reference"=>"Vicente Upton", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5300973c573533185e250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300973c573533185e250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2554ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 9ms (Views: 8.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300973c573533185e260000'), "name"=>"Mr. Vena Klein", "reference"=>"Myrtis Gerhold", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5242ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4652ms
Completed 200 OK in 11ms (Views: 10.0ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300973c573533185e270000'), "name"=>"Mr. Litzy Bergnaum", "reference"=>"Andres Bartoletti IV", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4425ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300973c573533185e290000'), "name"=>"Audra Wolf", "reference"=>"Ms. Kaycee Green", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4119ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5300973c573533185e290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300973c573533185e290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300973c573533185e2a0000'), "name"=>"Rosalind Rowe", "reference"=>"Willow McCullough", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4805ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5300973c573533185e2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300973c573533185e2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2798ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300973c573533185e2a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2683ms
Redirected to http://test.host/products/5300973c573533185e2a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300973c573533185e2b0000'), "firstname"=>"Winifred", "lastname"=>"Maggio"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4234ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1668ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300973c573533185e2c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3116ms
Redirected to http://test.host/users/5300973c573533185e2c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1923ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300973c573533185e2d0000'), "firstname"=>"Caroline", "lastname"=>"Koelpin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3278ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1592ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5300973c573533185e2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300973c573533185e2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2553ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300973c573533185e2d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2422ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1600ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300973c573533185e2e0000'), "firstname"=>"Odie", "lastname"=>"Bernhard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2277ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5300973c573533185e2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300973c573533185e2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2277ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (35.0ms)
Completed 200 OK in 41ms (Views: 39.8ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300973c573533185e2f0000'), "firstname"=>"Velva", "lastname"=>"Reynolds"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3619ms
Completed 200 OK in 10ms (Views: 9.6ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300973c573533185e300000'), "firstname"=>"Braden", "lastname"=>"Mills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6416ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300973c573533185e310000'), "firstname"=>"Kacey", "lastname"=>"O'Conner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4096ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5300973c573533185e310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300973c573533185e310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2965ms
Completed 200 OK in 5ms (Views: 4.1ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300973c573533185e320000'), "firstname"=>"Merritt", "lastname"=>"Gutmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4224ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5300973c573533185e320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300973c573533185e320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2732ms
Unpermitted parameters: name
Redirected to http://test.host/users/5300973c573533185e320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6142ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2884ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3020ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3509ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300974e573533188b000000'), "name"=>"Ruthie Stoltenberg", "reference"=>"Esperanza Larkin", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4598ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1789ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300974e573533188b010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3828ms
Redirected to http://test.host/admin/products/5300974e573533188b010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1834ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300974e573533188b020000'), "name"=>"Brown Streich", "reference"=>"Dr. Jaylin Wunsch", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3034ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1743ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5300974e573533188b020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300974e573533188b020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300974e573533188b020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3059ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2217ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300974e573533188b030000'), "name"=>"Joaquin Johnston", "reference"=>"Ferne Bernier", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3065ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5300974e573533188b030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300974e573533188b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2921ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.7ms)
Completed 200 OK in 54ms (Views: 52.7ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300974e573533188b040000'), "name"=>"Fatima Boehm III", "reference"=>"Dessie Doyle", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4277ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3444ms
Completed 200 OK in 7ms (Views: 6.6ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300974e573533188b050000'), "name"=>"Mrs. Ambrose Cole", "reference"=>"Elissa Gleason", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3564ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 20ms (Views: 6.3ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300974e573533188b080000'), "name"=>"Vita Wuckert", "reference"=>"Stephanie Sipes", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4285ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5300974e573533188b080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300974e573533188b080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2801ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300974e573533188b090000'), "name"=>"Royce Bernhard", "reference"=>"Elias Wisoky", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4115ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5300974e573533188b090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300974e573533188b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2733ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300974e573533188b090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms
Redirected to http://test.host/admin/products/5300974e573533188b090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300974e573533188b0a0000'), "firstname"=>"Roman", "lastname"=>"Bartell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4164ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1771ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300974e573533188b0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3569ms
Redirected to http://test.host/admin/users/5300974e573533188b0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3385ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300974e573533188b0c0000'), "firstname"=>"Aleen", "lastname"=>"Denesik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4551ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2223ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5300974e573533188b0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300974e573533188b0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2923ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300974e573533188b0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3506ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2258ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300974e573533188b0d0000'), "firstname"=>"Carmella", "lastname"=>"Schmeler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2875ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5300974e573533188b0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300974e573533188b0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2479ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.3ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300974e573533188b0e0000'), "firstname"=>"Alexandria", "lastname"=>"Doyle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4481ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3205ms
Completed 200 OK in 7ms (Views: 6.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300974e573533188b0f0000'), "firstname"=>"Marquis", "lastname"=>"Bins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4255ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 5.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300974e573533188b100000'), "firstname"=>"Nicola", "lastname"=>"Tromp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4279ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5300974e573533188b100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300974e573533188b100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2210ms
Completed 200 OK in 5ms (Views: 3.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300974e573533188b110000'), "firstname"=>"Cayla", "lastname"=>"Gleichner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5300974e573533188b110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300974e573533188b110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2560ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5300974e573533188b110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300974e573533188b120000'), "firstname"=>"Jacques", "lastname"=>"Toy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4991ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1852ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300974e573533188b130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms
Redirected to http://test.host/admin/clients/5300974e573533188b130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2364ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300974e573533188b140000'), "firstname"=>"Austin", "lastname"=>"Mante"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2272ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5300974e573533188b140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300974e573533188b140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2875ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300974e573533188b140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3208ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1862ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300974e573533188b150000'), "firstname"=>"Kayli", "lastname"=>"Price"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2496ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5300974e573533188b150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300974e573533188b150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2706ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300974e573533188b160000'), "firstname"=>"Zelma", "lastname"=>"Abernathy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4120ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3743ms
Completed 200 OK in 7ms (Views: 5.8ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300974e573533188b170000'), "firstname"=>"Forrest", "lastname"=>"Powlowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4122ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300974e573533188b180000'), "firstname"=>"Earline", "lastname"=>"Connelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4058ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5300974e573533188b180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300974e573533188b180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2432ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300974e573533188b190000'), "firstname"=>"Hortense", "lastname"=>"Strosin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8812ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5300974e573533188b190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300974e573533188b190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300974e573533188b190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3681ms
Redirected to http://test.host/admin/clients/5300974e573533188b190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300974e573533188b1a0000'), "firstname"=>"Willow", "lastname"=>"D'Amore"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3136ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2222ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300974e573533188b1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3379ms
Redirected to http://test.host/clients/5300974e573533188b1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1818ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300974e573533188b1c0000'), "firstname"=>"Rebeca", "lastname"=>"Schoen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2249ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1549ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5300974e573533188b1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300974e573533188b1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300974e573533188b1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2348ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1566ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300974e573533188b1d0000'), "firstname"=>"Evie", "lastname"=>"Wolff"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2193ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5300974e573533188b1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300974e573533188b1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2156ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300974e573533188b1e0000'), "firstname"=>"Ramiro", "lastname"=>"Deckow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4022ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4014ms
Completed 200 OK in 8ms (Views: 7.4ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300974e573533188b1f0000'), "firstname"=>"Axel", "lastname"=>"Daniel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300974e573533188b200000'), "firstname"=>"Maud", "lastname"=>"Williamson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4069ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5300974e573533188b200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300974e573533188b200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2394ms
Completed 200 OK in 5ms (Views: 3.4ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300974e573533188b210000'), "firstname"=>"Murphy", "lastname"=>"Lindgren"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4109ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5300974e573533188b210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300974e573533188b210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300974e573533188b210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2665ms
Redirected to http://test.host/clients/5300974e573533188b210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300974e573533188b220000'), "name"=>"Alexandro Toy", "reference"=>"Mario Kuvalis", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4099ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1614ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300974e573533188b230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0898ms
Redirected to http://test.host/products/5300974e573533188b230000
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2024ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300974e573533188b240000'), "name"=>"Tressie Grant Sr.", "reference"=>"Myrtie Bogan", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3249ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1838ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5300974e573533188b240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300974e573533188b240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2647ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300974e573533188b240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3252ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1866ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300974e573533188b250000'), "name"=>"Alize Deckow", "reference"=>"Eric Smith", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4069ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5300974e573533188b250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300974e573533188b250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3251ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 10ms (Views: 8.3ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300974e573533188b260000'), "name"=>"Destinee Friesen", "reference"=>"Ms. Issac Schinner", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms
Completed 200 OK in 10ms (Views: 9.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300974e573533188b270000'), "name"=>"Chadd Bernhard DDS", "reference"=>"Mrs. Colt Smith", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4400ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 8ms (Views: 6.6ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300974e573533188b290000'), "name"=>"Curtis Herzog", "reference"=>"Nicola Satterfield", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4668ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5300974e573533188b290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300974e573533188b290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2778ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300974e573533188b2a0000'), "name"=>"Dr. Adrian Williamson", "reference"=>"Mr. Brittany Koelpin", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3921ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5300974e573533188b2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300974e573533188b2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300974e573533188b2a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2821ms
Redirected to http://test.host/products/5300974e573533188b2a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300974e573533188b2b0000'), "firstname"=>"Xander", "lastname"=>"Altenwerth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3983ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1756ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300974e573533188b2c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3718ms
Redirected to http://test.host/users/5300974e573533188b2c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3097ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300974e573533188b2d0000'), "firstname"=>"Andre", "lastname"=>"Friesen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4096ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1624ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5300974e573533188b2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300974e573533188b2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300974e573533188b2d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2571ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1663ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300974e573533188b2e0000'), "firstname"=>"Krystel", "lastname"=>"Hayes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2215ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5300974e573533188b2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300974e573533188b2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2291ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.1ms)
Completed 200 OK in 39ms (Views: 37.7ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300974e573533188b2f0000'), "firstname"=>"Clara", "lastname"=>"Kiehn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4003ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3529ms
Completed 200 OK in 10ms (Views: 9.7ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300974e573533188b300000'), "firstname"=>"Rachael", "lastname"=>"Hickle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4787ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300974e573533188b310000'), "firstname"=>"Enid", "lastname"=>"Collier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4271ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5300974e573533188b310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300974e573533188b310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3019ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300974e573533188b320000'), "firstname"=>"Beth", "lastname"=>"Jacobi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3971ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5300974e573533188b320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300974e573533188b320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms
Unpermitted parameters: name
Redirected to http://test.host/users/5300974e573533188b320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6091ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2843ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2827ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2387ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2838ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7000000'), "name"=>"Catherine Shields Jr.", "reference"=>"Hans Yundt III", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4550ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1845ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms
Redirected to http://test.host/admin/products/530097ba57353318d7010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1901ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7020000'), "name"=>"Asa Hickle", "reference"=>"Gino Ziemann V", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3116ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1773ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"530097ba57353318d7020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530097ba57353318d7020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530097ba57353318d7020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3474ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2311ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7030000'), "name"=>"Danny Johns", "reference"=>"Flavio Stoltenberg", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2817ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"530097ba57353318d7030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530097ba57353318d7030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 200 OK in 53ms (Views: 52.2ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7040000'), "name"=>"Kelley Dooley", "reference"=>"Virgil Beier", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4403ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3637ms
Completed 200 OK in 7ms (Views: 6.6ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7050000'), "name"=>"Eudora Schoen", "reference"=>"Miss Karlee Gottlieb", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3587ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 20ms (Views: 6.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7080000'), "name"=>"Keven Bechtelar IV", "reference"=>"Rogers Lebsack", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4287ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"530097ba57353318d7080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530097ba57353318d7080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2568ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7090000'), "name"=>"Alexzander Emard", "reference"=>"Malachi Hessel", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530097ba57353318d7090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530097ba57353318d7090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2577ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530097ba57353318d7090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3211ms
Redirected to http://test.host/admin/products/530097ba57353318d7090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530097ba57353318d70a0000'), "firstname"=>"Jayme", "lastname"=>"Reichert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4217ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1806ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530097ba57353318d70b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3503ms
Redirected to http://test.host/admin/users/530097ba57353318d70b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2943ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530097ba57353318d70c0000'), "firstname"=>"Reuben", "lastname"=>"Kulas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4420ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1625ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"530097ba57353318d70c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530097ba57353318d70c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530097ba57353318d70c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2833ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2126ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530097ba57353318d70d0000'), "firstname"=>"Gillian", "lastname"=>"Wintheiser"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2633ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"530097ba57353318d70d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530097ba57353318d70d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2567ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 9ms (Views: 7.6ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530097ba57353318d70e0000'), "firstname"=>"Narciso", "lastname"=>"Welch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4638ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3261ms
Completed 200 OK in 7ms (Views: 6.3ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530097ba57353318d70f0000'), "firstname"=>"Loyce", "lastname"=>"Schneider"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4352ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 5.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7100000'), "firstname"=>"Gia", "lastname"=>"Nikolaus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4210ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"530097ba57353318d7100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530097ba57353318d7100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2569ms
Completed 200 OK in 5ms (Views: 3.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7110000'), "firstname"=>"Millie", "lastname"=>"Ferry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530097ba57353318d7110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530097ba57353318d7110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2504ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/530097ba57353318d7110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7120000'), "firstname"=>"Maureen", "lastname"=>"Lang"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4558ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1869ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3536ms
Redirected to http://test.host/admin/clients/530097ba57353318d7130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2313ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7140000'), "firstname"=>"Kyle", "lastname"=>"Herman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3528ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2266ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530097ba57353318d7140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530097ba57353318d7140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2802ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530097ba57353318d7140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3416ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2284ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7150000'), "firstname"=>"Ervin", "lastname"=>"Mohr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2976ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530097ba57353318d7150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530097ba57353318d7150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2295ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7160000'), "firstname"=>"Brady", "lastname"=>"Runolfsdottir"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3297ms
Completed 200 OK in 7ms (Views: 5.8ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7170000'), "firstname"=>"Nellie", "lastname"=>"Shanahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4260ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7180000'), "firstname"=>"Madaline", "lastname"=>"Jakubowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4048ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530097ba57353318d7180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530097ba57353318d7180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2683ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7190000'), "firstname"=>"Obie", "lastname"=>"Nienow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3821ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530097ba57353318d7190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530097ba57353318d7190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4332ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530097ba57353318d7190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4536ms
Redirected to http://test.host/admin/clients/530097ba57353318d7190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530097ba57353318d71a0000'), "firstname"=>"Dominique", "lastname"=>"Erdman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1034ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2051ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530097ba57353318d71b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3289ms
Redirected to http://test.host/clients/530097ba57353318d71b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1622ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530097ba57353318d71c0000'), "firstname"=>"Stephanie", "lastname"=>"Kutch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2047ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1338ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530097ba57353318d71c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530097ba57353318d71c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1954ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530097ba57353318d71c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2455ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1463ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530097ba57353318d71d0000'), "firstname"=>"Mohammed", "lastname"=>"Daniel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530097ba57353318d71d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530097ba57353318d71d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530097ba57353318d71e0000'), "firstname"=>"Rebeka", "lastname"=>"Ankunding"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3473ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4422ms
Completed 200 OK in 9ms (Views: 7.9ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530097ba57353318d71f0000'), "firstname"=>"Genesis", "lastname"=>"Swift"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7200000'), "firstname"=>"Rosella", "lastname"=>"Casper"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530097ba57353318d7200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530097ba57353318d7200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7210000'), "firstname"=>"Paris", "lastname"=>"Rath"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4342ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530097ba57353318d7210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530097ba57353318d7210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3276ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530097ba57353318d7210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2597ms
Redirected to http://test.host/clients/530097ba57353318d7210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7220000'), "name"=>"Bennie Sipes", "reference"=>"Mr. Taryn Mueller", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4048ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1611ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms
Redirected to http://test.host/products/530097ba57353318d7230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1694ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7240000'), "name"=>"Michel Von V", "reference"=>"Keeley Tromp", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2905ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1569ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"530097ba57353318d7240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530097ba57353318d7240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2902ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530097ba57353318d7240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9409ms
Redirected to http://test.host/products
Completed 302 Found in 5ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1936ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7250000'), "name"=>"Claudia Emard", "reference"=>"Alexanne Kuvalis", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2733ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"530097ba57353318d7250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530097ba57353318d7250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3875ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.9ms)
Completed 200 OK in 10ms (Views: 8.7ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7260000'), "name"=>"Mrs. Reed Cartwright", "reference"=>"Mr. Destini Sanford", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4451ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3849ms
Completed 200 OK in 10ms (Views: 9.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7270000'), "name"=>"Alexandrine Kovacek", "reference"=>"Twila Emmerich", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3650ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 8ms (Views: 6.5ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7290000'), "name"=>"Alex Hauck I", "reference"=>"Ambrose Farrell", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4220ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"530097ba57353318d7290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530097ba57353318d7290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2536ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530097ba57353318d72a0000'), "name"=>"Pete Abshire Jr.", "reference"=>"Kylee Orn", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3979ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530097ba57353318d72a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530097ba57353318d72a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2645ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530097ba57353318d72a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2956ms
Redirected to http://test.host/products/530097ba57353318d72a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530097ba57353318d72b0000'), "firstname"=>"Alessia", "lastname"=>"Spencer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1816ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530097ba57353318d72c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3249ms
Redirected to http://test.host/users/530097ba57353318d72c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1739ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530097ba57353318d72d0000'), "firstname"=>"Colby", "lastname"=>"Jacobson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3356ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2215ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"530097ba57353318d72d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530097ba57353318d72d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3361ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530097ba57353318d72d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2735ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2376ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530097ba57353318d72e0000'), "firstname"=>"Kristopher", "lastname"=>"Padberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2659ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"530097ba57353318d72e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530097ba57353318d72e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (34.3ms)
Completed 200 OK in 40ms (Views: 39.1ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530097ba57353318d72f0000'), "firstname"=>"Skye", "lastname"=>"Ritchie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4188ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3697ms
Completed 200 OK in 10ms (Views: 9.5ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7300000'), "firstname"=>"Helga", "lastname"=>"Daniel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7310000'), "firstname"=>"Boris", "lastname"=>"Torp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4080ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"530097ba57353318d7310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530097ba57353318d7310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530097ba57353318d7320000'), "firstname"=>"Wilbert", "lastname"=>"Sipes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3972ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530097ba57353318d7320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530097ba57353318d7320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms
Unpermitted parameters: name
Redirected to http://test.host/users/530097ba57353318d7320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6057ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3801ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3203ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2968ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa000000'), "name"=>"Ila Jacobi", "reference"=>"Mr. Velva Hermann", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4372ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1618ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3803ms
Redirected to http://test.host/admin/products/53009d6d5735331daa010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2154ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa020000'), "name"=>"Miles Stamm", "reference"=>"Antwon Jakubowski", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3037ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1812ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53009d6d5735331daa020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53009d6d5735331daa020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3029ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53009d6d5735331daa020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2697ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1467ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa030000'), "name"=>"Ramona Heaney I", "reference"=>"Cade Zemlak", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2848ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53009d6d5735331daa030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53009d6d5735331daa030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2976ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.7ms)
Completed 200 OK in 54ms (Views: 53.1ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa040000'), "name"=>"Earnestine Walker", "reference"=>"Jerod Hettinger", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4700ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms
Completed 200 OK in 7ms (Views: 6.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa050000'), "name"=>"Mrs. Mylene Miller", "reference"=>"Dr. Jennings Kulas", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3804ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 22ms (Views: 6.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa080000'), "name"=>"Isaiah Roob", "reference"=>"Linda Wolf", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4511ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53009d6d5735331daa080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53009d6d5735331daa080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3733ms
Completed 200 OK in 6ms (Views: 4.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa090000'), "name"=>"Kiel Gibson", "reference"=>"Jordyn Davis", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4705ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53009d6d5735331daa090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53009d6d5735331daa090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2987ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53009d6d5735331daa090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4369ms
Redirected to http://test.host/admin/products/53009d6d5735331daa090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa0a0000'), "firstname"=>"Emely", "lastname"=>"Dietrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4670ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2909ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4592ms
Redirected to http://test.host/admin/users/53009d6d5735331daa0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2340ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa0c0000'), "firstname"=>"Judge", "lastname"=>"Champlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3499ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2254ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53009d6d5735331daa0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53009d6d5735331daa0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53009d6d5735331daa0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3472ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2129ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa0d0000'), "firstname"=>"Fern", "lastname"=>"Littel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2729ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53009d6d5735331daa0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53009d6d5735331daa0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2450ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa0e0000'), "firstname"=>"Jerad", "lastname"=>"Goodwin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4239ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3394ms
Completed 200 OK in 7ms (Views: 6.5ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa0f0000'), "firstname"=>"Eryn", "lastname"=>"Rutherford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3888ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa100000'), "firstname"=>"Eliseo", "lastname"=>"Crooks"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4422ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53009d6d5735331daa100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53009d6d5735331daa100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa110000'), "firstname"=>"Karson", "lastname"=>"Jacobs"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53009d6d5735331daa110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53009d6d5735331daa110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53009d6d5735331daa110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa120000'), "firstname"=>"Rogelio", "lastname"=>"Pfeffer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4546ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1845ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3631ms
Redirected to http://test.host/admin/clients/53009d6d5735331daa130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1919ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa140000'), "firstname"=>"Anabel", "lastname"=>"Howell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3234ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1780ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53009d6d5735331daa140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53009d6d5735331daa140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2445ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53009d6d5735331daa140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2931ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1863ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa150000'), "firstname"=>"Zelma", "lastname"=>"Gleichner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2480ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53009d6d5735331daa150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53009d6d5735331daa150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2470ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa160000'), "firstname"=>"Amber", "lastname"=>"Crona"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4116ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3291ms
Completed 200 OK in 7ms (Views: 5.6ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa170000'), "firstname"=>"Janis", "lastname"=>"McDermott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4197ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa180000'), "firstname"=>"Audie", "lastname"=>"Lockman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4043ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53009d6d5735331daa180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53009d6d5735331daa180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2418ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa190000'), "firstname"=>"Ellis", "lastname"=>"Lebsack"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3863ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53009d6d5735331daa190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53009d6d5735331daa190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3577ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53009d6d5735331daa190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4764ms
Redirected to http://test.host/admin/clients/53009d6d5735331daa190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa1a0000'), "firstname"=>"Trycia", "lastname"=>"Heidenreich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2629ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1591ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2802ms
Redirected to http://test.host/clients/53009d6d5735331daa1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1709ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa1c0000'), "firstname"=>"Minnie", "lastname"=>"Cassin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2211ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1649ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53009d6d5735331daa1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53009d6d5735331daa1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2310ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53009d6d5735331daa1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.4947ms
Redirected to http://test.host/clients
Completed 302 Found in 5ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1983ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa1d0000'), "firstname"=>"Nicola", "lastname"=>"Weimann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3184ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53009d6d5735331daa1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53009d6d5735331daa1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2586ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa1e0000'), "firstname"=>"Ilene", "lastname"=>"Barrows"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3079ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4697ms
Completed 200 OK in 9ms (Views: 8.5ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa1f0000'), "firstname"=>"Manley", "lastname"=>"Stokes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4625ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 4.9ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa200000'), "firstname"=>"Howard", "lastname"=>"Wyman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4131ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53009d6d5735331daa200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53009d6d5735331daa200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2967ms
Completed 200 OK in 5ms (Views: 3.3ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa210000'), "firstname"=>"Catharine", "lastname"=>"Jacobs"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3519ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53009d6d5735331daa210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53009d6d5735331daa210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2583ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53009d6d5735331daa210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2850ms
Redirected to http://test.host/clients/53009d6d5735331daa210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa220000'), "name"=>"Lauriane Feest", "reference"=>"Irwin Hudson", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4857ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1818ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3393ms
Redirected to http://test.host/products/53009d6d5735331daa230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1836ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa240000'), "name"=>"Daryl Braun", "reference"=>"Brycen Mosciski", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3264ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1787ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53009d6d5735331daa240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53009d6d5735331daa240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53009d6d5735331daa240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2607ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1800ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa250000'), "name"=>"Esteban Ondricka IV", "reference"=>"Sadye Ratke", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2500ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53009d6d5735331daa250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53009d6d5735331daa250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa260000'), "name"=>"Jeremy Robel", "reference"=>"Marcelle Greenholt III", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4228ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4253ms
Completed 200 OK in 11ms (Views: 10.3ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa270000'), "name"=>"Delores Jenkins", "reference"=>"Rowena Walker", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3721ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.0ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa290000'), "name"=>"Trevor Berge", "reference"=>"Demond Littel", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53009d6d5735331daa290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53009d6d5735331daa290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2441ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa2a0000'), "name"=>"Moises Bartoletti", "reference"=>"Dr. Torrance Heathcote", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4651ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53009d6d5735331daa2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53009d6d5735331daa2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3534ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53009d6d5735331daa2a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2953ms
Redirected to http://test.host/products/53009d6d5735331daa2a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa2b0000'), "firstname"=>"Dessie", "lastname"=>"Haag"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4237ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1915ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa2c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3137ms
Redirected to http://test.host/users/53009d6d5735331daa2c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1846ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa2d0000'), "firstname"=>"Frida", "lastname"=>"Champlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2992ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1869ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53009d6d5735331daa2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53009d6d5735331daa2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2580ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53009d6d5735331daa2d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2562ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1746ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa2e0000'), "firstname"=>"Sienna", "lastname"=>"Kuhn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2379ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53009d6d5735331daa2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53009d6d5735331daa2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2405ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (34.4ms)
Completed 200 OK in 40ms (Views: 39.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa2f0000'), "firstname"=>"Minnie", "lastname"=>"Marks"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4683ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3441ms
Completed 200 OK in 11ms (Views: 10.1ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa300000'), "firstname"=>"Giovanny", "lastname"=>"Mills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3696ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa310000'), "firstname"=>"Clare", "lastname"=>"Weber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4046ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53009d6d5735331daa310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53009d6d5735331daa310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3934ms
Completed 200 OK in 6ms (Views: 3.8ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009d6d5735331daa320000'), "firstname"=>"Madonna", "lastname"=>"Zulauf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3975ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53009d6d5735331daa320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53009d6d5735331daa320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2452ms
Unpermitted parameters: name
Redirected to http://test.host/users/53009d6d5735331daa320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6153ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2884ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3019ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2651ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3468ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9000000'), "name"=>"Josh Anderson", "reference"=>"Tremaine Schmeler", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4421ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1820ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3795ms
Redirected to http://test.host/admin/products/53009e125735331ed9010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1855ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9020000'), "name"=>"Noah Buckridge", "reference"=>"Wayne Skiles II", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3272ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1968ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53009e125735331ed9020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53009e125735331ed9020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53009e125735331ed9020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1828ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9030000'), "name"=>"Domenica Balistreri", "reference"=>"Coleman Ferry", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2602ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53009e125735331ed9030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53009e125735331ed9030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2383ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms)
Completed 200 OK in 53ms (Views: 52.2ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9040000'), "name"=>"Sierra Schmeler", "reference"=>"Andreanne Schmitt", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4252ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3364ms
Completed 200 OK in 7ms (Views: 6.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9050000'), "name"=>"Lucinda Senger", "reference"=>"Toney Ward", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3706ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 20ms (Views: 6.3ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9080000'), "name"=>"Miss Santina Cole", "reference"=>"Reyna Herman", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4330ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53009e125735331ed9080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53009e125735331ed9080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2541ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9090000'), "name"=>"Jordane Konopelski", "reference"=>"Tatum Wehner Jr.", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53009e125735331ed9090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53009e125735331ed9090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53009e125735331ed9090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3187ms
Redirected to http://test.host/admin/products/53009e125735331ed9090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009e125735331ed90a0000'), "firstname"=>"Kelsi", "lastname"=>"Wisozk"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4252ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1809ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009e125735331ed90b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4196ms
Redirected to http://test.host/admin/users/53009e125735331ed90b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3157ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009e125735331ed90c0000'), "firstname"=>"Blanca", "lastname"=>"Gerlach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3354ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1745ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53009e125735331ed90c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53009e125735331ed90c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53009e125735331ed90c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2987ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1788ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009e125735331ed90d0000'), "firstname"=>"Eliseo", "lastname"=>"Lang"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2437ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53009e125735331ed90d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53009e125735331ed90d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2617ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009e125735331ed90e0000'), "firstname"=>"Marietta", "lastname"=>"Bins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4112ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3164ms
Completed 200 OK in 7ms (Views: 6.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009e125735331ed90f0000'), "firstname"=>"Keira", "lastname"=>"Collier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3838ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.9ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9100000'), "firstname"=>"Quinn", "lastname"=>"Kohler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4137ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53009e125735331ed9100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53009e125735331ed9100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2590ms
Completed 200 OK in 5ms (Views: 3.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9110000'), "firstname"=>"Else", "lastname"=>"Reinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3904ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53009e125735331ed9110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53009e125735331ed9110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2428ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53009e125735331ed9110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9120000'), "firstname"=>"Ardella", "lastname"=>"Osinski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4633ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1851ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3428ms
Redirected to http://test.host/admin/clients/53009e125735331ed9130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1771ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9140000'), "firstname"=>"Olin", "lastname"=>"Jenkins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1669ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53009e125735331ed9140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53009e125735331ed9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2357ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53009e125735331ed9140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2814ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1628ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9150000'), "firstname"=>"Hadley", "lastname"=>"Cremin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2745ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53009e125735331ed9150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53009e125735331ed9150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3075ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.4ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9160000'), "firstname"=>"Grover", "lastname"=>"Stehr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3735ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3282ms
Completed 200 OK in 7ms (Views: 6.0ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9170000'), "firstname"=>"Orin", "lastname"=>"Hoppe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4547ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9180000'), "firstname"=>"Zaria", "lastname"=>"Bogisich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4002ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53009e125735331ed9180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53009e125735331ed9180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2953ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9190000'), "firstname"=>"Elvie", "lastname"=>"Walter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4261ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53009e125735331ed9190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53009e125735331ed9190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3808ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53009e125735331ed9190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms
Redirected to http://test.host/admin/clients/53009e125735331ed9190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009e125735331ed91a0000'), "firstname"=>"Cathy", "lastname"=>"Runolfsson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6427ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2194ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009e125735331ed91b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3601ms
Redirected to http://test.host/clients/53009e125735331ed91b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2287ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009e125735331ed91c0000'), "firstname"=>"Oran", "lastname"=>"Feil"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2775ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2183ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53009e125735331ed91c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53009e125735331ed91c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2811ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53009e125735331ed91c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2582ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1763ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009e125735331ed91d0000'), "firstname"=>"Hilma", "lastname"=>"Frami"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2312ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53009e125735331ed91d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53009e125735331ed91d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 4.9ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009e125735331ed91e0000'), "firstname"=>"Caroline", "lastname"=>"Borer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4381ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4143ms
Completed 200 OK in 9ms (Views: 8.0ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009e125735331ed91f0000'), "firstname"=>"Junior", "lastname"=>"Hoppe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4212ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9200000'), "firstname"=>"Jaida", "lastname"=>"Hyatt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4091ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53009e125735331ed9200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53009e125735331ed9200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2713ms
Completed 200 OK in 5ms (Views: 3.5ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9210000'), "firstname"=>"Silas", "lastname"=>"Barrows"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3665ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53009e125735331ed9210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53009e125735331ed9210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2394ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53009e125735331ed9210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2868ms
Redirected to http://test.host/clients/53009e125735331ed9210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9220000'), "name"=>"Hank Ritchie", "reference"=>"Benton Schowalter", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4957ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2112ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3415ms
Redirected to http://test.host/products/53009e125735331ed9230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1896ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9240000'), "name"=>"Mr. Natalie Bailey", "reference"=>"Miss Cedrick Berge", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5080ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2293ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53009e125735331ed9240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53009e125735331ed9240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4511ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53009e125735331ed9240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3717ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2355ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9250000'), "name"=>"Lupe Ledner II", "reference"=>"Richie Sawayn", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3059ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53009e125735331ed9250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53009e125735331ed9250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3137ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9260000'), "name"=>"Dorian Sipes", "reference"=>"Sonya Heathcote", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3590ms
Completed 200 OK in 10ms (Views: 9.8ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9270000'), "name"=>"Luna Crona", "reference"=>"Bailey Streich Jr.", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4035ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.1ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9290000'), "name"=>"Madyson Ernser", "reference"=>"Mr. Otha Schultz", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53009e125735331ed9290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53009e125735331ed9290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2626ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53009e125735331ed92a0000'), "name"=>"Einar Pagac DVM", "reference"=>"Taya Bruen", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3926ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53009e125735331ed92a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53009e125735331ed92a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53009e125735331ed92a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2803ms
Redirected to http://test.host/products/53009e125735331ed92a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009e125735331ed92b0000'), "firstname"=>"Verna", "lastname"=>"Stracke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4382ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3183ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009e125735331ed92c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4373ms
Redirected to http://test.host/users/53009e125735331ed92c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2615ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009e125735331ed92d0000'), "firstname"=>"D'angelo", "lastname"=>"Senger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3683ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2042ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53009e125735331ed92d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53009e125735331ed92d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53009e125735331ed92d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2543ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1816ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009e125735331ed92e0000'), "firstname"=>"Kacey", "lastname"=>"Strosin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53009e125735331ed92e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53009e125735331ed92e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2423ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.4ms)
Completed 200 OK in 39ms (Views: 38.1ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009e125735331ed92f0000'), "firstname"=>"Simone", "lastname"=>"Wolf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4463ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4044ms
Completed 200 OK in 11ms (Views: 10.9ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9300000'), "firstname"=>"Danny", "lastname"=>"Walsh"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3758ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9310000'), "firstname"=>"Brennan", "lastname"=>"Simonis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4393ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53009e125735331ed9310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53009e125735331ed9310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2729ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53009e125735331ed9320000'), "firstname"=>"Sid", "lastname"=>"Buckridge"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4448ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53009e125735331ed9320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53009e125735331ed9320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2989ms
Unpermitted parameters: name
Redirected to http://test.host/users/53009e125735331ed9320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6210ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2638ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2652ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2179ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2107ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d000000'), "name"=>"Mrs. Thomas Konopelski", "reference"=>"Julian Boyle", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4525ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1828ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8614ms
Redirected to http://test.host/admin/products/5300cbc4573533261d010000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2010ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d020000'), "name"=>"Mr. Aida Farrell", "reference"=>"Johnpaul Bednar", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3217ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2219ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5300cbc4573533261d020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300cbc4573533261d020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2980ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300cbc4573533261d020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2973ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1696ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d030000'), "name"=>"Otis O'Kon", "reference"=>"Walton O'Reilly V", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2429ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5300cbc4573533261d030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300cbc4573533261d030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2456ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.8ms)
Completed 200 OK in 56ms (Views: 54.4ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d040000'), "name"=>"Ahmed Corwin", "reference"=>"Lucas Runolfsson I", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4345ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3487ms
Completed 200 OK in 7ms (Views: 6.9ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d050000'), "name"=>"Rocio Wolff", "reference"=>"Kaitlyn Auer", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3306ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 20ms (Views: 6.6ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d080000'), "name"=>"Mr. Moriah O'Reilly", "reference"=>"Ms. Destinee Treutel", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2081ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5300cbc4573533261d080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300cbc4573533261d080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2720ms
Completed 200 OK in 5ms (Views: 3.8ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d090000'), "name"=>"Cleve Ankunding", "reference"=>"Gavin Morissette", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3990ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5300cbc4573533261d090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300cbc4573533261d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2824ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300cbc4573533261d090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3610ms
Redirected to http://test.host/admin/products/5300cbc4573533261d090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d0a0000'), "firstname"=>"Cornell", "lastname"=>"Gorczany"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5359ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2817ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4286ms
Redirected to http://test.host/admin/users/5300cbc4573533261d0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1939ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d0c0000'), "firstname"=>"Kathleen", "lastname"=>"Metz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3619ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2248ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5300cbc4573533261d0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300cbc4573533261d0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300cbc4573533261d0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3253ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1949ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d0d0000'), "firstname"=>"Lolita", "lastname"=>"Murazik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3083ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5300cbc4573533261d0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300cbc4573533261d0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3947ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.5ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d0e0000'), "firstname"=>"Kristina", "lastname"=>"Dicki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4172ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3295ms
Completed 200 OK in 7ms (Views: 6.5ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d0f0000'), "firstname"=>"Maximillian", "lastname"=>"Veum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3803ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d100000'), "firstname"=>"Mallory", "lastname"=>"McLaughlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3992ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5300cbc4573533261d100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300cbc4573533261d100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2299ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d110000'), "firstname"=>"Bonnie", "lastname"=>"Durgan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3822ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5300cbc4573533261d110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300cbc4573533261d110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5300cbc4573533261d110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d120000'), "firstname"=>"Alden", "lastname"=>"Mitchell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4249ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2594ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3975ms
Redirected to http://test.host/admin/clients/5300cbc4573533261d130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1752ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d140000'), "firstname"=>"Clifton", "lastname"=>"Zemlak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4184ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1727ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5300cbc4573533261d140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300cbc4573533261d140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300cbc4573533261d140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2874ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1957ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d150000'), "firstname"=>"Salvatore", "lastname"=>"Wolf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2532ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5300cbc4573533261d150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300cbc4573533261d150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2445ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d160000'), "firstname"=>"Lulu", "lastname"=>"Ritchie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4009ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3113ms
Completed 200 OK in 7ms (Views: 5.8ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d170000'), "firstname"=>"Adrien", "lastname"=>"Kassulke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4150ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.5ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d180000'), "firstname"=>"Kacey", "lastname"=>"Homenick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4003ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5300cbc4573533261d180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300cbc4573533261d180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2341ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d190000'), "firstname"=>"Rylan", "lastname"=>"Runolfsson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3777ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5300cbc4573533261d190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300cbc4573533261d190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3708ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300cbc4573533261d190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3063ms
Redirected to http://test.host/admin/clients/5300cbc4573533261d190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d1a0000'), "firstname"=>"Ahmed", "lastname"=>"Koelpin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2640ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1574ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2779ms
Redirected to http://test.host/clients/5300cbc4573533261d1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1638ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d1c0000'), "firstname"=>"Keaton", "lastname"=>"Jast"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2208ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1540ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5300cbc4573533261d1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300cbc4573533261d1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2279ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300cbc4573533261d1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2447ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1683ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d1d0000'), "firstname"=>"Kyleigh", "lastname"=>"Nitzsche"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2235ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5300cbc4573533261d1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300cbc4573533261d1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d1e0000'), "firstname"=>"Isabel", "lastname"=>"Schoen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0868ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4798ms
Completed 200 OK in 9ms (Views: 8.5ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d1f0000'), "firstname"=>"Onie", "lastname"=>"Deckow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4685ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 4.9ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d200000'), "firstname"=>"Elliott", "lastname"=>"McClure"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5300cbc4573533261d200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300cbc4573533261d200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2882ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d210000'), "firstname"=>"Lawrence", "lastname"=>"Kerluke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4417ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5300cbc4573533261d210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300cbc4573533261d210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3189ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5300cbc4573533261d210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3238ms
Redirected to http://test.host/clients/5300cbc4573533261d210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d220000'), "name"=>"Gregory Parker", "reference"=>"Hollie Predovic", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4890ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1765ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3810ms
Redirected to http://test.host/products/5300cbc4573533261d230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1700ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d240000'), "name"=>"Abbey Ernser", "reference"=>"Ms. Cristal O'Hara", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2935ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1616ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5300cbc4573533261d240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300cbc4573533261d240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300cbc4573533261d240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2435ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1620ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d250000'), "name"=>"Alejandrin Leuschke", "reference"=>"Felton Kreiger", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2842ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5300cbc4573533261d250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300cbc4573533261d250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2859ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.0ms)
Completed 200 OK in 10ms (Views: 9.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d260000'), "name"=>"Jovanny Feeney V", "reference"=>"Keanu Dicki MD", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1140ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4371ms
Completed 200 OK in 11ms (Views: 10.5ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d270000'), "name"=>"Garnet Dickens", "reference"=>"Dr. Josefa Langworth", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3739ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 8ms (Views: 6.3ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d290000'), "name"=>"Miss Stephanie Klocko", "reference"=>"Katelin Dicki", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5300cbc4573533261d290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300cbc4573533261d290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2596ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d2a0000'), "name"=>"Samara Hamill", "reference"=>"Alf White V", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3839ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5300cbc4573533261d2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300cbc4573533261d2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5300cbc4573533261d2a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2661ms
Redirected to http://test.host/products/5300cbc4573533261d2a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d2b0000'), "firstname"=>"Tyra", "lastname"=>"Lemke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4105ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2180ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d2c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4548ms
Redirected to http://test.host/users/5300cbc4573533261d2c0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2012ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d2d0000'), "firstname"=>"Kenny", "lastname"=>"McDermott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3773ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2237ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5300cbc4573533261d2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300cbc4573533261d2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2556ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300cbc4573533261d2d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3073ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1749ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d2e0000'), "firstname"=>"Tre", "lastname"=>"Buckridge"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2370ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5300cbc4573533261d2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300cbc4573533261d2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2333ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.9ms)
Completed 200 OK in 40ms (Views: 38.7ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d2f0000'), "firstname"=>"Kaylin", "lastname"=>"Ward"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4100ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3880ms
Completed 200 OK in 11ms (Views: 10.5ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d300000'), "firstname"=>"Isabella", "lastname"=>"Schaefer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3791ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d310000'), "firstname"=>"Sallie", "lastname"=>"Gulgowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5300cbc4573533261d310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300cbc4573533261d310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2898ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5300cbc4573533261d320000'), "firstname"=>"Hilma", "lastname"=>"Ernser"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4297ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5300cbc4573533261d320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5300cbc4573533261d320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2642ms
Unpermitted parameters: name
Redirected to http://test.host/users/5300cbc4573533261d320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6551ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 3.2916ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3701ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2470ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2674ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301b13d5735330c58000000'), "name"=>"Hannah Feest", "reference"=>"Ewell Thompson", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4814ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1854ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301b13d5735330c58010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4120ms
Redirected to http://test.host/admin/products/5301b13d5735330c58010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1890ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301b13d5735330c58020000'), "name"=>"Monica Harber", "reference"=>"Dr. Camilla Walker", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3747ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1626ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5301b13d5735330c58020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301b13d5735330c58020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301b13d5735330c58020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3363ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1795ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301b13d5735330c58030000'), "name"=>"Era Friesen", "reference"=>"Korey Langworth", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2476ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5301b13d5735330c58030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301b13d5735330c58030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (66.7ms)
Completed 200 OK in 354ms (Views: 352.7ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301b13d5735330c58040000'), "name"=>"Jaquelin Keeling", "reference"=>"Imogene Hamill", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4424ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3576ms
Completed 200 OK in 8ms (Views: 7.1ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301b13d5735330c58050000'), "name"=>"Luz Willms", "reference"=>"Mr. Jasper Kessler", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3794ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 20ms (Views: 6.2ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301b13d5735330c58080000'), "name"=>"Colby Nader", "reference"=>"Alexandra Gulgowski V", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4593ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5301b13d5735330c58080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301b13d5735330c58080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms
Completed 200 OK in 5ms (Views: 3.8ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301b13d5735330c58090000'), "name"=>"Tabitha Lemke III", "reference"=>"Emil Zieme", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3878ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301b13d5735330c58090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301b13d5735330c58090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2287ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301b13d5735330c58090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3180ms
Redirected to http://test.host/admin/products/5301b13d5735330c58090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c580a0000'), "firstname"=>"Effie", "lastname"=>"Mraz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4677ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1822ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c580b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms
Redirected to http://test.host/admin/users/5301b13e5735330c580b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3229ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c580c0000'), "firstname"=>"Ernestine", "lastname"=>"Marvin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4156ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1614ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5301b13e5735330c580c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301b13e5735330c580c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2938ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301b13e5735330c580c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2860ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1657ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c580d0000'), "firstname"=>"Kallie", "lastname"=>"Purdy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3152ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5301b13e5735330c580d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301b13e5735330c580d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 9ms (Views: 7.6ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c580e0000'), "firstname"=>"Willa", "lastname"=>"Leuschke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4193ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4003ms
Completed 200 OK in 7ms (Views: 6.9ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c580f0000'), "firstname"=>"Maribel", "lastname"=>"Ryan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3686ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.9ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c58100000'), "firstname"=>"Leola", "lastname"=>"Schmidt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.5988ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5301b13e5735330c58100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301b13e5735330c58100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3839ms
Completed 200 OK in 6ms (Views: 4.0ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c58110000'), "firstname"=>"Gina", "lastname"=>"Dietrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4375ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301b13e5735330c58110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301b13e5735330c58110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2995ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5301b13e5735330c58110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c58120000'), "firstname"=>"Nyasia", "lastname"=>"Kuphal"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4561ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1693ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c58130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3520ms
Redirected to http://test.host/admin/clients/5301b13e5735330c58130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1723ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c58140000'), "firstname"=>"Nellie", "lastname"=>"Hagenes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3961ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1778ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301b13e5735330c58140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301b13e5735330c58140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2896ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301b13e5735330c58140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2966ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1675ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c58150000'), "firstname"=>"Germaine", "lastname"=>"Johnston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2430ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301b13e5735330c58150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301b13e5735330c58150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2445ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.8ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c58160000'), "firstname"=>"Rhea", "lastname"=>"Ondricka"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4077ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms
Completed 200 OK in 7ms (Views: 6.2ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c58170000'), "firstname"=>"Torrey", "lastname"=>"Brakus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4182ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c58180000'), "firstname"=>"Kenton", "lastname"=>"Bosco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 55.7484ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301b13e5735330c58180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301b13e5735330c58180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3431ms
Completed 200 OK in 8ms (Views: 5.8ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c58190000'), "firstname"=>"Ona", "lastname"=>"McClure"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4949ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301b13e5735330c58190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301b13e5735330c58190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3022ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301b13e5735330c58190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4029ms
Redirected to http://test.host/admin/clients/5301b13e5735330c58190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c581a0000'), "firstname"=>"Trystan", "lastname"=>"Becker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3841ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2074ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c581b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3721ms
Redirected to http://test.host/clients/5301b13e5735330c581b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2859ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c581c0000'), "firstname"=>"Elyssa", "lastname"=>"Kuhlman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3442ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1779ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301b13e5735330c581c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301b13e5735330c581c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3117ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301b13e5735330c581c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2866ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1672ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c581d0000'), "firstname"=>"Christina", "lastname"=>"Auer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2420ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301b13e5735330c581d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301b13e5735330c581d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2720ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 7ms (Views: 6.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c581e0000'), "firstname"=>"Ethel", "lastname"=>"Bashirian"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3756ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3685ms
Completed 200 OK in 9ms (Views: 8.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c581f0000'), "firstname"=>"Albert", "lastname"=>"White"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4098ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 5.0ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c58200000'), "firstname"=>"Issac", "lastname"=>"Waelchi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4848ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301b13e5735330c58200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301b13e5735330c58200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3005ms
Completed 200 OK in 5ms (Views: 3.3ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c58210000'), "firstname"=>"Fred", "lastname"=>"Kessler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 16.0046ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301b13e5735330c58210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301b13e5735330c58210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3139ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301b13e5735330c58210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3567ms
Redirected to http://test.host/clients/5301b13e5735330c58210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c58220000'), "name"=>"Jany Wiegand IV", "reference"=>"Tianna Rolfson", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4480ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2014ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c58230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4184ms
Redirected to http://test.host/products/5301b13e5735330c58230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1898ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c58240000'), "name"=>"Miss Viola Beier", "reference"=>"Eveline Harris", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3776ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1580ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5301b13e5735330c58240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301b13e5735330c58240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301b13e5735330c58240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2468ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1628ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c58250000'), "name"=>"Emie Davis", "reference"=>"Destiny Smith", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2418ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5301b13e5735330c58250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301b13e5735330c58250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.3ms)
Completed 200 OK in 10ms (Views: 9.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c58260000'), "name"=>"Myah Larson", "reference"=>"Eloise Barton Sr.", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4044ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3631ms
Completed 200 OK in 11ms (Views: 10.4ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c58270000'), "name"=>"Colby Terry", "reference"=>"Janie Zemlak", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4259ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 7ms (Views: 6.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c58290000'), "name"=>"Josephine Morissette", "reference"=>"Sigmund Nienow", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5103ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5301b13e5735330c58290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301b13e5735330c58290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3275ms
Completed 200 OK in 5ms (Views: 3.7ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c582a0000'), "name"=>"Octavia Christiansen", "reference"=>"Tatyana Goyette", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4193ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301b13e5735330c582a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301b13e5735330c582a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2708ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301b13e5735330c582a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2786ms
Redirected to http://test.host/products/5301b13e5735330c582a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c582b0000'), "firstname"=>"Hallie", "lastname"=>"Lemke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4133ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1616ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c582c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3728ms
Redirected to http://test.host/users/5301b13e5735330c582c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2045ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c582d0000'), "firstname"=>"Ashton", "lastname"=>"Wilderman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2219ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5301b13e5735330c582d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301b13e5735330c582d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3799ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301b13e5735330c582d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3621ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2428ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c582e0000'), "firstname"=>"Federico", "lastname"=>"Bradtke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2036ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5301b13e5735330c582e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301b13e5735330c582e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2958ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.5ms)
Completed 200 OK in 40ms (Views: 38.2ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c582f0000'), "firstname"=>"Dovie", "lastname"=>"Heidenreich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4143ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3721ms
Completed 200 OK in 11ms (Views: 10.9ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c58300000'), "firstname"=>"Tabitha", "lastname"=>"Zieme"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3745ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c58310000'), "firstname"=>"Nicole", "lastname"=>"Becker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5301b13e5735330c58310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301b13e5735330c58310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2345ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301b13e5735330c58320000'), "firstname"=>"Ellsworth", "lastname"=>"Collier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3852ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301b13e5735330c58320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301b13e5735330c58320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3208ms
Unpermitted parameters: name
Redirected to http://test.host/users/5301b13e5735330c58320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6144ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2879ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2959ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2488ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2705ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87000000'), "name"=>"Raina Nolan Sr.", "reference"=>"Ernie Armstrong V", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4580ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1647ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4315ms
Redirected to http://test.host/admin/products/5301cdfe5735331b87010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2104ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87020000'), "name"=>"Damaris Orn", "reference"=>"Joesph Hettinger", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4030ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1726ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5301cdfe5735331b87020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301cdfe5735331b87020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2977ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301cdfe5735331b87020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3013ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2066ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87030000'), "name"=>"Juliana Frami", "reference"=>"Miss Deborah Jacobs", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2562ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5301cdfe5735331b87030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301cdfe5735331b87030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2550ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.6ms)
Completed 200 OK in 55ms (Views: 54.2ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87040000'), "name"=>"Iliana Adams", "reference"=>"Colby Wunsch", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4698ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3407ms
Completed 200 OK in 8ms (Views: 7.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87050000'), "name"=>"Keshawn Schimmel", "reference"=>"Billy Corwin", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4300ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 20ms (Views: 6.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87080000'), "name"=>"Hilton Nader II", "reference"=>"Pansy Bayer", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4157ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5301cdfe5735331b87080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301cdfe5735331b87080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2719ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87090000'), "name"=>"Miss Keenan Hintz", "reference"=>"Roma Skiles", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301cdfe5735331b87090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301cdfe5735331b87090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2703ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301cdfe5735331b87090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5724ms
Redirected to http://test.host/admin/products/5301cdfe5735331b87090000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b870a0000'), "firstname"=>"Edmund", "lastname"=>"Kirlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4553ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1906ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b870b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3486ms
Redirected to http://test.host/admin/users/5301cdfe5735331b870b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1726ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b870c0000'), "firstname"=>"Ralph", "lastname"=>"Reynolds"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2845ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1585ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5301cdfe5735331b870c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301cdfe5735331b870c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2393ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301cdfe5735331b870c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2758ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2581ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b870d0000'), "firstname"=>"Toby", "lastname"=>"Jerde"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3666ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5301cdfe5735331b870d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301cdfe5735331b870d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2469ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.3ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b870e0000'), "firstname"=>"Elsie", "lastname"=>"Hoeger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4013ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3978ms
Completed 200 OK in 8ms (Views: 7.9ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b870f0000'), "firstname"=>"Jackson", "lastname"=>"Bins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3590ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.9ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87100000'), "firstname"=>"Ashley", "lastname"=>"Auer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5301cdfe5735331b87100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301cdfe5735331b87100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4037ms
Completed 200 OK in 5ms (Views: 3.8ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87110000'), "firstname"=>"Skye", "lastname"=>"Purdy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301cdfe5735331b87110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301cdfe5735331b87110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5301cdfe5735331b87110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87120000'), "firstname"=>"Payton", "lastname"=>"Cartwright"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4306ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1617ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3551ms
Redirected to http://test.host/admin/clients/5301cdfe5735331b87130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1728ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87140000'), "firstname"=>"Lucy", "lastname"=>"Lindgren"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2941ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.8743ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301cdfe5735331b87140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301cdfe5735331b87140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3870ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301cdfe5735331b87140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4523ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1954ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87150000'), "firstname"=>"Hazle", "lastname"=>"Turcotte"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2408ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301cdfe5735331b87150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301cdfe5735331b87150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3106ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.4ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87160000'), "firstname"=>"Madilyn", "lastname"=>"White"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4792ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3309ms
Completed 200 OK in 7ms (Views: 5.9ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87170000'), "firstname"=>"Max", "lastname"=>"Armstrong"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5900ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87180000'), "firstname"=>"Cecelia", "lastname"=>"Johnson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4680ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301cdfe5735331b87180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301cdfe5735331b87180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3353ms
Completed 200 OK in 6ms (Views: 4.6ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87190000'), "firstname"=>"Maybelle", "lastname"=>"Gutmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8792ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301cdfe5735331b87190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301cdfe5735331b87190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2914ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301cdfe5735331b87190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms
Redirected to http://test.host/admin/clients/5301cdfe5735331b87190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b871a0000'), "firstname"=>"Neva", "lastname"=>"Vandervort"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3213ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2223ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b871b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5242ms
Redirected to http://test.host/clients/5301cdfe5735331b871b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2788ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b871c0000'), "firstname"=>"Jo", "lastname"=>"Robel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2648ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1746ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301cdfe5735331b871c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301cdfe5735331b871c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3031ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301cdfe5735331b871c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3012ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2072ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b871d0000'), "firstname"=>"Dell", "lastname"=>"Goodwin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2520ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301cdfe5735331b871d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301cdfe5735331b871d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3292ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.5ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b871e0000'), "firstname"=>"Ericka", "lastname"=>"Stoltenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4084ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3537ms
Completed 200 OK in 9ms (Views: 8.0ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b871f0000'), "firstname"=>"Bradly", "lastname"=>"Rutherford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4687ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.3ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87200000'), "firstname"=>"Berneice", "lastname"=>"Kessler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4240ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301cdfe5735331b87200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301cdfe5735331b87200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87210000'), "firstname"=>"Allene", "lastname"=>"Beahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3599ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301cdfe5735331b87210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301cdfe5735331b87210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2653ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301cdfe5735331b87210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3321ms
Redirected to http://test.host/clients/5301cdfe5735331b87210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87220000'), "name"=>"Brandi Berge IV", "reference"=>"Axel Ernser", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7706ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2399ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms
Redirected to http://test.host/products/5301cdfe5735331b87230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3193ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87240000'), "name"=>"Duncan Ebert", "reference"=>"Sherman Conroy", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4536ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2372ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5301cdfe5735331b87240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301cdfe5735331b87240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3191ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301cdfe5735331b87240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2700ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2161ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87250000'), "name"=>"Alexandrine Marquardt", "reference"=>"Adolphus Kris MD", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2804ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5301cdfe5735331b87250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301cdfe5735331b87250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3183ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.2ms)
Completed 200 OK in 10ms (Views: 8.9ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87260000'), "name"=>"Elliot Eichmann", "reference"=>"Sandrine Hayes", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4620ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3764ms
Completed 200 OK in 11ms (Views: 10.9ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87270000'), "name"=>"Holden Reynolds", "reference"=>"Melba Spinka", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3809ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 7ms (Views: 6.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87290000'), "name"=>"Rhoda Gorczany", "reference"=>"Vinnie Reichert", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4963ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5301cdfe5735331b87290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301cdfe5735331b87290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3273ms
Completed 200 OK in 5ms (Views: 3.9ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b872a0000'), "name"=>"Amos Fritsch II", "reference"=>"Jimmie Frami Sr.", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4024ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301cdfe5735331b872a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301cdfe5735331b872a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2657ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301cdfe5735331b872a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2875ms
Redirected to http://test.host/products/5301cdfe5735331b872a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b872b0000'), "firstname"=>"Brown", "lastname"=>"Feeney"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4048ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1885ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b872c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5078ms
Redirected to http://test.host/users/5301cdfe5735331b872c0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3341ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b872d0000'), "firstname"=>"Sabrina", "lastname"=>"Volkman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4597ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2055ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5301cdfe5735331b872d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301cdfe5735331b872d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2932ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301cdfe5735331b872d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2248ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1914ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b872e0000'), "firstname"=>"Charley", "lastname"=>"Glover"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2555ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5301cdfe5735331b872e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301cdfe5735331b872e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2492ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.9ms)
Completed 200 OK in 40ms (Views: 38.8ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b872f0000'), "firstname"=>"Alvena", "lastname"=>"Stracke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4241ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3747ms
Completed 200 OK in 11ms (Views: 10.5ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87300000'), "firstname"=>"Francis", "lastname"=>"Greenholt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3878ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87310000'), "firstname"=>"Florencio", "lastname"=>"Ward"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4196ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5301cdfe5735331b87310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301cdfe5735331b87310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2800ms
Completed 200 OK in 6ms (Views: 4.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301cdfe5735331b87320000'), "firstname"=>"Elsa", "lastname"=>"Zemlak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4545ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301cdfe5735331b87320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301cdfe5735331b87320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2368ms
Unpermitted parameters: name
Redirected to http://test.host/users/5301cdfe5735331b87320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6090ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2673ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2195ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2786ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301ce545735331c0f000000'), "name"=>"Lucinda Stokes PhD", "reference"=>"Kristofer Mayert V", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4619ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2616ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301ce545735331c0f010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms
Redirected to http://test.host/admin/products/5301ce545735331c0f010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1881ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301ce545735331c0f020000'), "name"=>"Kayleigh Fahey II", "reference"=>"Breana Hermiston Sr.", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3117ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1757ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5301ce545735331c0f020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301ce545735331c0f020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2578ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301ce545735331c0f020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2809ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1640ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301ce545735331c0f030000'), "name"=>"Mrs. Shakira Bins", "reference"=>"Rodolfo O'Reilly", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2375ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5301ce545735331c0f030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301ce545735331c0f030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2395ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 200 OK in 54ms (Views: 53.1ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301ce545735331c0f040000'), "name"=>"Darrick Hauck V", "reference"=>"Christine Mante", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4253ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3574ms
Completed 200 OK in 7ms (Views: 7.0ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301ce545735331c0f050000'), "name"=>"Jany O'Keefe Sr.", "reference"=>"Coralie Farrell", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3608ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 21ms (Views: 5.7ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301ce545735331c0f080000'), "name"=>"Heber Cartwright", "reference"=>"Ernestine King MD", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4669ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5301ce545735331c0f080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301ce545735331c0f080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3448ms
Completed 200 OK in 5ms (Views: 3.8ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301ce545735331c0f090000'), "name"=>"Mr. Tanya Ryan", "reference"=>"Scarlett Wintheiser", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3931ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301ce545735331c0f090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301ce545735331c0f090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2734ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301ce545735331c0f090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3276ms
Redirected to http://test.host/admin/products/5301ce545735331c0f090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301ce545735331c0f0a0000'), "firstname"=>"Idell", "lastname"=>"Hintz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5114ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2551ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301ce545735331c0f0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4558ms
Redirected to http://test.host/admin/users/5301ce545735331c0f0b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2161ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301ce545735331c0f0c0000'), "firstname"=>"Edison", "lastname"=>"Hermann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2863ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1368ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5301ce545735331c0f0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301ce545735331c0f0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2614ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301ce545735331c0f0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2981ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2122ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301ce545735331c0f0d0000'), "firstname"=>"Mariah", "lastname"=>"Lockman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2400ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5301ce545735331c0f0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301ce545735331c0f0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2685ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301ce545735331c0f0e0000'), "firstname"=>"Spencer", "lastname"=>"Leffler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4052ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3497ms
Completed 200 OK in 7ms (Views: 6.7ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301ce545735331c0f0f0000'), "firstname"=>"Axel", "lastname"=>"Purdy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3586ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 6ms (Views: 5.7ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301ce545735331c0f100000'), "firstname"=>"Elyssa", "lastname"=>"Walter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6082ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5301ce545735331c0f100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301ce545735331c0f100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2987ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301ce545735331c0f110000'), "firstname"=>"Nigel", "lastname"=>"Beer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3894ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301ce545735331c0f110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301ce545735331c0f110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5301ce545735331c0f110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f120000'), "firstname"=>"Stewart", "lastname"=>"Doyle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4368ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1815ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3706ms
Redirected to http://test.host/admin/clients/5301ce555735331c0f130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1937ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f140000'), "firstname"=>"Muriel", "lastname"=>"Cormier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3042ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1775ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301ce555735331c0f140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301ce555735331c0f140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2511ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301ce555735331c0f140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4945ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2635ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f150000'), "firstname"=>"Dahlia", "lastname"=>"Yundt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3549ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301ce555735331c0f150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301ce555735331c0f150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2929ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.4ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f160000'), "firstname"=>"Brady", "lastname"=>"Torphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4139ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3716ms
Completed 200 OK in 8ms (Views: 6.3ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f170000'), "firstname"=>"Jakob", "lastname"=>"Brown"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4681ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 6.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f180000'), "firstname"=>"Rosetta", "lastname"=>"Hermiston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4108ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301ce555735331c0f180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301ce555735331c0f180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2674ms
Completed 200 OK in 6ms (Views: 4.6ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f190000'), "firstname"=>"Madelyn", "lastname"=>"Cormier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4176ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301ce555735331c0f190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301ce555735331c0f190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2661ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301ce555735331c0f190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3165ms
Redirected to http://test.host/admin/clients/5301ce555735331c0f190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f1a0000'), "firstname"=>"Julio", "lastname"=>"Rau"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3530ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1941ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3229ms
Redirected to http://test.host/clients/5301ce555735331c0f1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1595ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f1c0000'), "firstname"=>"Norberto", "lastname"=>"Bechtelar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2146ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1965ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301ce555735331c0f1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301ce555735331c0f1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3960ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301ce555735331c0f1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2810ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2090ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f1d0000'), "firstname"=>"Della", "lastname"=>"Rogahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2584ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301ce555735331c0f1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301ce555735331c0f1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2500ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f1e0000'), "firstname"=>"Joseph", "lastname"=>"Nolan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4566ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4541ms
Completed 200 OK in 9ms (Views: 8.5ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f1f0000'), "firstname"=>"Madeline", "lastname"=>"Windler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4836ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 4.9ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f200000'), "firstname"=>"Tyrel", "lastname"=>"Senger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 11.9773ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301ce555735331c0f200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301ce555735331c0f200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3426ms
Completed 200 OK in 6ms (Views: 3.9ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f210000'), "firstname"=>"Lilian", "lastname"=>"Lindgren"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4035ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301ce555735331c0f210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301ce555735331c0f210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2266ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301ce555735331c0f210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3044ms
Redirected to http://test.host/clients/5301ce555735331c0f210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f220000'), "name"=>"Tristin Ratke", "reference"=>"Audreanne Monahan", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5606ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3052ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3980ms
Redirected to http://test.host/products/5301ce555735331c0f230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1908ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f240000'), "name"=>"Brandt Champlin", "reference"=>"Felton Schultz Jr.", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3629ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1797ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5301ce555735331c0f240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301ce555735331c0f240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3252ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301ce555735331c0f240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2953ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2330ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f250000'), "name"=>"Mr. Destany Corwin", "reference"=>"Alanna Fritsch", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3442ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5301ce555735331c0f250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301ce555735331c0f250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2360ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f260000'), "name"=>"Jameson Crist IV", "reference"=>"Raul Jones I", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5010ms
Completed 200 OK in 12ms (Views: 11.7ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f270000'), "name"=>"Aurore Bartell", "reference"=>"Mr. Isac Kshlerin", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 8ms (Views: 6.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f290000'), "name"=>"Jada Murphy", "reference"=>"Desmond Roberts", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4063ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5301ce555735331c0f290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301ce555735331c0f290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2658ms
Completed 200 OK in 5ms (Views: 3.7ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f2a0000'), "name"=>"Gilbert Carroll III", "reference"=>"Mr. Mitchel Kris", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301ce555735331c0f2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301ce555735331c0f2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2679ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301ce555735331c0f2a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2842ms
Redirected to http://test.host/products/5301ce555735331c0f2a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f2b0000'), "firstname"=>"Howard", "lastname"=>"Corwin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5637ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2220ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f2c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 211.0325ms
Redirected to http://test.host/users/5301ce555735331c0f2c0000
Completed 302 Found in 213ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3316ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f2d0000'), "firstname"=>"Conrad", "lastname"=>"Shanahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4070ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2181ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5301ce555735331c0f2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301ce555735331c0f2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2781ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301ce555735331c0f2d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2561ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1541ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f2e0000'), "firstname"=>"Dulce", "lastname"=>"Lockman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2166ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5301ce555735331c0f2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301ce555735331c0f2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2193ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (34.2ms)
Completed 200 OK in 40ms (Views: 39.2ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f2f0000'), "firstname"=>"Sylvan", "lastname"=>"Simonis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4324ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms
Completed 200 OK in 11ms (Views: 10.9ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f300000'), "firstname"=>"Martine", "lastname"=>"Kilback"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3767ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.2ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f310000'), "firstname"=>"Allan", "lastname"=>"Littel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5332ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5301ce555735331c0f310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301ce555735331c0f310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4007ms
Completed 200 OK in 6ms (Views: 4.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301ce555735331c0f320000'), "firstname"=>"Oral", "lastname"=>"Brown"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4453ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301ce555735331c0f320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301ce555735331c0f320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3068ms
Unpermitted parameters: name
Redirected to http://test.host/users/5301ce555735331c0f320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7135ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3132ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3053ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3431ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3199ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9000000'), "name"=>"Hollie Nader", "reference"=>"Loyal Lehner", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4525ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1843ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3896ms
Redirected to http://test.host/admin/products/5301d35f5735331ee9010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1973ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9020000'), "name"=>"Mr. Antonette Nicolas", "reference"=>"Ms. Ava Bergnaum", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3126ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1911ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5301d35f5735331ee9020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d35f5735331ee9020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2541ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d35f5735331ee9020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2926ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1897ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9030000'), "name"=>"Alysha Baumbach III", "reference"=>"Oswald Crona", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2543ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5301d35f5735331ee9030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d35f5735331ee9030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2638ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.8ms)
Completed 200 OK in 56ms (Views: 54.5ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9040000'), "name"=>"Vaughn Bins", "reference"=>"Valentine Lindgren III", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4315ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3411ms
Completed 200 OK in 7ms (Views: 6.9ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9050000'), "name"=>"Deondre King III", "reference"=>"Rosalia Gislason", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3481ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 21ms (Views: 6.5ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9080000'), "name"=>"Mrs. Axel Rutherford", "reference"=>"Miss Lorena Feil", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4333ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5301d35f5735331ee9080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d35f5735331ee9080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2637ms
Completed 200 OK in 5ms (Views: 3.8ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9090000'), "name"=>"Ms. Yvonne Quitzon", "reference"=>"Dr. Garret Erdman", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4026ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301d35f5735331ee9090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d35f5735331ee9090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2682ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d35f5735331ee9090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3436ms
Redirected to http://test.host/admin/products/5301d35f5735331ee9090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee90a0000'), "firstname"=>"Lucy", "lastname"=>"Satterfield"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1960ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee90b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4816ms
Redirected to http://test.host/admin/users/5301d35f5735331ee90b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2063ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee90c0000'), "firstname"=>"Nichole", "lastname"=>"Stokes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3253ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1766ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5301d35f5735331ee90c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d35f5735331ee90c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2433ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d35f5735331ee90c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2927ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1768ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee90d0000'), "firstname"=>"Joanny", "lastname"=>"Greenfelder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2360ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5301d35f5735331ee90d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d35f5735331ee90d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2293ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.4ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee90e0000'), "firstname"=>"Rick", "lastname"=>"Heathcote"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3795ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3107ms
Completed 200 OK in 7ms (Views: 6.6ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee90f0000'), "firstname"=>"Orland", "lastname"=>"Hessel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9100000'), "firstname"=>"Antonina", "lastname"=>"Becker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5301d35f5735331ee9100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d35f5735331ee9100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2458ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9110000'), "firstname"=>"Edgar", "lastname"=>"Zboncak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3624ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301d35f5735331ee9110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d35f5735331ee9110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2348ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5301d35f5735331ee9110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9120000'), "firstname"=>"Jaeden", "lastname"=>"Gutmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4553ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1917ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms
Redirected to http://test.host/admin/clients/5301d35f5735331ee9130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2268ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9140000'), "firstname"=>"Gerry", "lastname"=>"Bogan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3364ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1991ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301d35f5735331ee9140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d35f5735331ee9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2842ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d35f5735331ee9140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3160ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1768ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9150000'), "firstname"=>"Mara", "lastname"=>"Towne"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2449ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301d35f5735331ee9150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d35f5735331ee9150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2256ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.4ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9160000'), "firstname"=>"Chelsey", "lastname"=>"Nienow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4706ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms
Completed 200 OK in 7ms (Views: 6.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9170000'), "firstname"=>"Camryn", "lastname"=>"Cassin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4447ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.8ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9180000'), "firstname"=>"Berta", "lastname"=>"Blick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4052ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301d35f5735331ee9180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d35f5735331ee9180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2629ms
Completed 200 OK in 6ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9190000'), "firstname"=>"Keith", "lastname"=>"Kuhic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4408ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301d35f5735331ee9190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d35f5735331ee9190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3615ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d35f5735331ee9190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3533ms
Redirected to http://test.host/admin/clients/5301d35f5735331ee9190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee91a0000'), "firstname"=>"Rod", "lastname"=>"Beahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2391ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee91b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3532ms
Redirected to http://test.host/clients/5301d35f5735331ee91b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2382ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee91c0000'), "firstname"=>"Angela", "lastname"=>"Roberts"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2854ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2237ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301d35f5735331ee91c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d35f5735331ee91c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2867ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d35f5735331ee91c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2676ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1844ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee91d0000'), "firstname"=>"Pauline", "lastname"=>"Wolff"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2424ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301d35f5735331ee91d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d35f5735331ee91d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2412ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee91e0000'), "firstname"=>"Mateo", "lastname"=>"Hansen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3337ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4931ms
Completed 200 OK in 9ms (Views: 8.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee91f0000'), "firstname"=>"Moriah", "lastname"=>"Casper"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4649ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.1ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9200000'), "firstname"=>"Arthur", "lastname"=>"Batz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4297ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301d35f5735331ee9200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d35f5735331ee9200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3321ms
Completed 200 OK in 5ms (Views: 3.3ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9210000'), "firstname"=>"Roselyn", "lastname"=>"Effertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301d35f5735331ee9210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d35f5735331ee9210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2878ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d35f5735331ee9210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3122ms
Redirected to http://test.host/clients/5301d35f5735331ee9210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9220000'), "name"=>"Al Pfeffer", "reference"=>"Vladimir Heathcote", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4202ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2043ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3381ms
Redirected to http://test.host/products/5301d35f5735331ee9230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2226ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9240000'), "name"=>"Barton Wolff", "reference"=>"Grady Cormier", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3182ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1745ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5301d35f5735331ee9240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d35f5735331ee9240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2394ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d35f5735331ee9240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2813ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1891ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9250000'), "name"=>"Aditya Reynolds", "reference"=>"Chance Pollich", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2653ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5301d35f5735331ee9250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d35f5735331ee9250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3712ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.2ms)
Completed 200 OK in 11ms (Views: 9.5ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9260000'), "name"=>"Alberta Trantow", "reference"=>"Maymie McKenzie DDS", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4507ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3905ms
Completed 200 OK in 10ms (Views: 9.9ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9270000'), "name"=>"Demetrius Jones", "reference"=>"Ellen Abernathy", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3395ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.1ms)
Completed 200 OK in 9ms (Views: 7.4ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9290000'), "name"=>"Verona Price", "reference"=>"Keegan O'Reilly", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4673ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5301d35f5735331ee9290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d35f5735331ee9290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2932ms
Completed 200 OK in 5ms (Views: 3.7ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee92a0000'), "name"=>"Michale Sanford", "reference"=>"Mr. Dolores Bahringer", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3731ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301d35f5735331ee92a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d35f5735331ee92a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2699ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d35f5735331ee92a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3144ms
Redirected to http://test.host/products/5301d35f5735331ee92a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee92b0000'), "firstname"=>"Rubie", "lastname"=>"Fadel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4256ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2204ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee92c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5324ms
Redirected to http://test.host/users/5301d35f5735331ee92c0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2941ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee92d0000'), "firstname"=>"Anahi", "lastname"=>"Leffler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3870ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2198ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5301d35f5735331ee92d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d35f5735331ee92d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2733ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d35f5735331ee92d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2855ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2364ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee92e0000'), "firstname"=>"Yoshiko", "lastname"=>"DuBuque"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2560ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5301d35f5735331ee92e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d35f5735331ee92e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2910ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 42ms (Views: 40.9ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee92f0000'), "firstname"=>"Mabel", "lastname"=>"Ondricka"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4089ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4878ms
Completed 200 OK in 11ms (Views: 10.7ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9300000'), "firstname"=>"Manley", "lastname"=>"Tromp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3877ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9310000'), "firstname"=>"Melody", "lastname"=>"Howell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4120ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5301d35f5735331ee9310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d35f5735331ee9310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2350ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d35f5735331ee9320000'), "firstname"=>"Laury", "lastname"=>"Lind"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301d35f5735331ee9320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d35f5735331ee9320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3516ms
Unpermitted parameters: name
Redirected to http://test.host/users/5301d35f5735331ee9320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6152ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2837ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3214ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3209ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3496ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f000000'), "name"=>"Paige McGlynn", "reference"=>"Guadalupe Block", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4492ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1972ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3841ms
Redirected to http://test.host/admin/products/5301d63b573533205f010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1975ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f020000'), "name"=>"Terrill Rowe", "reference"=>"Junius Kling", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3159ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1780ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5301d63b573533205f020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d63b573533205f020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2947ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d63b573533205f020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3481ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2332ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f030000'), "name"=>"Russel Willms", "reference"=>"Remington Zemlak", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3083ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5301d63b573533205f030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d63b573533205f030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2993ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms)
Completed 200 OK in 54ms (Views: 53.2ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f040000'), "name"=>"Tod Berge", "reference"=>"Mr. Mable Heller", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3384ms
Completed 200 OK in 7ms (Views: 6.7ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f050000'), "name"=>"Dylan Nader II", "reference"=>"Lourdes West", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3935ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 21ms (Views: 6.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f080000'), "name"=>"Daniela Schmitt", "reference"=>"Kole Daniel", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4770ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5301d63b573533205f080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d63b573533205f080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2569ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f090000'), "name"=>"Rupert Hammes DVM", "reference"=>"Celine Boyer", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4157ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301d63b573533205f090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d63b573533205f090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d63b573533205f090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3231ms
Redirected to http://test.host/admin/products/5301d63b573533205f090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f0a0000'), "firstname"=>"Deangelo", "lastname"=>"Donnelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4858ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1877ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4715ms
Redirected to http://test.host/admin/users/5301d63b573533205f0b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2443ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f0c0000'), "firstname"=>"Maci", "lastname"=>"Kassulke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3552ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2243ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5301d63b573533205f0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d63b573533205f0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3017ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d63b573533205f0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3467ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2346ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f0d0000'), "firstname"=>"Clarissa", "lastname"=>"Bernhard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2964ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5301d63b573533205f0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d63b573533205f0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2892ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f0e0000'), "firstname"=>"Zakary", "lastname"=>"Ledner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 9.7128ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3364ms
Completed 200 OK in 7ms (Views: 6.4ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f0f0000'), "firstname"=>"Gay", "lastname"=>"Casper"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3576ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f100000'), "firstname"=>"Keshawn", "lastname"=>"Schimmel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4327ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5301d63b573533205f100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d63b573533205f100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2484ms
Completed 200 OK in 5ms (Views: 3.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f110000'), "firstname"=>"Belle", "lastname"=>"Leannon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4388ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301d63b573533205f110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d63b573533205f110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3757ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5301d63b573533205f110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f120000'), "firstname"=>"Korbin", "lastname"=>"Hills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4345ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1695ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3270ms
Redirected to http://test.host/admin/clients/5301d63b573533205f130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1715ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f140000'), "firstname"=>"Cordie", "lastname"=>"Torp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2892ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1584ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301d63b573533205f140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d63b573533205f140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2913ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d63b573533205f140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4258ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3388ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f150000'), "firstname"=>"Tiana", "lastname"=>"Wiegand"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2782ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301d63b573533205f150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d63b573533205f150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2463ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f160000'), "firstname"=>"Jorge", "lastname"=>"Prohaska"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 11.7990ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3874ms
Completed 200 OK in 7ms (Views: 6.2ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f170000'), "firstname"=>"Gretchen", "lastname"=>"Emmerich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4165ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f180000'), "firstname"=>"Amelia", "lastname"=>"Robel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4271ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301d63b573533205f180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d63b573533205f180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3048ms
Completed 200 OK in 6ms (Views: 4.8ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f190000'), "firstname"=>"Dejon", "lastname"=>"Bins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4355ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301d63b573533205f190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d63b573533205f190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2643ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d63b573533205f190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms
Redirected to http://test.host/admin/clients/5301d63b573533205f190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f1a0000'), "firstname"=>"Reginald", "lastname"=>"Oberbrunner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2667ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2236ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3476ms
Redirected to http://test.host/clients/5301d63b573533205f1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2321ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f1c0000'), "firstname"=>"Kobe", "lastname"=>"Smitham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2840ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2207ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301d63b573533205f1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d63b573533205f1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2851ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d63b573533205f1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3151ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1845ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f1d0000'), "firstname"=>"Jillian", "lastname"=>"Zieme"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2455ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301d63b573533205f1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d63b573533205f1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2452ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f1e0000'), "firstname"=>"Jackeline", "lastname"=>"Aufderhar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4392ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4067ms
Completed 200 OK in 10ms (Views: 8.9ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f1f0000'), "firstname"=>"Kirsten", "lastname"=>"Lebsack"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4529ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 4.9ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f200000'), "firstname"=>"Dayne", "lastname"=>"Reynolds"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4737ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301d63b573533205f200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d63b573533205f200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3762ms
Completed 200 OK in 5ms (Views: 3.5ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f210000'), "firstname"=>"Juana", "lastname"=>"Medhurst"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4154ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301d63b573533205f210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d63b573533205f210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3092ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d63b573533205f210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3185ms
Redirected to http://test.host/clients/5301d63b573533205f210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f220000'), "name"=>"Adella Erdman Sr.", "reference"=>"Giovanna Ziemann", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4372ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2276ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4000ms
Redirected to http://test.host/products/5301d63b573533205f230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2379ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f240000'), "name"=>"Miller Roob PhD", "reference"=>"Johann Beatty", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3639ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2157ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5301d63b573533205f240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d63b573533205f240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2906ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d63b573533205f240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3048ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3112ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f250000'), "name"=>"Carissa Aufderhar I", "reference"=>"Aurelio Wiza", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5301d63b573533205f250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d63b573533205f250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f260000'), "name"=>"Jerrell Baumbach", "reference"=>"Cedrick Jacobi", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4363ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3836ms
Completed 200 OK in 10ms (Views: 10.0ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f270000'), "name"=>"Ford Koch IV", "reference"=>"Taryn Morissette", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3645ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 8ms (Views: 6.4ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f290000'), "name"=>"Reagan Rau", "reference"=>"Kelsi Turcotte", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4220ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5301d63b573533205f290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d63b573533205f290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2353ms
Completed 200 OK in 5ms (Views: 3.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f2a0000'), "name"=>"Kenneth Lesch DDS", "reference"=>"Keegan Dicki", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3892ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301d63b573533205f2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d63b573533205f2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2416ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d63b573533205f2a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2618ms
Redirected to http://test.host/products/5301d63b573533205f2a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f2b0000'), "firstname"=>"Domenic", "lastname"=>"Russel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3141ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3757ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f2c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms
Redirected to http://test.host/users/5301d63b573533205f2c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2370ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f2d0000'), "firstname"=>"Shad", "lastname"=>"Kreiger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3493ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2266ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5301d63b573533205f2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d63b573533205f2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2932ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d63b573533205f2d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2641ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1820ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f2e0000'), "firstname"=>"Aidan", "lastname"=>"Welch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2563ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5301d63b573533205f2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d63b573533205f2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2443ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (34.2ms)
Completed 200 OK in 40ms (Views: 39.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d63b573533205f2f0000'), "firstname"=>"Norris", "lastname"=>"Nitzsche"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4173ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4720ms
Completed 200 OK in 11ms (Views: 11.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d63c573533205f300000'), "firstname"=>"Susan", "lastname"=>"Brakus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3813ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d63c573533205f310000'), "firstname"=>"Angie", "lastname"=>"Runolfsson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4300ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5301d63c573533205f310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d63c573533205f310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms
Completed 200 OK in 5ms (Views: 3.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d63c573533205f320000'), "firstname"=>"Dereck", "lastname"=>"White"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301d63c573533205f320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d63c573533205f320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2899ms
Unpermitted parameters: name
Redirected to http://test.host/users/5301d63c573533205f320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6120ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2852ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3036ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3118ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2922ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d647573533208a000000'), "name"=>"Sadye Herzog", "reference"=>"Matilde Lindgren", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4479ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1801ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d647573533208a010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3999ms
Redirected to http://test.host/admin/products/5301d647573533208a010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2341ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d647573533208a020000'), "name"=>"Mr. Arno Bradtke", "reference"=>"Brandi Lang", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3659ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2328ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5301d647573533208a020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d647573533208a020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2618ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d647573533208a020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7461ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2332ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d647573533208a030000'), "name"=>"Matilde Krajcik", "reference"=>"Palma Luettgen", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3006ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5301d647573533208a030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d647573533208a030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3006ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms)
Completed 500 Internal Server Error in 54ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d647573533208a040000'), "name"=>"Elmira Parker", "reference"=>"Mr. Clarissa Pacocha", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4760ms
Processing by Admin::ProductsController#index as HTML
Completed 500 Internal Server Error in 9ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d647573533208a050000'), "name"=>"Norris Torp", "reference"=>"Floyd Rodriguez PhD", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4684ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 500 Internal Server Error in 54ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d647573533208a080000'), "name"=>"Dr. Kameron Zieme", "reference"=>"Bart Rohan MD", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4548ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5301d647573533208a080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d647573533208a080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms
Completed 200 OK in 13ms (Views: 11.3ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d647573533208a090000'), "name"=>"Kyra McLaughlin", "reference"=>"Gillian Treutel", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4625ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301d647573533208a090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d647573533208a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2601ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d647573533208a090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3327ms
Redirected to http://test.host/admin/products/5301d647573533208a090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d647573533208a0a0000'), "firstname"=>"Misael", "lastname"=>"Ullrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5431ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2026ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d647573533208a0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms
Redirected to http://test.host/admin/users/5301d647573533208a0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1898ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d647573533208a0c0000'), "firstname"=>"Dock", "lastname"=>"Kulas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2905ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1988ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5301d647573533208a0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d647573533208a0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2482ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d647573533208a0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2949ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1851ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d647573533208a0d0000'), "firstname"=>"Willa", "lastname"=>"Stoltenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5301d647573533208a0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d647573533208a0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2469ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 500 Internal Server Error in 45ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d647573533208a0e0000'), "firstname"=>"Webster", "lastname"=>"Lemke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4462ms
Processing by Admin::UsersController#index as HTML
Completed 500 Internal Server Error in 10ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d647573533208a0f0000'), "firstname"=>"Victor", "lastname"=>"Torphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4162ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 500 Internal Server Error in 41ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d647573533208a110000'), "firstname"=>"Modesto", "lastname"=>"Turcotte"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4224ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5301d647573533208a110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d647573533208a110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2532ms
Completed 200 OK in 5ms (Views: 3.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d647573533208a120000'), "firstname"=>"Erika", "lastname"=>"Kuhic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3707ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301d647573533208a120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d647573533208a120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5301d647573533208a120000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d647573533208a130000'), "firstname"=>"Jonatan", "lastname"=>"Cremin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4647ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1794ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d647573533208a140000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3310ms
Redirected to http://test.host/admin/clients/5301d647573533208a140000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1908ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d647573533208a150000'), "firstname"=>"Andreane", "lastname"=>"Steuber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2981ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1735ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301d647573533208a150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d647573533208a150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d647573533208a150000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5320ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2362ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d647573533208a160000'), "firstname"=>"Darius", "lastname"=>"Glover"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2481ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301d647573533208a160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d647573533208a160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2444ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 500 Internal Server Error in 49ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d647573533208a170000'), "firstname"=>"Cletus", "lastname"=>"Willms"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4258ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 38ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d647573533208a180000'), "firstname"=>"Mckenna", "lastname"=>"McGlynn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4298ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 500 Internal Server Error in 45ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d647573533208a1a0000'), "firstname"=>"Ulises", "lastname"=>"Kunde"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4249ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301d647573533208a1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d647573533208a1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2537ms
Completed 200 OK in 6ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d647573533208a1b0000'), "firstname"=>"Luigi", "lastname"=>"Spencer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3978ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301d647573533208a1b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d647573533208a1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2601ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d647573533208a1b0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3031ms
Redirected to http://test.host/admin/clients/5301d647573533208a1b0000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d647573533208a1c0000'), "firstname"=>"Miles", "lastname"=>"Kirlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2656ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1607ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d647573533208a1d0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3003ms
Redirected to http://test.host/clients/5301d647573533208a1d0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1897ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d647573533208a1e0000'), "firstname"=>"Margarett", "lastname"=>"Kilback"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2310ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1712ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301d647573533208a1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d647573533208a1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2400ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d647573533208a1e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2558ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1807ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d647573533208a1f0000'), "firstname"=>"Lea", "lastname"=>"Koelpin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2247ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301d647573533208a1f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d647573533208a1f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2893ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 500 Internal Server Error in 45ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d647573533208a200000'), "firstname"=>"Tyrese", "lastname"=>"Kshlerin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4526ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 38ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d647573533208a210000'), "firstname"=>"Lambert", "lastname"=>"Gaylord"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4775ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 500 Internal Server Error in 45ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d648573533208a230000'), "firstname"=>"Heloise", "lastname"=>"Graham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4841ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301d648573533208a230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d648573533208a230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3043ms
Completed 200 OK in 5ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d648573533208a240000'), "firstname"=>"Ephraim", "lastname"=>"Bradtke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3908ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301d648573533208a240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d648573533208a240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2724ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d648573533208a240000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7650ms
Redirected to http://test.host/clients/5301d648573533208a240000
Completed 302 Found in 8ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d648573533208a250000'), "name"=>"Urban Macejkovic", "reference"=>"Will Lebsack DVM", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4622ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2112ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d648573533208a260000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5380ms
Redirected to http://test.host/products/5301d648573533208a260000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3080ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d648573533208a270000'), "name"=>"Aurelia Jacobi", "reference"=>"Jaycee Berge", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3734ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1965ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5301d648573533208a270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d648573533208a270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2539ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d648573533208a270000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2654ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1832ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d648573533208a280000'), "name"=>"Benny Buckridge DDS", "reference"=>"Sherwood Carroll", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2526ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5301d648573533208a280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d648573533208a280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2624ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 500 Internal Server Error in 48ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d648573533208a290000'), "name"=>"Cindy Welch", "reference"=>"Marley Smith", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4685ms
Processing by ProductsController#index as HTML
Completed 500 Internal Server Error in 39ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d648573533208a2a0000'), "name"=>"Mrs. Eino Hane", "reference"=>"Maynard Yost I", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5165ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 500 Internal Server Error in 46ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d648573533208a2d0000'), "name"=>"Dulce Orn", "reference"=>"Leone Altenwerth", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4844ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5301d648573533208a2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d648573533208a2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d648573533208a2e0000'), "name"=>"Mrs. Minnie Lynch", "reference"=>"Annalise Gottlieb", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4396ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301d648573533208a2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d648573533208a2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2683ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d648573533208a2e0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2917ms
Redirected to http://test.host/products/5301d648573533208a2e0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d648573533208a2f0000'), "firstname"=>"Odessa", "lastname"=>"Predovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4353ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1822ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d648573533208a300000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3271ms
Redirected to http://test.host/users/5301d648573533208a300000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2003ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d648573533208a310000'), "firstname"=>"Rogelio", "lastname"=>"Homenick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3516ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1865ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5301d648573533208a310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d648573533208a310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3469ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d648573533208a310000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2730ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1861ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d648573533208a320000'), "firstname"=>"Dorian", "lastname"=>"Heidenreich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2648ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5301d648573533208a320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d648573533208a320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2538ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 500 Internal Server Error in 48ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d648573533208a330000'), "firstname"=>"Keshawn", "lastname"=>"Schoen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4240ms
Processing by UsersController#index as HTML
Completed 500 Internal Server Error in 40ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d648573533208a340000'), "firstname"=>"Marjolaine", "lastname"=>"Rempel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4719ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 500 Internal Server Error in 44ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d648573533208a360000'), "firstname"=>"Sigurd", "lastname"=>"Gorczany"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4754ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5301d648573533208a360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d648573533208a360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2516ms
Completed 200 OK in 5ms (Views: 3.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d648573533208a370000'), "firstname"=>"Nichole", "lastname"=>"Brekke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4158ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301d648573533208a370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d648573533208a370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3885ms
Unpermitted parameters: name
Redirected to http://test.host/users/5301d648573533208a370000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6840ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3552ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2983ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2424ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2376ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d67957353320be000000'), "name"=>"Ms. Frederique Wolff", "reference"=>"Hipolito Jerde", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4554ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1820ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d67957353320be010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3789ms
Redirected to http://test.host/admin/products/5301d67957353320be010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1926ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d67957353320be020000'), "name"=>"Mr. Gerry Fadel", "reference"=>"Bradley Auer", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3165ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1757ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5301d67957353320be020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d67957353320be020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2923ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d67957353320be020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2289ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d67957353320be030000'), "name"=>"Adriel Eichmann", "reference"=>"Zula Will", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3090ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5301d67957353320be030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d67957353320be030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2936ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 200 OK in 54ms (Views: 52.7ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d67957353320be040000'), "name"=>"Dakota Mueller V", "reference"=>"Edyth MacGyver", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4214ms
Processing by Admin::ProductsController#index as HTML
Completed 500 Internal Server Error in 10ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d67957353320be050000'), "name"=>"Josiane Brakus", "reference"=>"Christophe Swift", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4343ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 22ms (Views: 5.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d67957353320be080000'), "name"=>"Delta Okuneva", "reference"=>"Jeremie Batz", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5301d67957353320be080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d67957353320be080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d67957353320be090000'), "name"=>"Kieran Jones", "reference"=>"Kelton Becker", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4003ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301d67957353320be090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d67957353320be090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2324ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d67957353320be090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms
Redirected to http://test.host/admin/products/5301d67957353320be090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d67957353320be0a0000'), "firstname"=>"Hester", "lastname"=>"Morar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4914ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3248ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d67957353320be0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms
Redirected to http://test.host/admin/users/5301d67957353320be0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1915ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d67957353320be0c0000'), "firstname"=>"Dax", "lastname"=>"Conroy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2962ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1740ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5301d67957353320be0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d67957353320be0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2445ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d67957353320be0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2941ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1818ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d67957353320be0d0000'), "firstname"=>"Haskell", "lastname"=>"Keeling"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2430ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5301d67957353320be0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d67957353320be0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2417ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.0ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d67957353320be0e0000'), "firstname"=>"Sandra", "lastname"=>"Schroeder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4072ms
Processing by Admin::UsersController#index as HTML
Completed 500 Internal Server Error in 11ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d67957353320be0f0000'), "firstname"=>"Lauretta", "lastname"=>"O'Reilly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4232ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d67957353320be100000'), "firstname"=>"Alda", "lastname"=>"King"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4109ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5301d67957353320be100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d67957353320be100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2594ms
Completed 200 OK in 5ms (Views: 3.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d67957353320be110000'), "firstname"=>"Sharon", "lastname"=>"Durgan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3913ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301d67957353320be110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d67957353320be110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5301d67957353320be110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d67957353320be120000'), "firstname"=>"Jess", "lastname"=>"Goodwin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4380ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1829ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d67957353320be130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3306ms
Redirected to http://test.host/admin/clients/5301d67957353320be130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1885ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d67957353320be140000'), "firstname"=>"Davon", "lastname"=>"Roberts"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2967ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1734ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301d67957353320be140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d67957353320be140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d67957353320be140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2907ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1874ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d67957353320be150000'), "firstname"=>"Judson", "lastname"=>"Howell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2447ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301d67957353320be150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d67957353320be150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2385ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 38ms (Views: 36.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d67957353320be160000'), "firstname"=>"Jettie", "lastname"=>"Waters"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4385ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 12ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d67957353320be170000'), "firstname"=>"Eden", "lastname"=>"Gleason"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4218ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d67957353320be180000'), "firstname"=>"Yvette", "lastname"=>"Williamson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4309ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301d67957353320be180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d67957353320be180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3561ms
Completed 200 OK in 6ms (Views: 4.6ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d67957353320be190000'), "firstname"=>"Marlee", "lastname"=>"White"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4714ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301d67957353320be190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d67957353320be190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2704ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d67957353320be190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3278ms
Redirected to http://test.host/admin/clients/5301d67957353320be190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d67957353320be1a0000'), "firstname"=>"Avis", "lastname"=>"Rogahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2798ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1862ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d67957353320be1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2762ms
Redirected to http://test.host/clients/5301d67957353320be1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1623ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d67957353320be1c0000'), "firstname"=>"Esperanza", "lastname"=>"Kihn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2355ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1717ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301d67957353320be1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d67957353320be1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2417ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d67957353320be1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2538ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1775ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d67957353320be1d0000'), "firstname"=>"Frank", "lastname"=>"Keebler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2328ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301d67957353320be1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d67957353320be1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2458ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.2ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d67957353320be1e0000'), "firstname"=>"Kirsten", "lastname"=>"Homenick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3602ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 40ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d67957353320be1f0000'), "firstname"=>"Braulio", "lastname"=>"Greenfelder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d67957353320be200000'), "firstname"=>"Juliana", "lastname"=>"Williamson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4051ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301d67957353320be200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d67957353320be200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms
Completed 200 OK in 4ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d67957353320be210000'), "firstname"=>"Colten", "lastname"=>"Rogahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3840ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301d67957353320be210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d67957353320be210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3727ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d67957353320be210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3044ms
Redirected to http://test.host/clients/5301d67957353320be210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d67957353320be220000'), "name"=>"Ron Kutch", "reference"=>"Lauren Williamson", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4527ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2010ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d67957353320be230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3368ms
Redirected to http://test.host/products/5301d67957353320be230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4198ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d67957353320be240000'), "name"=>"Joana Hickle", "reference"=>"Mrs. Frida Howell", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3665ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1842ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5301d67957353320be240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d67957353320be240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2652ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d67957353320be240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2757ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1893ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d67957353320be250000'), "name"=>"Miss Asa Johnston", "reference"=>"Kaleb Gislason", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2615ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5301d67957353320be250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d67957353320be250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2558ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.4ms)
Completed 200 OK in 10ms (Views: 9.2ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d67957353320be260000'), "name"=>"Dr. Elmo Orn", "reference"=>"Earlene Conn", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4305ms
Processing by ProductsController#index as HTML
Completed 500 Internal Server Error in 12ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d67957353320be270000'), "name"=>"Hiram Greenfelder", "reference"=>"Milo Stokes", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4296ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 8ms (Views: 6.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d67957353320be290000'), "name"=>"Michael Ritchie", "reference"=>"Amie Boyle", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4321ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5301d67957353320be290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d67957353320be290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2467ms
Completed 200 OK in 32ms (Views: 30.8ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d67957353320be2a0000'), "name"=>"Mr. Barry Batz", "reference"=>"Joannie DuBuque", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4257ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301d67957353320be2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d67957353320be2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2584ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d67957353320be2a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3036ms
Redirected to http://test.host/products/5301d67957353320be2a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d67957353320be2b0000'), "firstname"=>"Brain", "lastname"=>"Rolfson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4373ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1847ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d67957353320be2c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3277ms
Redirected to http://test.host/users/5301d67957353320be2c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1944ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d67957353320be2d0000'), "firstname"=>"Concepcion", "lastname"=>"McLaughlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3057ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1771ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5301d67957353320be2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d67957353320be2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3735ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d67957353320be2d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4077ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2640ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d67957353320be2e0000'), "firstname"=>"Rusty", "lastname"=>"Wisoky"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2755ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5301d67957353320be2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d67957353320be2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2658ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d67957353320be2f0000'), "firstname"=>"Darren", "lastname"=>"Lowe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4233ms
Processing by UsersController#index as HTML
Completed 500 Internal Server Error in 41ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d67957353320be300000'), "firstname"=>"Louvenia", "lastname"=>"Kuphal"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4461ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.5ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d67957353320be310000'), "firstname"=>"Loyal", "lastname"=>"Hettinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4225ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5301d67957353320be310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d67957353320be310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2356ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d67957353320be320000'), "firstname"=>"Scottie", "lastname"=>"VonRueden"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3852ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301d67957353320be320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d67957353320be320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2360ms
Unpermitted parameters: name
Redirected to http://test.host/users/5301d67957353320be320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6259ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3555ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3162ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2680ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2728ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6975735332110000000'), "name"=>"Dr. Vincent Torphy", "reference"=>"Keyon Gulgowski", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4800ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2311ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6975735332110010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3713ms
Redirected to http://test.host/admin/products/5301d6975735332110010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2197ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6975735332110020000'), "name"=>"Yasmin Fadel", "reference"=>"Lois Upton", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3380ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2034ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5301d6975735332110020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d6975735332110020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3072ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d6975735332110020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3739ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2233ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6975735332110030000'), "name"=>"Leila Cole", "reference"=>"Haskell Schimmel", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3202ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5301d6975735332110030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d6975735332110030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2906ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.9ms)
Completed 200 OK in 57ms (Views: 56.1ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6975735332110040000'), "name"=>"Barry Kulas", "reference"=>"Eulalia Kessler", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4558ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3309ms
Completed 200 OK in 7ms (Views: 7.0ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6975735332110050000'), "name"=>"Giles Hegmann", "reference"=>"Maggie Huels III", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 22ms (Views: 6.6ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6975735332110080000'), "name"=>"Cedrick Powlowski", "reference"=>"Therese DuBuque", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4630ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5301d6975735332110080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d6975735332110080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2902ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6975735332110090000'), "name"=>"Valentina Fritsch", "reference"=>"Millie Hettinger", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301d6975735332110090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d6975735332110090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2737ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d6975735332110090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3601ms
Redirected to http://test.host/admin/products/5301d6975735332110090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d69757353321100a0000'), "firstname"=>"Raul", "lastname"=>"Lehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3919ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2090ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d69757353321100b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4614ms
Redirected to http://test.host/admin/users/5301d69757353321100b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2407ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d69757353321100c0000'), "firstname"=>"Nyah", "lastname"=>"Witting"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3382ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1869ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5301d69757353321100c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d69757353321100c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d69757353321100c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3092ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1749ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d69757353321100d0000'), "firstname"=>"Lera", "lastname"=>"Yost"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2360ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5301d69757353321100d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d69757353321100d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2244ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.4ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d69757353321100e0000'), "firstname"=>"Wilma", "lastname"=>"Mayert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3617ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3297ms
Completed 200 OK in 8ms (Views: 7.4ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d69757353321100f0000'), "firstname"=>"Hunter", "lastname"=>"Nader"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4135ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d6975735332110100000'), "firstname"=>"Stefanie", "lastname"=>"Oberbrunner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3897ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5301d6975735332110100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d6975735332110100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms
Completed 200 OK in 5ms (Views: 3.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d6975735332110110000'), "firstname"=>"Arturo", "lastname"=>"Frami"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3425ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301d6975735332110110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d6975735332110110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2440ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5301d6975735332110110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6975735332110120000'), "firstname"=>"Nyah", "lastname"=>"Purdy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4713ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2106ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6975735332110130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3841ms
Redirected to http://test.host/admin/clients/5301d6975735332110130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2215ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6975735332110140000'), "firstname"=>"Brian", "lastname"=>"Gutkowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3376ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2043ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301d6975735332110140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d6975735332110140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d6975735332110140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3498ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1975ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6975735332110150000'), "firstname"=>"Alejandrin", "lastname"=>"Nader"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2922ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301d6975735332110150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d6975735332110150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2321ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.4ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6975735332110160000'), "firstname"=>"Jackie", "lastname"=>"Tremblay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3862ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 15ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6975735332110170000'), "firstname"=>"Micah", "lastname"=>"Flatley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4776ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 36ms (Views: 35.2ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6975735332110180000'), "firstname"=>"Immanuel", "lastname"=>"Fay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4533ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301d6975735332110180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d6975735332110180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2885ms
Completed 200 OK in 6ms (Views: 4.3ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6975735332110190000'), "firstname"=>"Marco", "lastname"=>"Breitenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3913ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301d6975735332110190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d6975735332110190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4308ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d6975735332110190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms
Redirected to http://test.host/admin/clients/5301d6975735332110190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d69757353321101a0000'), "firstname"=>"Candace", "lastname"=>"Stokes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3128ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2149ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d69757353321101b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3256ms
Redirected to http://test.host/clients/5301d69757353321101b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2086ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d69757353321101c0000'), "firstname"=>"Roger", "lastname"=>"Streich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2568ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1900ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301d69757353321101c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d69757353321101c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d69757353321101c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2699ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1912ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d69757353321101d0000'), "firstname"=>"Lavern", "lastname"=>"Wiza"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2483ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301d69757353321101d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d69757353321101d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2363ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.2ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d69757353321101e0000'), "firstname"=>"Nils", "lastname"=>"Zboncak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3166ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 14ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d69757353321101f0000'), "firstname"=>"Dallin", "lastname"=>"Hettinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4643ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (31.1ms)
Completed 200 OK in 36ms (Views: 35.1ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6975735332110200000'), "firstname"=>"Elliot", "lastname"=>"Ratke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4358ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301d6975735332110200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d6975735332110200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2776ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6975735332110210000'), "firstname"=>"Mohammad", "lastname"=>"Conroy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3425ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301d6975735332110210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d6975735332110210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4235ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d6975735332110210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3702ms
Redirected to http://test.host/clients/5301d6975735332110210000
Completed 302 Found in 4ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6975735332110220000'), "name"=>"Baby Wiegand", "reference"=>"Ms. Richie Huels", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3974ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2011ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6975735332110230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3784ms
Redirected to http://test.host/products/5301d6975735332110230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2224ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6975735332110240000'), "name"=>"Eliane Johnston DDS", "reference"=>"Jeremy Aufderhar", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3355ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2050ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5301d6975735332110240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d6975735332110240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2382ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d6975735332110240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2281ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1506ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6975735332110250000'), "name"=>"Dr. Emelia Bernhard", "reference"=>"Clint Blick", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2561ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5301d6975735332110250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d6975735332110250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2943ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.3ms)
Completed 200 OK in 11ms (Views: 9.6ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6975735332110260000'), "name"=>"Gay Reinger", "reference"=>"Jade Batz", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4445ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms
Completed 200 OK in 10ms (Views: 9.9ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6975735332110270000'), "name"=>"Michelle Keeling", "reference"=>"Ms. Orville Bayer", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3381ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.0ms)
Completed 200 OK in 8ms (Views: 7.3ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6975735332110290000'), "name"=>"Emmanuel Wilkinson", "reference"=>"Miss Jaylin Ullrich", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4606ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5301d6975735332110290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d6975735332110290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2851ms
Completed 200 OK in 5ms (Views: 3.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d69757353321102a0000'), "name"=>"Mckayla Von", "reference"=>"Karli Parisian", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3725ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301d69757353321102a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d69757353321102a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2667ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d69757353321102a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3153ms
Redirected to http://test.host/products/5301d69757353321102a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d69757353321102b0000'), "firstname"=>"Talia", "lastname"=>"Wintheiser"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3675ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2112ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d69757353321102c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3135ms
Redirected to http://test.host/users/5301d69757353321102c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2357ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d69757353321102d0000'), "firstname"=>"Manley", "lastname"=>"Hamill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7488ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3152ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5301d69757353321102d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d69757353321102d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3154ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d69757353321102d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3507ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2388ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d69757353321102e0000'), "firstname"=>"Wilfred", "lastname"=>"Kemmer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2715ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5301d69757353321102e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d69757353321102e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2458ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 41ms (Views: 39.9ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d69757353321102f0000'), "firstname"=>"Curt", "lastname"=>"Dickinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5115ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5621ms
Completed 200 OK in 12ms (Views: 11.6ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d6975735332110300000'), "firstname"=>"Madelynn", "lastname"=>"Kub"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4169ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d6975735332110310000'), "firstname"=>"Nella", "lastname"=>"Goyette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3961ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5301d6975735332110310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d6975735332110310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2791ms
Completed 200 OK in 5ms (Views: 3.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d6975735332110320000'), "firstname"=>"Alice", "lastname"=>"Sanford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4213ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301d6975735332110320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d6975735332110320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3539ms
Unpermitted parameters: name
Redirected to http://test.host/users/5301d6975735332110320000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6553ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3141ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3135ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2670ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2406ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6ae573533213b000000'), "name"=>"Lorenzo Davis", "reference"=>"Clemmie Lynch", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5139ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2253ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6ae573533213b010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4276ms
Redirected to http://test.host/admin/products/5301d6ae573533213b010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2361ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6ae573533213b020000'), "name"=>"Tamara Ratke", "reference"=>"Petra Koch", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3254ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2208ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5301d6ae573533213b020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d6ae573533213b020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2997ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d6ae573533213b020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3481ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2280ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6ae573533213b030000'), "name"=>"Coy Murazik", "reference"=>"Kay Lebsack", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2982ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5301d6ae573533213b030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d6ae573533213b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2993ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms)
Completed 200 OK in 55ms (Views: 53.3ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6ae573533213b040000'), "name"=>"Eden Lebsack", "reference"=>"Edna Conn", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4674ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3317ms
Completed 200 OK in 7ms (Views: 6.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6ae573533213b050000'), "name"=>"Jonathan Little", "reference"=>"Amos Koepp", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3593ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 20ms (Views: 6.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6ae573533213b080000'), "name"=>"Ava Sawayn Jr.", "reference"=>"Moses Pagac", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4211ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5301d6ae573533213b080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d6ae573533213b080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6ae573533213b090000'), "name"=>"Malachi Grant IV", "reference"=>"Nicholaus Strosin I", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3990ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301d6ae573533213b090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d6ae573533213b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2551ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d6ae573533213b090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3228ms
Redirected to http://test.host/admin/products/5301d6ae573533213b090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d6ae573533213b0a0000'), "firstname"=>"Diana", "lastname"=>"Hackett"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4215ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1803ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d6ae573533213b0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4445ms
Redirected to http://test.host/admin/users/5301d6ae573533213b0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3145ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d6ae573533213b0c0000'), "firstname"=>"Orin", "lastname"=>"Hermann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3397ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1761ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5301d6ae573533213b0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d6ae573533213b0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d6ae573533213b0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1993ms
Redirected to http://test.host/admin/users
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2311ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d6ae573533213b0d0000'), "firstname"=>"Ubaldo", "lastname"=>"Kuhlman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2915ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5301d6ae573533213b0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d6ae573533213b0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2495ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d6ae573533213b0e0000'), "firstname"=>"Ervin", "lastname"=>"Leuschke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4439ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3878ms
Completed 200 OK in 8ms (Views: 7.1ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d6ae573533213b0f0000'), "firstname"=>"Meghan", "lastname"=>"Heathcote"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3947ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d6ae573533213b100000'), "firstname"=>"Troy", "lastname"=>"Wolf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5301d6ae573533213b100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d6ae573533213b100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms
Completed 200 OK in 5ms (Views: 3.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d6ae573533213b110000'), "firstname"=>"Emely", "lastname"=>"Nikolaus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3821ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301d6ae573533213b110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d6ae573533213b110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2511ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5301d6ae573533213b110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b120000'), "firstname"=>"Courtney", "lastname"=>"Veum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4493ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1697ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3263ms
Redirected to http://test.host/admin/clients/5301d6af573533213b130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1731ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b140000'), "firstname"=>"Alexandre", "lastname"=>"Mann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2892ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1556ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301d6af573533213b140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d6af573533213b140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2400ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d6af573533213b140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0160ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 7ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2422ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b150000'), "firstname"=>"Myrtis", "lastname"=>"Hilll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3053ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301d6af573533213b150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d6af573533213b150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2958ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 10ms (Views: 8.2ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b160000'), "firstname"=>"Susana", "lastname"=>"Mitchell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4433ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 13ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b170000'), "firstname"=>"Jamie", "lastname"=>"Rempel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4151ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 33ms (Views: 32.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b180000'), "firstname"=>"Jamie", "lastname"=>"Cruickshank"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4135ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301d6af573533213b180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d6af573533213b180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms
Completed 200 OK in 6ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b190000'), "firstname"=>"Tillman", "lastname"=>"Braun"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4027ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301d6af573533213b190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d6af573533213b190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3024ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d6af573533213b190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5231ms
Redirected to http://test.host/admin/clients/5301d6af573533213b190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b1a0000'), "firstname"=>"Carolyne", "lastname"=>"Mann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3696ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2240ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3567ms
Redirected to http://test.host/clients/5301d6af573533213b1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2368ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b1c0000'), "firstname"=>"Amely", "lastname"=>"Wehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2832ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2169ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301d6af573533213b1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d6af573533213b1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2775ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d6af573533213b1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2602ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1830ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b1d0000'), "firstname"=>"Moises", "lastname"=>"Quitzon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301d6af573533213b1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d6af573533213b1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2455ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b1e0000'), "firstname"=>"Fabian", "lastname"=>"Mraz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9314ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 12ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b1f0000'), "firstname"=>"Pierre", "lastname"=>"Schultz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4201ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (29.0ms)
Completed 200 OK in 33ms (Views: 32.4ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b200000'), "firstname"=>"Jakayla", "lastname"=>"Franecki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4306ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301d6af573533213b200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d6af573533213b200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms
Completed 200 OK in 5ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b210000'), "firstname"=>"Wellington", "lastname"=>"Dach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3481ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301d6af573533213b210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d6af573533213b210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2924ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d6af573533213b210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4183ms
Redirected to http://test.host/clients/5301d6af573533213b210000
Completed 302 Found in 4ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b220000'), "name"=>"Joy Hoppe", "reference"=>"Zella Bayer", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4457ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1833ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3475ms
Redirected to http://test.host/products/5301d6af573533213b230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1914ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b240000'), "name"=>"Telly Luettgen", "reference"=>"Eric Koch", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3171ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1774ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5301d6af573533213b240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d6af573533213b240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d6af573533213b240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2623ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1905ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b250000'), "name"=>"Berniece Schultz", "reference"=>"Furman Reilly", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2518ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5301d6af573533213b250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d6af573533213b250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2492ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.0ms)
Completed 200 OK in 10ms (Views: 8.7ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b260000'), "name"=>"Marisa Davis", "reference"=>"Genoveva Macejkovic", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4446ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3714ms
Completed 200 OK in 10ms (Views: 9.8ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b270000'), "name"=>"Clotilde Watsica", "reference"=>"Mrs. Theresia Waters", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3575ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.0ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b290000'), "name"=>"Lew Parker", "reference"=>"Jennyfer Hilpert", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4548ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5301d6af573533213b290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d6af573533213b290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3705ms
Completed 200 OK in 6ms (Views: 3.9ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b2a0000'), "name"=>"Mrs. Angie Wehner", "reference"=>"Cleo Ruecker", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4328ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301d6af573533213b2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d6af573533213b2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2578ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d6af573533213b2a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2900ms
Redirected to http://test.host/products/5301d6af573533213b2a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b2b0000'), "firstname"=>"Immanuel", "lastname"=>"Robel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1800ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b2c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3185ms
Redirected to http://test.host/users/5301d6af573533213b2c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1870ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b2d0000'), "firstname"=>"Edward", "lastname"=>"Collins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3002ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1711ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5301d6af573533213b2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d6af573533213b2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2432ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d6af573533213b2d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2635ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1778ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b2e0000'), "firstname"=>"Ward", "lastname"=>"Renner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2722ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5301d6af573533213b2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d6af573533213b2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3757ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 38ms (Views: 36.3ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b2f0000'), "firstname"=>"Ahmed", "lastname"=>"Mohr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4353ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3792ms
Completed 200 OK in 11ms (Views: 10.1ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b300000'), "firstname"=>"Savannah", "lastname"=>"Hickle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3665ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b310000'), "firstname"=>"Blaise", "lastname"=>"Ondricka"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4813ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5301d6af573533213b310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d6af573533213b310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3415ms
Completed 200 OK in 5ms (Views: 3.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d6af573533213b320000'), "firstname"=>"Haleigh", "lastname"=>"McLaughlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4010ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301d6af573533213b320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d6af573533213b320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2588ms
Unpermitted parameters: name
Redirected to http://test.host/users/5301d6af573533213b320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6432ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2935ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2884ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2412ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2894ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d71257353321cc000000'), "name"=>"Florine Larkin", "reference"=>"Halie Grimes", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4489ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1789ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d71257353321cc010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3816ms
Redirected to http://test.host/admin/products/5301d71257353321cc010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1865ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d71257353321cc020000'), "name"=>"Kellen Dickens", "reference"=>"Charlie Abernathy", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3137ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1748ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5301d71257353321cc020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d71257353321cc020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2935ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d71257353321cc020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2289ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d71257353321cc030000'), "name"=>"Maximillia Stroman", "reference"=>"Ashton Howe", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3065ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5301d71257353321cc030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d71257353321cc030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3119ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.9ms)
Completed 200 OK in 55ms (Views: 53.6ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d71257353321cc040000'), "name"=>"David Hayes", "reference"=>"Zane Wisozk III", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 7.7113ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3469ms
Completed 200 OK in 7ms (Views: 6.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d71257353321cc050000'), "name"=>"Odie Nicolas", "reference"=>"Michel Funk", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3563ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 22ms (Views: 5.9ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d71257353321cc080000'), "name"=>"King Wyman", "reference"=>"Nayeli Stark", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4277ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5301d71257353321cc080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d71257353321cc080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2500ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d71257353321cc090000'), "name"=>"Elinore Dicki", "reference"=>"Hank Stroman", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4018ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301d71257353321cc090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d71257353321cc090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d71257353321cc090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3178ms
Redirected to http://test.host/admin/products/5301d71257353321cc090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d71257353321cc0a0000'), "firstname"=>"Katarina", "lastname"=>"Lockman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4685ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1827ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d71257353321cc0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3184ms
Redirected to http://test.host/admin/users/5301d71257353321cc0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1875ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d71257353321cc0c0000'), "firstname"=>"Laney", "lastname"=>"Glover"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2943ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1735ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5301d71257353321cc0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d71257353321cc0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d71257353321cc0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2919ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1825ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d71257353321cc0d0000'), "firstname"=>"Amely", "lastname"=>"Borer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2451ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5301d71257353321cc0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d71257353321cc0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2434ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.0ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d71257353321cc0e0000'), "firstname"=>"Peggie", "lastname"=>"Mosciski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4099ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3734ms
Completed 200 OK in 7ms (Views: 6.9ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d71257353321cc0f0000'), "firstname"=>"Shemar", "lastname"=>"Klein"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3357ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d71257353321cc100000'), "firstname"=>"Jacinto", "lastname"=>"Pfannerstill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3996ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5301d71257353321cc100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d71257353321cc100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2442ms
Completed 200 OK in 5ms (Views: 3.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d71257353321cc110000'), "firstname"=>"Delpha", "lastname"=>"Monahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.2717ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301d71257353321cc110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d71257353321cc110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2918ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5301d71257353321cc110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d71257353321cc120000'), "firstname"=>"Maida", "lastname"=>"Fadel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4986ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2340ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d71257353321cc130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3494ms
Redirected to http://test.host/admin/clients/5301d71257353321cc130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2179ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d71257353321cc140000'), "firstname"=>"Ethan", "lastname"=>"Schuster"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3313ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2025ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301d71257353321cc140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d71257353321cc140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3687ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d71257353321cc140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5534ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2592ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d71257353321cc150000'), "firstname"=>"Jovani", "lastname"=>"O'Kon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3047ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301d71257353321cc150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d71257353321cc150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2734ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 10ms (Views: 8.6ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d71257353321cc160000'), "firstname"=>"Karl", "lastname"=>"Morissette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3835ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3165ms
Completed 200 OK in 8ms (Views: 6.5ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d71257353321cc170000'), "firstname"=>"Nicolas", "lastname"=>"Dare"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8491ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc180000'), "firstname"=>"Coby", "lastname"=>"Fay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3983ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301d71357353321cc180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d71357353321cc180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms
Completed 200 OK in 5ms (Views: 4.0ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc190000'), "firstname"=>"Rachael", "lastname"=>"Altenwerth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3976ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301d71357353321cc190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d71357353321cc190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4251ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d71357353321cc190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3879ms
Redirected to http://test.host/admin/clients/5301d71357353321cc190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc1a0000'), "firstname"=>"Garrison", "lastname"=>"Rath"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2487ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1565ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2727ms
Redirected to http://test.host/clients/5301d71357353321cc1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1988ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc1c0000'), "firstname"=>"Scarlett", "lastname"=>"Streich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2490ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1819ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301d71357353321cc1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d71357353321cc1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d71357353321cc1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2705ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1943ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc1d0000'), "firstname"=>"Chelsey", "lastname"=>"Fritsch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301d71357353321cc1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d71357353321cc1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2415ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc1e0000'), "firstname"=>"Lilian", "lastname"=>"Dickinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3289ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms
Completed 200 OK in 42ms (Views: 41.3ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc1f0000'), "firstname"=>"Percy", "lastname"=>"Mills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4770ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 4.9ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc200000'), "firstname"=>"Florence", "lastname"=>"Ondricka"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7877ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301d71357353321cc200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d71357353321cc200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2957ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc210000'), "firstname"=>"Carol", "lastname"=>"Olson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3343ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301d71357353321cc210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d71357353321cc210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2718ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d71357353321cc210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2940ms
Redirected to http://test.host/clients/5301d71357353321cc210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc220000'), "name"=>"Ms. Leon Schmeler", "reference"=>"Destiney Hills", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4948ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2427ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3503ms
Redirected to http://test.host/products/5301d71357353321cc230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2127ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc240000'), "name"=>"Creola Littel", "reference"=>"Mr. Orin Hand", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3313ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1988ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5301d71357353321cc240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d71357353321cc240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2516ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d71357353321cc240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2764ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1941ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc250000'), "name"=>"Phyllis Bechtelar", "reference"=>"Friedrich Lebsack", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2530ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5301d71357353321cc250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d71357353321cc250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2368ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 9ms (Views: 8.3ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc260000'), "name"=>"Larry Bednar", "reference"=>"Adrian Goldner", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5706ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4201ms
Completed 200 OK in 11ms (Views: 10.4ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc270000'), "name"=>"Aletha Hammes", "reference"=>"Deshawn Larson IV", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 7ms (Views: 6.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc290000'), "name"=>"Jordane Parisian V", "reference"=>"Clifford Wilderman", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5301d71357353321cc290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d71357353321cc290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2728ms
Completed 200 OK in 6ms (Views: 4.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc2a0000'), "name"=>"Darrin Wolff V", "reference"=>"Dewitt Parker", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5044ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301d71357353321cc2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d71357353321cc2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2983ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d71357353321cc2a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3300ms
Redirected to http://test.host/products/5301d71357353321cc2a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc2b0000'), "firstname"=>"Delfina", "lastname"=>"Okuneva"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4118ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2534ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc2c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3583ms
Redirected to http://test.host/users/5301d71357353321cc2c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2465ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc2d0000'), "firstname"=>"Chaim", "lastname"=>"Boyer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3588ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2372ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5301d71357353321cc2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d71357353321cc2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2883ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d71357353321cc2d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3936ms
Redirected to http://test.host/users
Completed 302 Found in 7ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2861ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc2e0000'), "firstname"=>"Bettie", "lastname"=>"Wintheiser"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3194ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5301d71357353321cc2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d71357353321cc2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2757ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 41ms (Views: 39.8ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc2f0000'), "firstname"=>"Tate", "lastname"=>"Franecki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4976ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4014ms
Completed 200 OK in 11ms (Views: 10.6ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc300000'), "firstname"=>"Yessenia", "lastname"=>"Cummings"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4410ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.2ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc310000'), "firstname"=>"Lew", "lastname"=>"Ryan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4261ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5301d71357353321cc310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d71357353321cc310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2790ms
Completed 200 OK in 5ms (Views: 3.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d71357353321cc320000'), "firstname"=>"Gaetano", "lastname"=>"Hackett"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3690ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301d71357353321cc320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d71357353321cc320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2244ms
Unpermitted parameters: name
Redirected to http://test.host/users/5301d71357353321cc320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6151ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2855ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3695ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3154ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3151ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d77f573533231f000000'), "name"=>"Diana Boyle", "reference"=>"Jordane Haag", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4457ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1780ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d77f573533231f010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3859ms
Redirected to http://test.host/admin/products/5301d77f573533231f010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2345ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d77f573533231f020000'), "name"=>"Garry Kuphal", "reference"=>"Tre Koelpin", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3294ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1786ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5301d77f573533231f020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d77f573533231f020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2558ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d77f573533231f020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2969ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2271ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d77f573533231f030000'), "name"=>"Dr. Davon Crona", "reference"=>"Oral Rohan", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2989ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5301d77f573533231f030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d77f573533231f030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2964ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms)
Completed 200 OK in 55ms (Views: 54.1ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d77f573533231f040000'), "name"=>"Stephen Stoltenberg", "reference"=>"Mrs. Morris Mann", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 219.2152ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3898ms
Completed 200 OK in 7ms (Views: 7.0ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d77f573533231f050000'), "name"=>"Eli Farrell", "reference"=>"Lexus Morissette DDS", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4025ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 20ms (Views: 5.7ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d77f573533231f080000'), "name"=>"Dillan Sipes Sr.", "reference"=>"Christelle Monahan", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4582ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5301d77f573533231f080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d77f573533231f080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3042ms
Completed 200 OK in 6ms (Views: 4.2ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d77f573533231f090000'), "name"=>"Maia Stokes", "reference"=>"Mr. Filiberto Mann", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4485ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301d77f573533231f090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d77f573533231f090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2609ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d77f573533231f090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3219ms
Redirected to http://test.host/admin/products/5301d77f573533231f090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d77f573533231f0a0000'), "firstname"=>"Delbert", "lastname"=>"Walsh"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4119ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1776ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d77f573533231f0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms
Redirected to http://test.host/admin/users/5301d77f573533231f0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2293ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d77f573533231f0c0000'), "firstname"=>"Maximus", "lastname"=>"Hahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3402ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2205ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5301d77f573533231f0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d77f573533231f0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2895ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d77f573533231f0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2381ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d77f573533231f0d0000'), "firstname"=>"Howard", "lastname"=>"Wuckert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2735ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5301d77f573533231f0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d77f573533231f0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3696ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d77f573533231f0e0000'), "firstname"=>"Reanna", "lastname"=>"Sporer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4060ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3179ms
Completed 200 OK in 7ms (Views: 6.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d77f573533231f0f0000'), "firstname"=>"Laura", "lastname"=>"Herman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3422ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d77f573533231f100000'), "firstname"=>"Verona", "lastname"=>"Abernathy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4123ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5301d77f573533231f100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d77f573533231f100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3782ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d77f573533231f110000'), "firstname"=>"Green", "lastname"=>"Huels"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.3714ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301d77f573533231f110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d77f573533231f110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5301d77f573533231f110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d780573533231f120000'), "firstname"=>"Kirsten", "lastname"=>"Waters"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4422ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1820ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d780573533231f130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3528ms
Redirected to http://test.host/admin/clients/5301d780573533231f130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1911ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d780573533231f140000'), "firstname"=>"Michelle", "lastname"=>"Herzog"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3268ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1768ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301d780573533231f140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d780573533231f140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2484ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d780573533231f140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2971ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1853ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d780573533231f150000'), "firstname"=>"Litzy", "lastname"=>"Waters"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2480ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301d780573533231f150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d780573533231f150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2458ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 9ms (Views: 8.2ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d780573533231f160000'), "firstname"=>"Benton", "lastname"=>"Legros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4092ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3219ms
Completed 200 OK in 8ms (Views: 6.6ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d780573533231f170000'), "firstname"=>"Amelia", "lastname"=>"Bauch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4296ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d780573533231f180000'), "firstname"=>"Connie", "lastname"=>"Smitham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8050ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301d780573533231f180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d780573533231f180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2451ms
Completed 200 OK in 5ms (Views: 4.0ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d780573533231f190000'), "firstname"=>"Blanche", "lastname"=>"McLaughlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3990ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301d780573533231f190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d780573533231f190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4267ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d780573533231f190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3546ms
Redirected to http://test.host/admin/clients/5301d780573533231f190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d780573533231f1a0000'), "firstname"=>"Stone", "lastname"=>"DuBuque"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2865ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1861ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d780573533231f1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3048ms
Redirected to http://test.host/clients/5301d780573533231f1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1584ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d780573533231f1c0000'), "firstname"=>"Della", "lastname"=>"Shields"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2142ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301d780573533231f1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d780573533231f1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2948ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d780573533231f1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2568ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1842ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d780573533231f1d0000'), "firstname"=>"Gail", "lastname"=>"Ferry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2363ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301d780573533231f1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d780573533231f1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 4.9ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d780573533231f1e0000'), "firstname"=>"Clint", "lastname"=>"Stokes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3647ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4064ms
Completed 200 OK in 41ms (Views: 39.9ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d780573533231f1f0000'), "firstname"=>"Anya", "lastname"=>"Collier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4130ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.6ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d780573533231f200000'), "firstname"=>"Gust", "lastname"=>"Dach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301d780573533231f200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d780573533231f200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3042ms
Completed 200 OK in 5ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d780573533231f210000'), "firstname"=>"Wendy", "lastname"=>"Leuschke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3968ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301d780573533231f210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d780573533231f210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2587ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d780573533231f210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0255ms
Redirected to http://test.host/clients/5301d780573533231f210000
Completed 302 Found in 9ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d780573533231f220000'), "name"=>"Morris Murray", "reference"=>"Chandler Spinka", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4665ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2273ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d780573533231f230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3847ms
Redirected to http://test.host/products/5301d780573533231f230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2382ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d780573533231f240000'), "name"=>"Lupe Jacobs", "reference"=>"Colt Ullrich Jr.", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3592ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2244ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5301d780573533231f240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d780573533231f240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2927ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d780573533231f240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2623ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1816ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d780573533231f250000'), "name"=>"Narciso Kerluke", "reference"=>"Maci Langworth", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2505ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5301d780573533231f250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d780573533231f250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2522ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d780573533231f260000'), "name"=>"Karolann Kuvalis", "reference"=>"Loyce Gottlieb", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5665ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3772ms
Completed 200 OK in 10ms (Views: 9.8ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d780573533231f270000'), "name"=>"Freida Mayer V", "reference"=>"Ryann Murphy", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3420ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.0ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d780573533231f290000'), "name"=>"Rita Block", "reference"=>"Lue Price", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3952ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5301d780573533231f290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d780573533231f290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2802ms
Completed 200 OK in 5ms (Views: 3.8ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d780573533231f2a0000'), "name"=>"Ms. Weston Satterfield", "reference"=>"Webster Kovacek V", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4489ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301d780573533231f2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d780573533231f2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2684ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d780573533231f2a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2882ms
Redirected to http://test.host/products/5301d780573533231f2a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d780573533231f2b0000'), "firstname"=>"Megane", "lastname"=>"Reinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3610ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1835ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d780573533231f2c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3466ms
Redirected to http://test.host/users/5301d780573533231f2c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2321ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d780573533231f2d0000'), "firstname"=>"Laury", "lastname"=>"Stiedemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3447ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2009ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5301d780573533231f2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d780573533231f2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2927ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d780573533231f2d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3055ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2430ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d780573533231f2e0000'), "firstname"=>"Shaun", "lastname"=>"Prohaska"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2681ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5301d780573533231f2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d780573533231f2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2958ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 39ms (Views: 37.4ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d780573533231f2f0000'), "firstname"=>"Alexa", "lastname"=>"Collier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4452ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4157ms
Completed 200 OK in 11ms (Views: 10.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d780573533231f300000'), "firstname"=>"Nash", "lastname"=>"Heaney"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3765ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d780573533231f310000'), "firstname"=>"Verner", "lastname"=>"Abshire"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5301d780573533231f310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d780573533231f310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d780573533231f320000'), "firstname"=>"Jamey", "lastname"=>"Morar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4456ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301d780573533231f320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d780573533231f320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms
Unpermitted parameters: name
Redirected to http://test.host/users/5301d780573533231f320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6857ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3198ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2930ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2944ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2936ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d89d5735332383000000'), "name"=>"Joanny Cartwright", "reference"=>"Mekhi Terry", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5014ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2311ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d89d5735332383010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3722ms
Redirected to http://test.host/admin/products/5301d89d5735332383010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2183ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d89d5735332383020000'), "name"=>"Lonnie Bosco DVM", "reference"=>"Estell Kertzmann", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3319ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1997ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5301d89d5735332383020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d89d5735332383020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d89d5735332383020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3215ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1968ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d89d5735332383030000'), "name"=>"Norris Franecki", "reference"=>"Ryley Smith III", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2550ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5301d89d5735332383030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d89d5735332383030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2388ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.9ms)
Completed 200 OK in 57ms (Views: 55.5ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d89d5735332383040000'), "name"=>"Bradley Jenkins", "reference"=>"Julio Lindgren", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4645ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3242ms
Completed 200 OK in 7ms (Views: 6.9ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d89d5735332383050000'), "name"=>"Kiel Russel", "reference"=>"Dr. Dillon Crooks", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3395ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 21ms (Views: 6.5ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d89d5735332383080000'), "name"=>"Stephanie Baumbach", "reference"=>"Shawn Daniel", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4286ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5301d89d5735332383080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d89d5735332383080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2798ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d89d5735332383090000'), "name"=>"Berta Howell", "reference"=>"Katelyn Jast", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3695ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301d89d5735332383090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d89d5735332383090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2669ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d89d5735332383090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3586ms
Redirected to http://test.host/admin/products/5301d89d5735332383090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d89d57353323830a0000'), "firstname"=>"Lucinda", "lastname"=>"Prohaska"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4184ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2212ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d89d57353323830b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4728ms
Redirected to http://test.host/admin/users/5301d89d57353323830b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2256ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d89d57353323830c0000'), "firstname"=>"Kennedy", "lastname"=>"Schinner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3476ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2078ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5301d89d57353323830c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d89d57353323830c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2608ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d89d57353323830c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3242ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2017ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d89d57353323830d0000'), "firstname"=>"Vivian", "lastname"=>"Fadel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2541ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5301d89d57353323830d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d89d57353323830d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.3ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d89e57353323830e0000'), "firstname"=>"Euna", "lastname"=>"Herman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3774ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3173ms
Completed 200 OK in 8ms (Views: 7.1ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d89e57353323830f0000'), "firstname"=>"Marge", "lastname"=>"Sipes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4347ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d89e5735332383100000'), "firstname"=>"Fern", "lastname"=>"Yost"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3859ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5301d89e5735332383100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d89e5735332383100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2734ms
Completed 200 OK in 5ms (Views: 3.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d89e5735332383110000'), "firstname"=>"Brody", "lastname"=>"Bernhard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3787ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301d89e5735332383110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d89e5735332383110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2621ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5301d89e5735332383110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d89e5735332383120000'), "firstname"=>"Luisa", "lastname"=>"Schimmel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5425ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2335ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d89e5735332383130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3497ms
Redirected to http://test.host/admin/clients/5301d89e5735332383130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2139ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d89e5735332383140000'), "firstname"=>"Winifred", "lastname"=>"Little"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3276ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2007ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301d89e5735332383140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d89e5735332383140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d89e5735332383140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3157ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1959ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d89e5735332383150000'), "firstname"=>"Earline", "lastname"=>"Beier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2631ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301d89e5735332383150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d89e5735332383150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2364ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.4ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d89e5735332383160000'), "firstname"=>"Yvonne", "lastname"=>"Morar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3782ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3033ms
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d89e5735332383170000'), "firstname"=>"Greg", "lastname"=>"Bergstrom"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4498ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 200 OK in 7ms (Views: 6.4ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d89e5735332383180000'), "firstname"=>"Bart", "lastname"=>"Leuschke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4402ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301d89e5735332383180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d89e5735332383180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms
Completed 200 OK in 6ms (Views: 4.3ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d89e5735332383190000'), "firstname"=>"Herta", "lastname"=>"Legros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4920ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301d89e5735332383190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d89e5735332383190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2661ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d89e5735332383190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3467ms
Redirected to http://test.host/admin/clients/5301d89e5735332383190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d89e57353323831a0000'), "firstname"=>"Sherwood", "lastname"=>"O'Keefe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2852ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2028ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d89e57353323831b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3190ms
Redirected to http://test.host/clients/5301d89e57353323831b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2047ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d89e57353323831c0000'), "firstname"=>"Isidro", "lastname"=>"Pouros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2473ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1840ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301d89e57353323831c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d89e57353323831c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2417ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d89e57353323831c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8616ms
Redirected to http://test.host/clients
Completed 302 Found in 7ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1878ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d89e57353323831d0000'), "firstname"=>"Lempi", "lastname"=>"McGlynn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2423ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301d89e57353323831d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d89e57353323831d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2349ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 7ms (Views: 5.9ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d89e57353323831e0000'), "firstname"=>"Percy", "lastname"=>"Medhurst"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4161ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3775ms
Completed 200 OK in 42ms (Views: 41.6ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d89e57353323831f0000'), "firstname"=>"Jasper", "lastname"=>"Kiehn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4460ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d89e5735332383200000'), "firstname"=>"Ludie", "lastname"=>"Rutherford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4663ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301d89e5735332383200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d89e5735332383200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2899ms
Completed 200 OK in 5ms (Views: 3.3ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d89e5735332383210000'), "firstname"=>"Clotilde", "lastname"=>"Hudson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3280ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301d89e5735332383210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d89e5735332383210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2676ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d89e5735332383210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3113ms
Redirected to http://test.host/clients/5301d89e5735332383210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d89e5735332383220000'), "name"=>"Lonny Murphy", "reference"=>"Alfreda Heathcote", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3805ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2122ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d89e5735332383230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3278ms
Redirected to http://test.host/products/5301d89e5735332383230000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2139ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d89e5735332383240000'), "name"=>"Milo Collier", "reference"=>"Corene Runte MD", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5698ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2969ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5301d89e5735332383240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d89e5735332383240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3026ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d89e5735332383240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.3010ms
Redirected to http://test.host/products
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2052ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d89e5735332383250000'), "name"=>"Alexandrine Prohaska I", "reference"=>"Mr. Stefan Collins", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2737ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5301d89e5735332383250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d89e5735332383250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2529ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms)
Completed 200 OK in 9ms (Views: 8.2ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d89e5735332383260000'), "name"=>"Mylene Ondricka", "reference"=>"Christopher Altenwerth", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3757ms
Completed 200 OK in 11ms (Views: 10.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d89e5735332383270000'), "name"=>"Gideon Douglas", "reference"=>"Beatrice Harvey II", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4153ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 7ms (Views: 6.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d89e5735332383290000'), "name"=>"Ciara Bogisich IV", "reference"=>"Keagan Senger", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4023ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5301d89e5735332383290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d89e5735332383290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms
Completed 200 OK in 5ms (Views: 3.4ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d89e57353323832a0000'), "name"=>"Bettie Mante", "reference"=>"Shaniya Stark", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3648ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301d89e57353323832a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d89e57353323832a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2700ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d89e57353323832a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3248ms
Redirected to http://test.host/products/5301d89e57353323832a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d89e57353323832b0000'), "firstname"=>"Elissa", "lastname"=>"Wisoky"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4731ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2311ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d89e57353323832c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3340ms
Redirected to http://test.host/users/5301d89e57353323832c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2138ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d89e57353323832d0000'), "firstname"=>"Loy", "lastname"=>"Bechtelar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3251ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1988ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5301d89e57353323832d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d89e57353323832d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d89e57353323832d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2786ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1911ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d89e57353323832e0000'), "firstname"=>"Antonio", "lastname"=>"Collins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2477ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5301d89e57353323832e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d89e57353323832e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2357ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 42ms (Views: 40.8ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d89e57353323832f0000'), "firstname"=>"Lavern", "lastname"=>"King"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4355ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3698ms
Completed 200 OK in 10ms (Views: 10.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d89e5735332383300000'), "firstname"=>"Joshua", "lastname"=>"Schmitt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3417ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d89e5735332383310000'), "firstname"=>"Ricardo", "lastname"=>"Brakus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3779ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5301d89e5735332383310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d89e5735332383310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2673ms
Completed 200 OK in 5ms (Views: 4.0ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d89e5735332383320000'), "firstname"=>"Louisa", "lastname"=>"Padberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4862ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301d89e5735332383320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d89e5735332383320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2918ms
Unpermitted parameters: name
Redirected to http://test.host/users/5301d89e5735332383320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6005ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2897ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2913ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2931ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba000000'), "name"=>"Neal Dietrich", "reference"=>"Noemie Pfeffer MD", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4981ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2417ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3736ms
Redirected to http://test.host/admin/products/5301d91657353323ba010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1793ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba020000'), "name"=>"Bella O'Hara Jr.", "reference"=>"Irwin Kunze", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1879ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5301d91657353323ba020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d91657353323ba020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d91657353323ba020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3255ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1983ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba030000'), "name"=>"Oscar Stehr", "reference"=>"Henriette Murazik", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2566ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5301d91657353323ba030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d91657353323ba030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2879ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.9ms)
Completed 200 OK in 56ms (Views: 55.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba040000'), "name"=>"Ms. Lorine Weissnat", "reference"=>"Esteban Price", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.8720ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6340ms
Completed 200 OK in 8ms (Views: 7.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba050000'), "name"=>"Kirk Kutch", "reference"=>"Watson Dibbert", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 21ms (Views: 6.3ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba080000'), "name"=>"Foster Stanton", "reference"=>"Kristin Hagenes", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4508ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5301d91657353323ba080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d91657353323ba080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2757ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba090000'), "name"=>"Estefania Shanahan", "reference"=>"Lilly Carroll V", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3931ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301d91657353323ba090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d91657353323ba090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2676ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d91657353323ba090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3576ms
Redirected to http://test.host/admin/products/5301d91657353323ba090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba0a0000'), "firstname"=>"Camille", "lastname"=>"O'Connell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4057ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2165ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4825ms
Redirected to http://test.host/admin/users/5301d91657353323ba0b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2870ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba0c0000'), "firstname"=>"Theron", "lastname"=>"Casper"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2669ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5301d91657353323ba0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d91657353323ba0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3062ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d91657353323ba0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3819ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2450ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba0d0000'), "firstname"=>"Jazmyn", "lastname"=>"Fisher"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3011ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5301d91657353323ba0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d91657353323ba0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2875ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.4ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba0e0000'), "firstname"=>"Alene", "lastname"=>"Roob"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3721ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3183ms
Completed 200 OK in 8ms (Views: 7.1ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba0f0000'), "firstname"=>"Candice", "lastname"=>"Thompson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4127ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba100000'), "firstname"=>"Meagan", "lastname"=>"Schowalter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3915ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5301d91657353323ba100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d91657353323ba100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms
Completed 200 OK in 5ms (Views: 3.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba110000'), "firstname"=>"Reed", "lastname"=>"Strosin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3648ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301d91657353323ba110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d91657353323ba110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2574ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5301d91657353323ba110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba120000'), "firstname"=>"Regan", "lastname"=>"Toy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5054ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2758ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3956ms
Redirected to http://test.host/admin/clients/5301d91657353323ba130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2605ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba140000'), "firstname"=>"Reyna", "lastname"=>"Halvorson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3495ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2084ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301d91657353323ba140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d91657353323ba140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2588ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d91657353323ba140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3236ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1587ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba150000'), "firstname"=>"Kaitlin", "lastname"=>"Hermiston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3164ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301d91657353323ba150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d91657353323ba150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2800ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.5ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba160000'), "firstname"=>"Quincy", "lastname"=>"Hilpert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3823ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms
Completed 200 OK in 8ms (Views: 6.9ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba170000'), "firstname"=>"Precious", "lastname"=>"Barrows"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.8240ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 6.0ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba180000'), "firstname"=>"Bridie", "lastname"=>"Schinner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4808ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301d91657353323ba180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d91657353323ba180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4092ms
Completed 200 OK in 7ms (Views: 4.6ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba190000'), "firstname"=>"Ciara", "lastname"=>"Sanford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4059ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301d91657353323ba190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d91657353323ba190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2785ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d91657353323ba190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3379ms
Redirected to http://test.host/admin/clients/5301d91657353323ba190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba1a0000'), "firstname"=>"Matilda", "lastname"=>"Mayert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2679ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1968ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3044ms
Redirected to http://test.host/clients/5301d91657353323ba1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1973ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba1c0000'), "firstname"=>"Gunnar", "lastname"=>"Ziemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2414ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1816ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301d91657353323ba1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d91657353323ba1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2359ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d91657353323ba1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2752ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1839ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba1d0000'), "firstname"=>"Nikko", "lastname"=>"Franecki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2409ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301d91657353323ba1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d91657353323ba1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2312ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 7ms (Views: 6.2ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba1e0000'), "firstname"=>"Rachel", "lastname"=>"Johns"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4575ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3756ms
Completed 200 OK in 44ms (Views: 43.0ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba1f0000'), "firstname"=>"Mariane", "lastname"=>"Ebert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4584ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 200 OK in 7ms (Views: 6.0ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba200000'), "firstname"=>"Keagan", "lastname"=>"Stanton"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4478ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301d91657353323ba200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d91657353323ba200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2757ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba210000'), "firstname"=>"Creola", "lastname"=>"Kuhn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3167ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301d91657353323ba210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d91657353323ba210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301d91657353323ba210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2985ms
Redirected to http://test.host/clients/5301d91657353323ba210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba220000'), "name"=>"Ricky Collier", "reference"=>"Dannie Champlin", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3851ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1887ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5441ms
Redirected to http://test.host/products/5301d91657353323ba230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3103ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba240000'), "name"=>"Adalberto Heathcote", "reference"=>"Mrs. Mauricio Bechtelar", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3700ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1929ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5301d91657353323ba240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d91657353323ba240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2451ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d91657353323ba240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2630ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1780ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba250000'), "name"=>"Mr. Barrett Gottlieb", "reference"=>"Ms. Carmen Jast", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2860ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5301d91657353323ba250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d91657353323ba250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2571ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms)
Completed 200 OK in 9ms (Views: 8.3ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba260000'), "name"=>"Dr. Angel Kilback", "reference"=>"Webster Cartwright", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4091ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4959ms
Completed 200 OK in 11ms (Views: 11.0ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba270000'), "name"=>"Willard Waelchi Sr.", "reference"=>"Kayla Shanahan", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 7ms (Views: 6.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba290000'), "name"=>"Annabell Fadel", "reference"=>"Spencer Boyer", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5301d91657353323ba290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d91657353323ba290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2758ms
Completed 200 OK in 5ms (Views: 3.4ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba2a0000'), "name"=>"Aracely Lueilwitz", "reference"=>"Miss Kelli Rutherford", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4383ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301d91657353323ba2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d91657353323ba2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4396ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301d91657353323ba2a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4089ms
Redirected to http://test.host/products/5301d91657353323ba2a0000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba2b0000'), "firstname"=>"Tiana", "lastname"=>"McGlynn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2163ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba2c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3268ms
Redirected to http://test.host/users/5301d91657353323ba2c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2066ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba2d0000'), "firstname"=>"Kaya", "lastname"=>"Baumbach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3142ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1580ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5301d91657353323ba2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d91657353323ba2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d91657353323ba2d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9168ms
Redirected to http://test.host/users
Completed 302 Found in 5ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2383ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba2e0000'), "firstname"=>"Oral", "lastname"=>"Mraz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3023ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5301d91657353323ba2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d91657353323ba2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2613ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 43ms (Views: 41.4ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba2f0000'), "firstname"=>"Rodrigo", "lastname"=>"Ferry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4586ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3818ms
Completed 200 OK in 11ms (Views: 10.2ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba300000'), "firstname"=>"Marcus", "lastname"=>"Rippin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3568ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba310000'), "firstname"=>"Shannon", "lastname"=>"Cronin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3821ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5301d91657353323ba310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d91657353323ba310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2711ms
Completed 200 OK in 6ms (Views: 4.3ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301d91657353323ba320000'), "firstname"=>"Lionel", "lastname"=>"Marks"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4706ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301d91657353323ba320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301d91657353323ba320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2866ms
Unpermitted parameters: name
Redirected to http://test.host/users/5301d91657353323ba320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6297ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3449ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3577ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3162ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3160ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c2000000'), "name"=>"Derrick Nienow V", "reference"=>"Brendon Mueller", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4845ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2294ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c2010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3605ms
Redirected to http://test.host/admin/products/5301dfa057353324c2010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2138ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c2020000'), "name"=>"Micaela Brekke", "reference"=>"Guillermo Mraz", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3295ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2458ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5301dfa057353324c2020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301dfa057353324c2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2643ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301dfa057353324c2020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3193ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1986ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c2030000'), "name"=>"Ubaldo Lubowitz", "reference"=>"Omer Bednar", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2597ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5301dfa057353324c2030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301dfa057353324c2030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2417ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.9ms)
Completed 200 OK in 57ms (Views: 55.4ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c2040000'), "name"=>"Orin Bernhard", "reference"=>"General Daugherty IV", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5065ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3268ms
Completed 200 OK in 7ms (Views: 6.9ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c2050000'), "name"=>"Earlene Langosh", "reference"=>"Weldon Hand", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3383ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 21ms (Views: 6.9ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c2080000'), "name"=>"Mr. Talon Rath", "reference"=>"Keshawn Marvin I", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4531ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5301dfa057353324c2080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301dfa057353324c2080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2804ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c2090000'), "name"=>"Lavern Wuckert Sr.", "reference"=>"Marguerite Toy I", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3871ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301dfa057353324c2090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301dfa057353324c2090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2607ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301dfa057353324c2090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms
Redirected to http://test.host/admin/products/5301dfa057353324c2090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c20a0000'), "firstname"=>"Lue", "lastname"=>"Tremblay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2143ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c20b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0719ms
Redirected to http://test.host/admin/users/5301dfa057353324c20b0000
Completed 302 Found in 8ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2820ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c20c0000'), "firstname"=>"Chris", "lastname"=>"Von"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3519ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2081ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5301dfa057353324c20c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301dfa057353324c20c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2657ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301dfa057353324c20c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3283ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1977ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c20d0000'), "firstname"=>"Effie", "lastname"=>"Sipes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2545ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5301dfa057353324c20d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301dfa057353324c20d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.3ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c20e0000'), "firstname"=>"Vanessa", "lastname"=>"Osinski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4408ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3744ms
Completed 200 OK in 7ms (Views: 6.7ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c20f0000'), "firstname"=>"Neoma", "lastname"=>"White"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3361ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c2100000'), "firstname"=>"Curt", "lastname"=>"Medhurst"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4042ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5301dfa057353324c2100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301dfa057353324c2100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms
Completed 200 OK in 5ms (Views: 3.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c2110000'), "firstname"=>"Grady", "lastname"=>"Herman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3823ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301dfa057353324c2110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301dfa057353324c2110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2378ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5301dfa057353324c2110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c2120000'), "firstname"=>"Otis", "lastname"=>"Torphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4550ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1648ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c2130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3614ms
Redirected to http://test.host/admin/clients/5301dfa057353324c2130000
Completed 302 Found in 7ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2369ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c2140000'), "firstname"=>"Vincenza", "lastname"=>"Wunsch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2113ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301dfa057353324c2140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301dfa057353324c2140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4291ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301dfa057353324c2140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3665ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2499ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c2150000'), "firstname"=>"Graham", "lastname"=>"Stark"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3023ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301dfa057353324c2150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301dfa057353324c2150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3144ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.2ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c2160000'), "firstname"=>"Marshall", "lastname"=>"Ullrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4587ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3187ms
Completed 200 OK in 7ms (Views: 6.4ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c2170000'), "firstname"=>"Hanna", "lastname"=>"Ritchie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4308ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c2180000'), "firstname"=>"Daryl", "lastname"=>"Moen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301dfa057353324c2180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301dfa057353324c2180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2446ms
Completed 200 OK in 5ms (Views: 4.0ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c2190000'), "firstname"=>"Kaitlyn", "lastname"=>"Borer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3958ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301dfa057353324c2190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301dfa057353324c2190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301dfa057353324c2190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3217ms
Redirected to http://test.host/admin/clients/5301dfa057353324c2190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301dfa057353324c21a0000'), "firstname"=>"Alexandra", "lastname"=>"Klocko"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3211ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301dfa157353324c21b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3836ms
Redirected to http://test.host/clients/5301dfa157353324c21b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2292ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301dfa157353324c21c0000'), "firstname"=>"Darren", "lastname"=>"Tromp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2770ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2145ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301dfa157353324c21c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301dfa157353324c21c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2807ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301dfa157353324c21c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3021ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1819ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301dfa157353324c21d0000'), "firstname"=>"Cindy", "lastname"=>"Cremin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2449ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301dfa157353324c21d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301dfa157353324c21d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301dfa157353324c21e0000'), "firstname"=>"Murphy", "lastname"=>"Erdman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3541ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3553ms
Completed 200 OK in 39ms (Views: 38.6ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301dfa157353324c21f0000'), "firstname"=>"Valentine", "lastname"=>"Heathcote"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4659ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301dfa157353324c2200000'), "firstname"=>"Katelynn", "lastname"=>"Goodwin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4485ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301dfa157353324c2200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301dfa157353324c2200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2773ms
Completed 200 OK in 5ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301dfa157353324c2210000'), "firstname"=>"Erik", "lastname"=>"Brown"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3095ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301dfa157353324c2210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301dfa157353324c2210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3051ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301dfa157353324c2210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3312ms
Redirected to http://test.host/clients/5301dfa157353324c2210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301dfa157353324c2220000'), "name"=>"Jaden Murray", "reference"=>"Samir Emard", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4746ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2170ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301dfa157353324c2230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4841ms
Redirected to http://test.host/products/5301dfa157353324c2230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2447ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301dfa157353324c2240000'), "name"=>"Harry Feil", "reference"=>"Heaven Lakin", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3654ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1805ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5301dfa157353324c2240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301dfa157353324c2240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2430ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301dfa157353324c2240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2385ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1563ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301dfa157353324c2250000'), "name"=>"Mike Larkin", "reference"=>"Milford Schmitt IV", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5301dfa157353324c2250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301dfa157353324c2250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2463ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 7.9ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301dfa157353324c2260000'), "name"=>"Lessie Green IV", "reference"=>"Rowan Senger", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4300ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4629ms
Completed 200 OK in 11ms (Views: 10.4ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301dfa157353324c2270000'), "name"=>"Dr. Felix Swift", "reference"=>"Celestine Schuppe", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3787ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 7ms (Views: 6.1ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301dfa157353324c2290000'), "name"=>"Joel Ward", "reference"=>"Reilly Wyman", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7501ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5301dfa157353324c2290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301dfa157353324c2290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2916ms
Completed 200 OK in 5ms (Views: 3.4ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301dfa157353324c22a0000'), "name"=>"Fritz Bogisich", "reference"=>"Yazmin Wilderman", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4225ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301dfa157353324c22a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301dfa157353324c22a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4058ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301dfa157353324c22a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3075ms
Redirected to http://test.host/products/5301dfa157353324c22a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301dfa157353324c22b0000'), "firstname"=>"Madison", "lastname"=>"Osinski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4133ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1419ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301dfa157353324c22c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3232ms
Redirected to http://test.host/users/5301dfa157353324c22c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1495ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301dfa157353324c22d0000'), "firstname"=>"Brendan", "lastname"=>"Daniel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2560ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1299ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5301dfa157353324c22d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301dfa157353324c22d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2048ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301dfa157353324c22d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2138ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1346ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301dfa157353324c22e0000'), "firstname"=>"Eloisa", "lastname"=>"Crooks"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1973ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5301dfa157353324c22e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301dfa157353324c22e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3384ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 11ms (Views: 8.8ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301dfa157353324c22f0000'), "firstname"=>"Austen", "lastname"=>"Koch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4207ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3626ms
Completed 200 OK in 10ms (Views: 9.9ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301dfa157353324c2300000'), "firstname"=>"Opal", "lastname"=>"Reinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3658ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301dfa157353324c2310000'), "firstname"=>"Glenna", "lastname"=>"Koepp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4292ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5301dfa157353324c2310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301dfa157353324c2310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2973ms
Completed 200 OK in 6ms (Views: 4.2ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301dfa157353324c2320000'), "firstname"=>"Leola", "lastname"=>"Gutkowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5668ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301dfa157353324c2320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301dfa157353324c2320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms
Unpermitted parameters: name
Redirected to http://test.host/users/5301dfa157353324c2320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6361ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2734ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2698ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2144ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2098ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e7715735332816000000'), "name"=>"Mrs. Howard Ferry", "reference"=>"Rahsaan Mohr", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4557ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1839ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e7715735332816010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3932ms
Redirected to http://test.host/admin/products/5301e7715735332816010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1963ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e7715735332816020000'), "name"=>"Milford Ziemann", "reference"=>"Lyla Kilback", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3189ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2045ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5301e7715735332816020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301e7715735332816020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2981ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301e7715735332816020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3289ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1507ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e7715735332816030000'), "name"=>"Omer Rice", "reference"=>"Rachel Glover DDS", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3139ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5301e7715735332816030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301e7715735332816030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2812ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.8ms)
Completed 200 OK in 56ms (Views: 54.2ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e7715735332816040000'), "name"=>"June Baumbach", "reference"=>"Mrs. Johnny Hartmann", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4413ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms
Completed 200 OK in 7ms (Views: 6.9ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e7715735332816050000'), "name"=>"Olen Bayer MD", "reference"=>"Alden Padberg", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 21ms (Views: 6.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e7715735332816080000'), "name"=>"Jeffrey Hoeger", "reference"=>"Herminia Sauer V", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3947ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5301e7715735332816080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301e7715735332816080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2659ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e7715735332816090000'), "name"=>"Beth Bergnaum PhD", "reference"=>"Griffin Gulgowski", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4949ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301e7715735332816090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301e7715735332816090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3351ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301e7715735332816090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3639ms
Redirected to http://test.host/admin/products/5301e7715735332816090000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e77157353328160a0000'), "firstname"=>"Teagan", "lastname"=>"Greenholt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4201ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1815ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e77157353328160b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4353ms
Redirected to http://test.host/admin/users/5301e77157353328160b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3223ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e77157353328160c0000'), "firstname"=>"Shanna", "lastname"=>"Pacocha"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3774ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2258ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5301e77157353328160c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301e77157353328160c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301e77157353328160c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2976ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2100ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e77157353328160d0000'), "firstname"=>"Ayana", "lastname"=>"Towne"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2530ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5301e77157353328160d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301e77157353328160d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3397ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e77157353328160e0000'), "firstname"=>"Vita", "lastname"=>"Herzog"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4570ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3406ms
Completed 200 OK in 7ms (Views: 6.7ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e77157353328160f0000'), "firstname"=>"Carmine", "lastname"=>"Casper"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3819ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.9ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e7715735332816100000'), "firstname"=>"Kiel", "lastname"=>"Carter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4131ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5301e7715735332816100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301e7715735332816100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms
Completed 200 OK in 5ms (Views: 3.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e7715735332816110000'), "firstname"=>"Trudie", "lastname"=>"Fahey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3658ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301e7715735332816110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301e7715735332816110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2150ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5301e7715735332816110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e7715735332816120000'), "firstname"=>"Amie", "lastname"=>"Romaguera"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4310ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1848ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e7715735332816130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3513ms
Redirected to http://test.host/admin/clients/5301e7715735332816130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1993ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e7715735332816140000'), "firstname"=>"Sigmund", "lastname"=>"Hyatt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3332ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1779ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301e7715735332816140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301e7715735332816140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2577ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301e7715735332816140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3011ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1955ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e7715735332816150000'), "firstname"=>"Colten", "lastname"=>"Windler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2559ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301e7715735332816150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301e7715735332816150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3360ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.2ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e7715735332816160000'), "firstname"=>"Eduardo", "lastname"=>"Bogisich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4052ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3634ms
Completed 200 OK in 8ms (Views: 7.3ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e7715735332816170000'), "firstname"=>"Joy", "lastname"=>"Hane"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4165ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e7715735332816180000'), "firstname"=>"Domenico", "lastname"=>"McDermott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3935ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301e7715735332816180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301e7715735332816180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2277ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e7715735332816190000'), "firstname"=>"Milton", "lastname"=>"Will"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4556ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301e7715735332816190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301e7715735332816190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2720ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301e7715735332816190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3037ms
Redirected to http://test.host/admin/clients/5301e7715735332816190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e77157353328161a0000'), "firstname"=>"Nedra", "lastname"=>"Schmeler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2946ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1907ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e77157353328161b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3082ms
Redirected to http://test.host/clients/5301e77157353328161b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2326ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e77157353328161c0000'), "firstname"=>"Adela", "lastname"=>"Upton"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2268ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301e77157353328161c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301e77157353328161c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301e77157353328161c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2589ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1974ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e77157353328161d0000'), "firstname"=>"Adelia", "lastname"=>"Jacobson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2188ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301e77157353328161d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301e77157353328161d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2301ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.6ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e77157353328161e0000'), "firstname"=>"Geo", "lastname"=>"Ferry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5085ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3714ms
Completed 200 OK in 41ms (Views: 40.2ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e77157353328161f0000'), "firstname"=>"Domenick", "lastname"=>"Herman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4487ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e7715735332816200000'), "firstname"=>"Ford", "lastname"=>"Abernathy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4069ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301e7715735332816200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301e7715735332816200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2553ms
Completed 200 OK in 4ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e7715735332816210000'), "firstname"=>"Kirk", "lastname"=>"Weissnat"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3430ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301e7715735332816210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301e7715735332816210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2825ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301e7715735332816210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2871ms
Redirected to http://test.host/clients/5301e7715735332816210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e7715735332816220000'), "name"=>"Karelle Koepp", "reference"=>"Casimir Kreiger", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4621ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2750ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e7715735332816230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4259ms
Redirected to http://test.host/products/5301e7715735332816230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2395ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e7715735332816240000'), "name"=>"Elenor Bruen", "reference"=>"Amir Ankunding", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3217ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1638ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5301e7715735332816240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301e7715735332816240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3135ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301e7715735332816240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3133ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2135ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e7715735332816250000'), "name"=>"Jerrold Watsica", "reference"=>"Aurore Bernhard", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2855ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5301e7715735332816250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301e7715735332816250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2757ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e7715735332816260000'), "name"=>"Ms. Jerad O'Hara", "reference"=>"Jordyn Kuhn", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4105ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4636ms
Completed 200 OK in 11ms (Views: 10.7ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e7715735332816270000'), "name"=>"Consuelo Lesch", "reference"=>"Kristofer Harber", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3801ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 8ms (Views: 6.5ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e7715735332816290000'), "name"=>"Benton Kunde", "reference"=>"Dedrick Kohler I", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4360ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5301e7715735332816290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301e7715735332816290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2461ms
Completed 200 OK in 5ms (Views: 3.4ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e77157353328162a0000'), "name"=>"Narciso Hills", "reference"=>"Ila Lesch", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4158ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301e77157353328162a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301e77157353328162a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2520ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301e77157353328162a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3231ms
Redirected to http://test.host/products/5301e77157353328162a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e77157353328162b0000'), "firstname"=>"Corbin", "lastname"=>"Barrows"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.5164ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1979ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e77157353328162c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2980ms
Redirected to http://test.host/users/5301e77157353328162c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1963ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e77157353328162d0000'), "firstname"=>"Eunice", "lastname"=>"Von"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3154ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1599ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5301e77157353328162d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301e77157353328162d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2986ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301e77157353328162d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3087ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2300ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e77157353328162e0000'), "firstname"=>"August", "lastname"=>"Stamm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2619ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5301e77157353328162e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301e77157353328162e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2381ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 39ms (Views: 37.3ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e77157353328162f0000'), "firstname"=>"Kris", "lastname"=>"Cartwright"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3698ms
Completed 200 OK in 11ms (Views: 10.1ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e7715735332816300000'), "firstname"=>"Turner", "lastname"=>"Friesen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3566ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e7715735332816310000'), "firstname"=>"Maxwell", "lastname"=>"Anderson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5301e7715735332816310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301e7715735332816310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2290ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e7715735332816320000'), "firstname"=>"Henderson", "lastname"=>"Stoltenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4159ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301e7715735332816320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301e7715735332816320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2945ms
Unpermitted parameters: name
Redirected to http://test.host/users/5301e7715735332816320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6298ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3099ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4225ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3026ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e95b5735332a09000000'), "name"=>"Sophia Legros", "reference"=>"Eli O'Reilly", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4766ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1870ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e95b5735332a09010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms
Redirected to http://test.host/admin/products/5301e95b5735332a09010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1980ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e95b5735332a09020000'), "name"=>"Vince Predovic", "reference"=>"Ruth Jast", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3402ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1776ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5301e95b5735332a09020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301e95b5735332a09020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2692ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301e95b5735332a09020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2870ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1716ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e95b5735332a09030000'), "name"=>"Dr. Krystina Hintz", "reference"=>"Dewayne Rutherford", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2484ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5301e95b5735332a09030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301e95b5735332a09030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2584ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 200 OK in 54ms (Views: 52.7ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e95b5735332a09040000'), "name"=>"Easton Mitchell", "reference"=>"Stefanie Schuppe", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4134ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3302ms
Completed 200 OK in 7ms (Views: 6.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e95b5735332a09050000'), "name"=>"Percy Padberg", "reference"=>"Ms. Aiden Ratke", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3621ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 20ms (Views: 5.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e95b5735332a09080000'), "name"=>"Merritt Steuber DVM", "reference"=>"Efren Torphy", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5202ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5301e95b5735332a09080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301e95b5735332a09080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2679ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e95b5735332a09090000'), "name"=>"Toni Lesch II", "reference"=>"Mertie Hegmann", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301e95b5735332a09090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301e95b5735332a09090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2657ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301e95b5735332a09090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3442ms
Redirected to http://test.host/admin/products/5301e95b5735332a09090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e95b5735332a090a0000'), "firstname"=>"Rhoda", "lastname"=>"Willms"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4206ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1652ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e95b5735332a090b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 30.5252ms
Redirected to http://test.host/admin/users/5301e95b5735332a090b0000
Completed 302 Found in 33ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2311ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e95b5735332a090c0000'), "firstname"=>"Raven", "lastname"=>"Torp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3341ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1643ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5301e95b5735332a090c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301e95b5735332a090c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2401ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301e95b5735332a090c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2941ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1755ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e95b5735332a090d0000'), "firstname"=>"Coby", "lastname"=>"Blick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2392ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5301e95b5735332a090d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301e95b5735332a090d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2601ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e95b5735332a090e0000'), "firstname"=>"Dahlia", "lastname"=>"Jacobson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4055ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3185ms
Completed 200 OK in 7ms (Views: 6.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e95b5735332a090f0000'), "firstname"=>"Randal", "lastname"=>"Schultz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3528ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e95b5735332a09100000'), "firstname"=>"Paris", "lastname"=>"Block"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4400ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5301e95b5735332a09100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301e95b5735332a09100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2601ms
Completed 200 OK in 5ms (Views: 3.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e95b5735332a09110000'), "firstname"=>"Kim", "lastname"=>"Stracke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3892ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301e95b5735332a09110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301e95b5735332a09110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2665ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5301e95b5735332a09110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a09120000'), "firstname"=>"Gilda", "lastname"=>"Corkery"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4585ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1874ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a09130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3409ms
Redirected to http://test.host/admin/clients/5301e95c5735332a09130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2085ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a09140000'), "firstname"=>"Korbin", "lastname"=>"D'Amore"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0380ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2384ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301e95c5735332a09140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301e95c5735332a09140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2764ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301e95c5735332a09140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3032ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2481ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a09150000'), "firstname"=>"Ardella", "lastname"=>"Barrows"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3054ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301e95c5735332a09150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301e95c5735332a09150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2931ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a09160000'), "firstname"=>"Jensen", "lastname"=>"Lueilwitz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3325ms
Completed 200 OK in 8ms (Views: 6.6ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a09170000'), "firstname"=>"Francis", "lastname"=>"Kohler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4143ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a09180000'), "firstname"=>"Bennie", "lastname"=>"Gottlieb"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4677ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301e95c5735332a09180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301e95c5735332a09180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2584ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a09190000'), "firstname"=>"Lawrence", "lastname"=>"Langworth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301e95c5735332a09190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301e95c5735332a09190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2886ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301e95c5735332a09190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3552ms
Redirected to http://test.host/admin/clients/5301e95c5735332a09190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a091a0000'), "firstname"=>"Eleazar", "lastname"=>"Reilly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4204ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3119ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a091b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4637ms
Redirected to http://test.host/clients/5301e95c5735332a091b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2431ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a091c0000'), "firstname"=>"Gaylord", "lastname"=>"O'Reilly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2353ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1505ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5301e95c5735332a091c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301e95c5735332a091c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2853ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301e95c5735332a091c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2878ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2194ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a091d0000'), "firstname"=>"Stone", "lastname"=>"Heathcote"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2838ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5301e95c5735332a091d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301e95c5735332a091d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2971ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a091e0000'), "firstname"=>"Gregory", "lastname"=>"Murphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4148ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3608ms
Completed 200 OK in 39ms (Views: 38.5ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a091f0000'), "firstname"=>"Hoyt", "lastname"=>"Kunde"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4222ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 4.9ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a09200000'), "firstname"=>"Godfrey", "lastname"=>"Skiles"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3914ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5301e95c5735332a09200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301e95c5735332a09200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2652ms
Completed 200 OK in 4ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a09210000'), "firstname"=>"Aylin", "lastname"=>"Mueller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3293ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5301e95c5735332a09210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301e95c5735332a09210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2651ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5301e95c5735332a09210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2663ms
Redirected to http://test.host/clients/5301e95c5735332a09210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a09220000'), "name"=>"Larry Keebler Sr.", "reference"=>"Pietro Paucek IV", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4212ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1846ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a09230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3386ms
Redirected to http://test.host/products/5301e95c5735332a09230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1889ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a09240000'), "name"=>"Neha Kuhic", "reference"=>"Jackie Mertz Jr.", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3028ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1580ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5301e95c5735332a09240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301e95c5735332a09240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301e95c5735332a09240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2474ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1659ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a09250000'), "name"=>"Mrs. Doug Schoen", "reference"=>"Bulah Skiles PhD", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2793ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5301e95c5735332a09250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301e95c5735332a09250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2902ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a09260000'), "name"=>"Sydni Schmeler", "reference"=>"Kameron Durgan V", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4117ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3767ms
Completed 200 OK in 10ms (Views: 9.9ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a09270000'), "name"=>"Montana Moore II", "reference"=>"Leslie Balistreri", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3635ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 7ms (Views: 6.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a09290000'), "name"=>"Edgardo Wunsch", "reference"=>"Kathlyn Rodriguez", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5082ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5301e95c5735332a09290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301e95c5735332a09290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2380ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a092a0000'), "name"=>"Nicklaus Smith III", "reference"=>"Audrey Lindgren", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3765ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5301e95c5735332a092a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301e95c5735332a092a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2720ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5301e95c5735332a092a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2936ms
Redirected to http://test.host/products/5301e95c5735332a092a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a092b0000'), "firstname"=>"Brennon", "lastname"=>"Jones"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4304ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2232ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a092c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3470ms
Redirected to http://test.host/users/5301e95c5735332a092c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2524ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a092d0000'), "firstname"=>"Hardy", "lastname"=>"Torphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3360ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1902ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5301e95c5735332a092d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301e95c5735332a092d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2908ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301e95c5735332a092d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3215ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2439ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a092e0000'), "firstname"=>"Melisa", "lastname"=>"Kohler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2951ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5301e95c5735332a092e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301e95c5735332a092e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2889ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 38ms (Views: 37.2ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a092f0000'), "firstname"=>"Brandt", "lastname"=>"Nitzsche"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4659ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3789ms
Completed 200 OK in 11ms (Views: 10.1ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a09300000'), "firstname"=>"Derrick", "lastname"=>"Reilly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3827ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a09310000'), "firstname"=>"Presley", "lastname"=>"Yost"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4147ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5301e95c5735332a09310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301e95c5735332a09310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms
Completed 200 OK in 5ms (Views: 3.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5301e95c5735332a09320000'), "firstname"=>"Max", "lastname"=>"Wuckert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2185ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5301e95c5735332a09320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5301e95c5735332a09320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2700ms
Unpermitted parameters: name
Redirected to http://test.host/users/5301e95c5735332a09320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6142ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3833ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3227ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3195ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212b157353333bd000000'), "name"=>"Percy Olson I", "reference"=>"Devon Herzog", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4574ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1825ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212b157353333bd010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms
Redirected to http://test.host/admin/products/530212b157353333bd010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1924ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212b157353333bd020000'), "name"=>"Hector Heathcote", "reference"=>"Lon McCullough", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4568ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2120ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"530212b157353333bd020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530212b157353333bd020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3204ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530212b157353333bd020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5167ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3069ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212b157353333bd030000'), "name"=>"Sadie Bruen", "reference"=>"Werner Leuschke", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2869ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"530212b157353333bd030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530212b157353333bd030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2918ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.8ms)
Completed 500 Internal Server Error in 19ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212b157353333bd040000'), "name"=>"Anastacio Bruen", "reference"=>"Marcus Johnson", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms
Processing by Admin::ProductsController#index as HTML
Completed 500 Internal Server Error in 35ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212b157353333bd050000'), "name"=>"Anastacio Champlin", "reference"=>"Kayden Runolfsson", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4513ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.1ms)
Completed 500 Internal Server Error in 22ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212b157353333bd080000'), "name"=>"Berry Larkin", "reference"=>"Josh Homenick DVM", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4312ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"530212b157353333bd080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530212b157353333bd080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2679ms
Completed 500 Internal Server Error in 8ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212b157353333bd090000'), "name"=>"Mr. Modesta Romaguera", "reference"=>"Jamar Pouros DDS", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4288ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530212b157353333bd090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530212b157353333bd090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2609ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530212b157353333bd090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3190ms
Redirected to http://test.host/admin/products/530212b157353333bd090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212b157353333bd0a0000'), "firstname"=>"Misael", "lastname"=>"Walter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4684ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2832ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212b157353333bd0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms
Redirected to http://test.host/admin/users/530212b157353333bd0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1953ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212b157353333bd0c0000'), "firstname"=>"Finn", "lastname"=>"Thiel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2989ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1730ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"530212b157353333bd0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530212b157353333bd0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2370ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530212b157353333bd0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2926ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2244ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212b157353333bd0d0000'), "firstname"=>"Hayden", "lastname"=>"Schulist"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"530212b157353333bd0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530212b157353333bd0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3489ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.4ms)
Completed 500 Internal Server Error in 39ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212b157353333bd0e0000'), "firstname"=>"Monty", "lastname"=>"Luettgen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4040ms
Processing by Admin::UsersController#index as HTML
Completed 500 Internal Server Error in 8ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212b157353333bd0f0000'), "firstname"=>"Lauriane", "lastname"=>"Rolfson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3420ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.0ms)
Completed 500 Internal Server Error in 35ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212b157353333bd110000'), "firstname"=>"Joe", "lastname"=>"Hayes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4595ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"530212b157353333bd110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530212b157353333bd110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3076ms
Completed 500 Internal Server Error in 9ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212b157353333bd120000'), "firstname"=>"Marianna", "lastname"=>"McGlynn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4823ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530212b157353333bd120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530212b157353333bd120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4016ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/530212b157353333bd120000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212b157353333bd130000'), "firstname"=>"Katlynn", "lastname"=>"Ritchie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4276ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1831ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212b157353333bd140000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms
Redirected to http://test.host/admin/clients/530212b157353333bd140000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2258ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212b157353333bd150000'), "firstname"=>"Martina", "lastname"=>"Schimmel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4781ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2029ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530212b157353333bd150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530212b157353333bd150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2470ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530212b157353333bd150000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2867ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1736ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212b157353333bd160000'), "firstname"=>"Macey", "lastname"=>"Labadie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2365ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530212b157353333bd160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530212b157353333bd160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (35.7ms)
Completed 500 Internal Server Error in 41ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212b157353333bd170000'), "firstname"=>"Bryana", "lastname"=>"Lynch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5868ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 9ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212b157353333bd180000'), "firstname"=>"Liana", "lastname"=>"Corkery"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4208ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.9ms)
Completed 500 Internal Server Error in 37ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212b157353333bd1a0000'), "firstname"=>"Lexie", "lastname"=>"Beer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4332ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530212b157353333bd1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530212b157353333bd1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2937ms
Completed 500 Internal Server Error in 11ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212b157353333bd1b0000'), "firstname"=>"Paolo", "lastname"=>"Kunze"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530212b157353333bd1b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530212b157353333bd1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530212b157353333bd1b0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3126ms
Redirected to http://test.host/admin/clients/530212b157353333bd1b0000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212b157353333bd1c0000'), "firstname"=>"Armani", "lastname"=>"Kilback"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0661ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2260ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212b157353333bd1d0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4162ms
Redirected to http://test.host/clients/530212b157353333bd1d0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2852ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212b157353333bd1e0000'), "firstname"=>"Johann", "lastname"=>"Kunze"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3926ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1824ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530212b157353333bd1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530212b157353333bd1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530212b157353333bd1e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2670ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1714ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212b157353333bd1f0000'), "firstname"=>"Breanne", "lastname"=>"Littel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2275ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530212b157353333bd1f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530212b157353333bd1f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2911ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (36.2ms)
Completed 500 Internal Server Error in 39ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212b157353333bd200000'), "firstname"=>"Catharine", "lastname"=>"Orn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5585ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 9ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212b157353333bd210000'), "firstname"=>"Monty", "lastname"=>"Considine"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4632ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (35.2ms)
Completed 500 Internal Server Error in 38ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212b157353333bd230000'), "firstname"=>"Yesenia", "lastname"=>"Tromp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4786ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530212b157353333bd230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530212b157353333bd230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3133ms
Completed 500 Internal Server Error in 9ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212b157353333bd240000'), "firstname"=>"Favian", "lastname"=>"Dare"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3889ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530212b157353333bd240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530212b157353333bd240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3136ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530212b157353333bd240000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3309ms
Redirected to http://test.host/clients/530212b157353333bd240000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212b157353333bd250000'), "name"=>"Darion Boyle PhD", "reference"=>"Mr. Sonia Brakus", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4532ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2466ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212b157353333bd260000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3986ms
Redirected to http://test.host/products/530212b157353333bd260000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1803ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212b157353333bd270000'), "name"=>"Hannah Bayer", "reference"=>"Eino Lang", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3373ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1598ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"530212b157353333bd270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530212b157353333bd270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530212b157353333bd270000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3158ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3300ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212b157353333bd280000'), "name"=>"Jalen Carroll", "reference"=>"Ms. Alaina Schultz", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3173ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"530212b157353333bd280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530212b157353333bd280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2361ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (35.5ms)
Completed 500 Internal Server Error in 39ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212b257353333bd290000'), "name"=>"Hellen Morar", "reference"=>"Cristian Kshlerin", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4183ms
Processing by ProductsController#index as HTML
Completed 500 Internal Server Error in 8ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212b257353333bd2a0000'), "name"=>"Dylan Spencer", "reference"=>"Mrs. Davin Thiel", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4184ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.7ms)
Completed 500 Internal Server Error in 37ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212b257353333bd2d0000'), "name"=>"Marge Spencer", "reference"=>"Desmond Dietrich II", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4083ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"530212b257353333bd2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530212b257353333bd2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2797ms
Completed 500 Internal Server Error in 11ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212b257353333bd2e0000'), "name"=>"Breanna Gleason", "reference"=>"Eriberto Fritsch IV", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4500ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530212b257353333bd2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530212b257353333bd2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2842ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530212b257353333bd2e0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3285ms
Redirected to http://test.host/products/530212b257353333bd2e0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212b257353333bd2f0000'), "firstname"=>"Rodolfo", "lastname"=>"Becker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4802ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2196ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212b257353333bd300000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5043ms
Redirected to http://test.host/users/530212b257353333bd300000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2961ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212b257353333bd310000'), "firstname"=>"Thelma", "lastname"=>"Hegmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4200ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1783ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"530212b257353333bd310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530212b257353333bd310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530212b257353333bd310000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2563ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1714ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212b257353333bd320000'), "firstname"=>"Mathew", "lastname"=>"Turner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2457ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"530212b257353333bd320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530212b257353333bd320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2412ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (8.1ms)
Completed 500 Internal Server Error in 12ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212b257353333bd330000'), "firstname"=>"Hunter", "lastname"=>"Friesen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4376ms
Processing by UsersController#index as HTML
Completed 500 Internal Server Error in 37ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212b257353333bd340000'), "firstname"=>"Isabell", "lastname"=>"Abernathy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4043ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (8.4ms)
Completed 500 Internal Server Error in 11ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212b257353333bd360000'), "firstname"=>"Mathilde", "lastname"=>"Corkery"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4713ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"530212b257353333bd360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530212b257353333bd360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2544ms
Completed 500 Internal Server Error in 40ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212b257353333bd370000'), "firstname"=>"Modesta", "lastname"=>"Harris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.1071ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530212b257353333bd370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530212b257353333bd370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2791ms
Unpermitted parameters: name
Redirected to http://test.host/users/530212b257353333bd370000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8285ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4816ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5578ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6367ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4591ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212f957353333f3000000'), "name"=>"Margot Weimann", "reference"=>"Mr. Billy Stehr", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5881ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3373ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212f957353333f3010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4408ms
Redirected to http://test.host/admin/products/530212f957353333f3010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2461ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212f957353333f3020000'), "name"=>"Brigitte Erdman", "reference"=>"Kellie Maggio", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6411ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4013ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"530212f957353333f3020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530212f957353333f3020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4539ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530212f957353333f3020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6354ms
Redirected to http://test.host/admin/products
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2447ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212f957353333f3030000'), "name"=>"Jacklyn Nolan", "reference"=>"Krista Bashirian", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3452ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"530212f957353333f3030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530212f957353333f3030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 500 Internal Server Error in 16ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212f957353333f3040000'), "name"=>"Valerie Wiegand", "reference"=>"Dr. Curt Becker", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4494ms
Processing by Admin::ProductsController#index as HTML
Completed 500 Internal Server Error in 4ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212f957353333f3050000'), "name"=>"Adolfo Reilly", "reference"=>"Bruce Sporer", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5078ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.2ms)
Completed 500 Internal Server Error in 22ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212f957353333f3070000'), "name"=>"Oran Fisher", "reference"=>"Emerald Quigley", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5312ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"530212f957353333f3070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530212f957353333f3070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3295ms
Completed 500 Internal Server Error in 4ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212f957353333f3080000'), "name"=>"Miss Keith Dicki", "reference"=>"Conor Watsica", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7444ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530212f957353333f3080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530212f957353333f3080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5313ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530212f957353333f3080000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6218ms
Redirected to http://test.host/admin/products/530212f957353333f3080000
Completed 302 Found in 6ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212f957353333f3090000'), "firstname"=>"Tremayne", "lastname"=>"Keeling"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5648ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2571ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212f957353333f30a0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4134ms
Redirected to http://test.host/admin/users/530212f957353333f30a0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3684ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212f957353333f30b0000'), "firstname"=>"Letha", "lastname"=>"Quitzon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5537ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3494ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"530212f957353333f30b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530212f957353333f30b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3866ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530212f957353333f30b0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4345ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2290ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212f957353333f30c0000'), "firstname"=>"Oswald", "lastname"=>"Little"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2982ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"530212f957353333f30c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530212f957353333f30c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2838ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 500 Internal Server Error in 8ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212f957353333f30d0000'), "firstname"=>"Leo", "lastname"=>"Boehm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4539ms
Processing by Admin::UsersController#index as HTML
Completed 500 Internal Server Error in 3ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212f957353333f30e0000'), "firstname"=>"Lindsey", "lastname"=>"Crona"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4637ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.3ms)
Completed 500 Internal Server Error in 4ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212f957353333f30f0000'), "firstname"=>"Ayden", "lastname"=>"Walsh"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4391ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"530212f957353333f30f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530212f957353333f30f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2924ms
Completed 500 Internal Server Error in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212f957353333f3100000'), "firstname"=>"Emilie", "lastname"=>"Schmeler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6197ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530212f957353333f3100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530212f957353333f3100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3823ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/530212f957353333f3100000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212f957353333f3110000'), "firstname"=>"Hillard", "lastname"=>"Jacobs"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4566ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2208ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212f957353333f3120000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4448ms
Redirected to http://test.host/admin/clients/530212f957353333f3120000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.4058ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212f957353333f3130000'), "firstname"=>"Maia", "lastname"=>"Pacocha"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6009ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2894ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530212f957353333f3130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530212f957353333f3130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3153ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530212f957353333f3130000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3584ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2398ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212f957353333f3140000'), "firstname"=>"Stacy", "lastname"=>"Mohr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7828ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530212f957353333f3140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530212f957353333f3140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3632ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 500 Internal Server Error in 7ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212f957353333f3150000'), "firstname"=>"Ben", "lastname"=>"Walsh"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4865ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 4ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212f957353333f3160000'), "firstname"=>"Callie", "lastname"=>"Grant"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4413ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.4ms)
Completed 500 Internal Server Error in 4ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212f957353333f3170000'), "firstname"=>"Kaia", "lastname"=>"Hilll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4575ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530212f957353333f3170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530212f957353333f3170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4059ms
Completed 500 Internal Server Error in 5ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212f957353333f3180000'), "firstname"=>"Sibyl", "lastname"=>"Ziemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4737ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530212f957353333f3180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530212f957353333f3180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3021ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530212f957353333f3180000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4324ms
Redirected to http://test.host/admin/clients/530212f957353333f3180000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212f957353333f3190000'), "firstname"=>"Benton", "lastname"=>"Brekke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3191ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2431ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212f957353333f31a0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4724ms
Redirected to http://test.host/clients/530212f957353333f31a0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2452ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212f957353333f31b0000'), "firstname"=>"Anthony", "lastname"=>"Prosacco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2717ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1869ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530212f957353333f31b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530212f957353333f31b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3548ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530212f957353333f31b0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3400ms
Redirected to http://test.host/clients
Completed 302 Found in 5ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1988ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212f957353333f31c0000'), "firstname"=>"Kailee", "lastname"=>"Mosciski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3928ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530212f957353333f31c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530212f957353333f31c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3558ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.7ms)
Completed 500 Internal Server Error in 5ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212f957353333f31d0000'), "firstname"=>"Cloyd", "lastname"=>"Thiel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4469ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 3ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212f957353333f31e0000'), "firstname"=>"Victor", "lastname"=>"Jones"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5693ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.4ms)
Completed 500 Internal Server Error in 4ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212f957353333f31f0000'), "firstname"=>"Caterina", "lastname"=>"Prohaska"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4631ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530212f957353333f31f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530212f957353333f31f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2851ms
Completed 500 Internal Server Error in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530212f957353333f3200000'), "firstname"=>"Damon", "lastname"=>"Hackett"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3300ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530212f957353333f3200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530212f957353333f3200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3128ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530212f957353333f3200000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3232ms
Redirected to http://test.host/clients/530212f957353333f3200000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212f957353333f3210000'), "name"=>"Ms. Ken Cassin", "reference"=>"Victoria Mosciski", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4667ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2090ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212f957353333f3220000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3796ms
Redirected to http://test.host/products/530212f957353333f3220000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2254ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212f957353333f3230000'), "name"=>"Mrs. Rebecca Moen", "reference"=>"Kendrick Runolfsdottir PhD", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3759ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 1.6281ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"530212f957353333f3230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530212f957353333f3230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3276ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530212f957353333f3230000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3122ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2160ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212f957353333f3240000'), "name"=>"Mark Bradtke", "reference"=>"Nigel Bogan", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3174ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"530212f957353333f3240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530212f957353333f3240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2855ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 500 Internal Server Error in 6ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212f957353333f3250000'), "name"=>"Alvena McClure", "reference"=>"Terrill Abbott", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4391ms
Processing by ProductsController#index as HTML
Completed 500 Internal Server Error in 3ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212f957353333f3260000'), "name"=>"Ross Keeling I", "reference"=>"Laurine Schaefer", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4630ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.2ms)
Completed 500 Internal Server Error in 4ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212f957353333f3280000'), "name"=>"Edgardo Schowalter", "reference"=>"Alf Renner", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4509ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"530212f957353333f3280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530212f957353333f3280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3052ms
Completed 500 Internal Server Error in 4ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530212f957353333f3290000'), "name"=>"Raul Ullrich DDS", "reference"=>"Shyanne Bartoletti", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4447ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530212f957353333f3290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530212f957353333f3290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3289ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530212f957353333f3290000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3444ms
Redirected to http://test.host/products/530212f957353333f3290000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212f957353333f32a0000'), "firstname"=>"Santino", "lastname"=>"Larson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4529ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2375ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212f957353333f32b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4196ms
Redirected to http://test.host/users/530212f957353333f32b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2338ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212f957353333f32c0000'), "firstname"=>"Agustina", "lastname"=>"Hodkiewicz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4224ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2351ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"530212f957353333f32c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530212f957353333f32c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2898ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530212f957353333f32c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2907ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2253ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212f957353333f32d0000'), "firstname"=>"Cleveland", "lastname"=>"Cronin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3006ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"530212f957353333f32d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530212f957353333f32d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3116ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.8ms)
Completed 500 Internal Server Error in 43ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212f957353333f32e0000'), "firstname"=>"Gabe", "lastname"=>"O'Conner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4570ms
Processing by UsersController#index as HTML
Completed 500 Internal Server Error in 4ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212f957353333f32f0000'), "firstname"=>"Sonia", "lastname"=>"Carter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4218ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.5ms)
Completed 500 Internal Server Error in 4ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212f957353333f3300000'), "firstname"=>"Anais", "lastname"=>"Wolf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4644ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"530212f957353333f3300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530212f957353333f3300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms
Completed 500 Internal Server Error in 5ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530212f957353333f3310000'), "firstname"=>"Alexanne", "lastname"=>"Bergnaum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4788ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530212f957353333f3310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530212f957353333f3310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7305ms
Unpermitted parameters: name
Redirected to http://test.host/users/530212f957353333f3310000
Completed 302 Found in 5ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6261ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2853ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4263ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2402ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530213dc573533345b000000'), "name"=>"Blair Luettgen", "reference"=>"Darron Lind", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4540ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1636ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530213dc573533345b010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4117ms
Redirected to http://test.host/admin/products/530213dc573533345b010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1878ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530213dc573533345b020000'), "name"=>"Antoinette Dare", "reference"=>"Leonard Cruickshank", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6011ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2391ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"530213dc573533345b020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530213dc573533345b020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2995ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530213dc573533345b020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1532ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530213dc573533345b030000'), "name"=>"Roger Kunde", "reference"=>"Willow Yundt", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2711ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"530213dc573533345b030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530213dc573533345b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3289ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.0ms)
Completed 200 OK in 59ms (Views: 57.7ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530213dc573533345b040000'), "name"=>"Harrison Jakubowski", "reference"=>"Elwin Lebsack", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4387ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3367ms
Completed 200 OK in 8ms (Views: 7.0ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530213dc573533345b050000'), "name"=>"Hassan Ankunding", "reference"=>"Darrel Ferry", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 21ms (Views: 5.9ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530213dc573533345b080000'), "name"=>"Mrs. Noble Glover", "reference"=>"Adell Schmeler", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4009ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"530213dc573533345b080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530213dc573533345b080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2207ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530213dc573533345b090000'), "name"=>"Oswaldo Walsh", "reference"=>"Kirsten Lemke", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3799ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530213dc573533345b090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530213dc573533345b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2543ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530213dc573533345b090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3345ms
Redirected to http://test.host/admin/products/530213dc573533345b090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530213dc573533345b0a0000'), "firstname"=>"Monique", "lastname"=>"Marquardt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4108ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2217ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530213dc573533345b0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3934ms
Redirected to http://test.host/admin/users/530213dc573533345b0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3029ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530213dc573533345b0c0000'), "firstname"=>"Katelin", "lastname"=>"Howell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4050ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1743ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"530213dc573533345b0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530213dc573533345b0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2824ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530213dc573533345b0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2824ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1701ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530213dc573533345b0d0000'), "firstname"=>"Danial", "lastname"=>"Walsh"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2340ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"530213dc573533345b0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530213dc573533345b0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3074ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.4ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530213dc573533345b0e0000'), "firstname"=>"Verona", "lastname"=>"Kshlerin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3185ms
Completed 200 OK in 7ms (Views: 6.5ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530213dc573533345b0f0000'), "firstname"=>"Denis", "lastname"=>"Glover"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.2ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530213dc573533345b100000'), "firstname"=>"Monserrate", "lastname"=>"Pfannerstill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4210ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"530213dc573533345b100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530213dc573533345b100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2492ms
Completed 200 OK in 5ms (Views: 3.8ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530213dc573533345b110000'), "firstname"=>"Joanny", "lastname"=>"Witting"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4189ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530213dc573533345b110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530213dc573533345b110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2692ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/530213dc573533345b110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530213dc573533345b120000'), "firstname"=>"Dolly", "lastname"=>"Gottlieb"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4579ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1721ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530213dc573533345b130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3423ms
Redirected to http://test.host/admin/clients/530213dc573533345b130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1949ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530213dc573533345b140000'), "firstname"=>"Reva", "lastname"=>"Morissette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3795ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1946ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530213dc573533345b140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530213dc573533345b140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3159ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530213dc573533345b140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3618ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2804ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530213dc573533345b150000'), "firstname"=>"Francesco", "lastname"=>"Borer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3884ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530213dc573533345b150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530213dc573533345b150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.5ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530213dc573533345b160000'), "firstname"=>"Audreanne", "lastname"=>"Sawayn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4252ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3305ms
Completed 200 OK in 8ms (Views: 6.5ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530213dc573533345b170000'), "firstname"=>"Dasia", "lastname"=>"Volkman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4815ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530213dc573533345b180000'), "firstname"=>"Arden", "lastname"=>"Haag"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3980ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530213dc573533345b180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530213dc573533345b180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2485ms
Completed 200 OK in 5ms (Views: 4.0ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530213dc573533345b190000'), "firstname"=>"Ronaldo", "lastname"=>"Doyle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3716ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530213dc573533345b190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530213dc573533345b190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2381ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530213dc573533345b190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2989ms
Redirected to http://test.host/admin/clients/530213dc573533345b190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530213dc573533345b1a0000'), "firstname"=>"Tia", "lastname"=>"Leffler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2671ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1639ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530213dc573533345b1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2841ms
Redirected to http://test.host/clients/530213dc573533345b1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1770ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530213dc573533345b1c0000'), "firstname"=>"Jared", "lastname"=>"Donnelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2113ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1497ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530213dc573533345b1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530213dc573533345b1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2303ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530213dc573533345b1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2319ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1615ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530213dc573533345b1d0000'), "firstname"=>"Sterling", "lastname"=>"Ortiz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2657ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530213dc573533345b1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530213dc573533345b1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530213dc573533345b1e0000'), "firstname"=>"Mckayla", "lastname"=>"Kozey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3154ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4023ms
Completed 200 OK in 41ms (Views: 40.3ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530213dc573533345b1f0000'), "firstname"=>"Gustave", "lastname"=>"Bergnaum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530213dc573533345b200000'), "firstname"=>"Viola", "lastname"=>"Carroll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4079ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530213dc573533345b200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530213dc573533345b200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms
Completed 200 OK in 4ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530213dc573533345b210000'), "firstname"=>"Destiny", "lastname"=>"Thompson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3381ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530213dc573533345b210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530213dc573533345b210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2844ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530213dc573533345b210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2859ms
Redirected to http://test.host/clients/530213dc573533345b210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530213dc573533345b220000'), "name"=>"Alden Halvorson", "reference"=>"Travon Vandervort", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1841ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530213dc573533345b230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3347ms
Redirected to http://test.host/products/530213dc573533345b230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2336ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530213dc573533345b240000'), "name"=>"Ali Wehner II", "reference"=>"Elyse Pagac", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3402ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2602ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"530213dc573533345b240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530213dc573533345b240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3307ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530213dc573533345b240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4050ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2589ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530213dc573533345b250000'), "name"=>"Rhea Skiles", "reference"=>"Jordane Denesik", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2420ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"530213dc573533345b250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530213dc573533345b250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2355ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 9ms (Views: 8.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530213dc573533345b260000'), "name"=>"Joyce Bashirian I", "reference"=>"Lucius Bins DVM", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4038ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3953ms
Completed 200 OK in 10ms (Views: 10.0ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530213dc573533345b270000'), "name"=>"Dr. Caleigh Rippin", "reference"=>"Ms. Donnie Thiel", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3707ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 8ms (Views: 6.4ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530213dc573533345b290000'), "name"=>"Troy Bode", "reference"=>"Miss Roberto Prohaska", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4407ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"530213dc573533345b290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530213dc573533345b290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms
Completed 200 OK in 5ms (Views: 3.8ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530213dc573533345b2a0000'), "name"=>"Kris Dach V", "reference"=>"Miss Clotilde Bergnaum", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4689ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530213dc573533345b2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530213dc573533345b2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3073ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530213dc573533345b2a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3203ms
Redirected to http://test.host/products/530213dc573533345b2a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530213dc573533345b2b0000'), "firstname"=>"Adolf", "lastname"=>"Hayes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4276ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2300ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530213dc573533345b2c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3777ms
Redirected to http://test.host/users/530213dc573533345b2c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3182ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530213dc573533345b2d0000'), "firstname"=>"Natasha", "lastname"=>"Hermiston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1590ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"530213dc573533345b2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530213dc573533345b2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2884ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530213dc573533345b2d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2511ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1677ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530213dc573533345b2e0000'), "firstname"=>"Donna", "lastname"=>"Kreiger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2264ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"530213dc573533345b2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530213dc573533345b2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2475ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 39ms (Views: 37.4ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530213dc573533345b2f0000'), "firstname"=>"Sabina", "lastname"=>"Koss"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4352ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4108ms
Completed 200 OK in 11ms (Views: 10.3ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530213dc573533345b300000'), "firstname"=>"Evan", "lastname"=>"King"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530213dc573533345b310000'), "firstname"=>"Kaia", "lastname"=>"Rempel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3706ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"530213dc573533345b310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530213dc573533345b310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2288ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530213dc573533345b320000'), "firstname"=>"Monique", "lastname"=>"Auer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4624ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530213dc573533345b320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530213dc573533345b320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3593ms
Unpermitted parameters: name
Redirected to http://test.host/users/530213dc573533345b320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6016ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3062ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3004ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2971ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2210ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530215845735333502000000'), "name"=>"Joana Jacobi", "reference"=>"Rosendo Cummerata", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4590ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1856ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530215845735333502010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms
Redirected to http://test.host/admin/products/530215845735333502010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1834ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530215845735333502020000'), "name"=>"Jayne Lehner", "reference"=>"Benjamin Kertzmann", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3416ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1739ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"530215845735333502020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530215845735333502020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3367ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530215845735333502020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3325ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2496ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530215845735333502030000'), "name"=>"Leopold Johnson", "reference"=>"Dr. Paige Jacobs", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3521ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"530215845735333502030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530215845735333502030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3895ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 200 OK in 57ms (Views: 55.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530215845735333502040000'), "name"=>"Jarred Welch DDS", "reference"=>"Alford Kerluke", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5402ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3932ms
Completed 200 OK in 8ms (Views: 7.3ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530215845735333502050000'), "name"=>"Natasha Homenick", "reference"=>"Randal Sawayn", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3821ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 23ms (Views: 6.5ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530215845735333502080000'), "name"=>"August Pagac", "reference"=>"Sheila Labadie III", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4318ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"530215845735333502080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530215845735333502080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530215845735333502090000'), "name"=>"Melba Trantow", "reference"=>"Branson Lowe", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4094ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530215845735333502090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530215845735333502090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2695ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530215845735333502090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3259ms
Redirected to http://test.host/admin/products/530215845735333502090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302158457353335020a0000'), "firstname"=>"Ruben", "lastname"=>"Krajcik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5092ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1892ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302158457353335020b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3929ms
Redirected to http://test.host/admin/users/5302158457353335020b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3664ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302158457353335020c0000'), "firstname"=>"Reba", "lastname"=>"Emard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4617ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1704ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5302158457353335020c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5302158457353335020c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2374ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5302158457353335020c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2625ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1714ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302158457353335020d0000'), "firstname"=>"Xander", "lastname"=>"Schinner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2264ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5302158457353335020d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5302158457353335020d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2322ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302158457353335020e0000'), "firstname"=>"Novella", "lastname"=>"Klein"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4386ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3508ms
Completed 200 OK in 7ms (Views: 6.6ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302158457353335020f0000'), "firstname"=>"Nyasia", "lastname"=>"Streich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.0806ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 6.3ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530215845735333502100000'), "firstname"=>"Keely", "lastname"=>"Cummerata"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4578ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"530215845735333502100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530215845735333502100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms
Completed 200 OK in 5ms (Views: 3.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530215845735333502110000'), "firstname"=>"Vicky", "lastname"=>"Gusikowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4037ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530215845735333502110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530215845735333502110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2637ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/530215845735333502110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530215845735333502120000'), "firstname"=>"Helga", "lastname"=>"Homenick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4492ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1848ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530215845735333502130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3866ms
Redirected to http://test.host/admin/clients/530215845735333502130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1974ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530215845735333502140000'), "firstname"=>"Jaylan", "lastname"=>"Wilkinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3042ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1634ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530215845735333502140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530215845735333502140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2538ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530215845735333502140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4785ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2914ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530215845735333502150000'), "firstname"=>"Adam", "lastname"=>"Jenkins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4198ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530215845735333502150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530215845735333502150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4085ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 11ms (Views: 8.9ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530215845735333502160000'), "firstname"=>"Dylan", "lastname"=>"Cole"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4676ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3582ms
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530215845735333502170000'), "firstname"=>"Branson", "lastname"=>"Walter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4397ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 6.5ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530215845735333502180000'), "firstname"=>"Sabina", "lastname"=>"Tremblay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4694ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530215845735333502180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530215845735333502180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3483ms
Completed 200 OK in 6ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530215845735333502190000'), "firstname"=>"Lolita", "lastname"=>"Shields"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530215845735333502190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530215845735333502190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530215845735333502190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3183ms
Redirected to http://test.host/admin/clients/530215845735333502190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302158457353335021a0000'), "firstname"=>"Una", "lastname"=>"Halvorson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2686ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1555ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302158457353335021b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2829ms
Redirected to http://test.host/clients/5302158457353335021b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1754ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302158457353335021c0000'), "firstname"=>"Lucius", "lastname"=>"Weissnat"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2072ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1460ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5302158457353335021c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5302158457353335021c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2762ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5302158457353335021c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2699ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1901ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302158457353335021d0000'), "firstname"=>"Braden", "lastname"=>"Rutherford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2571ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5302158457353335021d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5302158457353335021d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2400ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.6ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302158457353335021e0000'), "firstname"=>"Lucienne", "lastname"=>"Cormier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3989ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4337ms
Completed 200 OK in 40ms (Views: 39.7ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302158457353335021f0000'), "firstname"=>"Madonna", "lastname"=>"Pagac"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4920ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 4.9ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530215845735333502200000'), "firstname"=>"Max", "lastname"=>"Harber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4123ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530215845735333502200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530215845735333502200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2849ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530215845735333502210000'), "firstname"=>"Ned", "lastname"=>"Kub"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3370ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530215845735333502210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530215845735333502210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2949ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530215845735333502210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2993ms
Redirected to http://test.host/clients/530215845735333502210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530215845735333502220000'), "name"=>"Foster Weber", "reference"=>"Sofia Ankunding", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4013ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1712ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530215845735333502230000'), "name"=>"Marcelle Fay", "reference"=>"Edna Zemlak", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1998ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530215845735333502240000'), "name"=>"Ricky Morar", "reference"=>"Aaron Grant", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5253ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530215845735333502250000'), "name"=>"Kailee Huels", "reference"=>"Afton Dibbert", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5114ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530215845735333502260000'), "name"=>"Zoie Cremin", "reference"=>"Clifton Bartell PhD", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4177ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530215845735333502270000'), "name"=>"Miss Zachary Prohaska", "reference"=>"Mrs. Arjun Kovacek", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3776ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530215845735333502280000'), "name"=>"Mr. Ladarius Kuvalis", "reference"=>"Arely Kshlerin DDS", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4194ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530215845735333502290000'), "firstname"=>"Peyton", "lastname"=>"Herman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1811ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302158457353335022a0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3922ms
Redirected to http://test.host/users/5302158457353335022a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2093ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302158457353335022b0000'), "firstname"=>"Ludwig", "lastname"=>"Green"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3419ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1775ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5302158457353335022b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5302158457353335022b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2484ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5302158457353335022b0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2388ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1805ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302158457353335022c0000'), "firstname"=>"Isabella", "lastname"=>"Daniel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2549ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5302158457353335022c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5302158457353335022c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2347ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 9ms (Views: 8.2ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302158457353335022d0000'), "firstname"=>"Estel", "lastname"=>"Wilderman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4376ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3952ms
Completed 200 OK in 11ms (Views: 10.3ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302158457353335022e0000'), "firstname"=>"Payton", "lastname"=>"Block"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3639ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.1ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302158557353335022f0000'), "firstname"=>"Selina", "lastname"=>"Bradtke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4000ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5302158557353335022f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5302158557353335022f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2557ms
Completed 200 OK in 36ms (Views: 34.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530215855735333502300000'), "firstname"=>"Elisha", "lastname"=>"Harvey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4079ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530215855735333502300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530215855735333502300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3192ms
Unpermitted parameters: name
Redirected to http://test.host/users/530215855735333502300000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6564ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3985ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3200ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2724ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3702ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d000000'), "name"=>"Camille Rowe", "reference"=>"Mr. Edythe Mosciski", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4533ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1809ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms
Redirected to http://test.host/admin/products/53021eda5735333d3d010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1936ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d020000'), "name"=>"Rebeka Quigley I", "reference"=>"Maxime Schmidt", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3155ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1764ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53021eda5735333d3d020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53021eda5735333d3d020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2503ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53021eda5735333d3d020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2908ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2022ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d030000'), "name"=>"Josefina Stracke", "reference"=>"Furman O'Kon", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2637ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53021eda5735333d3d030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53021eda5735333d3d030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2568ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.8ms)
Completed 200 OK in 54ms (Views: 52.9ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d040000'), "name"=>"Raquel Altenwerth", "reference"=>"Claudie Little", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4330ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3377ms
Completed 200 OK in 7ms (Views: 6.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d050000'), "name"=>"Zetta Konopelski DVM", "reference"=>"Jayne Huels DDS", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3837ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 21ms (Views: 6.9ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d080000'), "name"=>"Wilfredo Koelpin PhD", "reference"=>"Emil Spencer", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4223ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53021eda5735333d3d080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53021eda5735333d3d080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2630ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d090000'), "name"=>"Dr. Opal Hickle", "reference"=>"Mallie Funk", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4161ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53021eda5735333d3d090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53021eda5735333d3d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53021eda5735333d3d090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3275ms
Redirected to http://test.host/admin/products/53021eda5735333d3d090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d0a0000'), "firstname"=>"Vernon", "lastname"=>"Wolff"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4060ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1654ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4592ms
Redirected to http://test.host/admin/users/53021eda5735333d3d0b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2170ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d0c0000'), "firstname"=>"Evert", "lastname"=>"Bradtke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3610ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1765ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53021eda5735333d3d0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53021eda5735333d3d0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2594ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53021eda5735333d3d0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2965ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1691ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d0d0000'), "firstname"=>"Emmett", "lastname"=>"Bashirian"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2467ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53021eda5735333d3d0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53021eda5735333d3d0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d0e0000'), "firstname"=>"Marlene", "lastname"=>"Carroll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 25.7213ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3935ms
Completed 200 OK in 7ms (Views: 6.7ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d0f0000'), "firstname"=>"Constantin", "lastname"=>"McLaughlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4610ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.4ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d100000'), "firstname"=>"Eloisa", "lastname"=>"Streich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4166ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53021eda5735333d3d100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53021eda5735333d3d100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms
Completed 200 OK in 5ms (Views: 3.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d110000'), "firstname"=>"Stephany", "lastname"=>"Marquardt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4387ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53021eda5735333d3d110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53021eda5735333d3d110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2970ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53021eda5735333d3d110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d120000'), "firstname"=>"Hattie", "lastname"=>"Becker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4398ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1633ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3771ms
Redirected to http://test.host/admin/clients/53021eda5735333d3d130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2362ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d140000'), "firstname"=>"Brock", "lastname"=>"Aufderhar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3638ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2270ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53021eda5735333d3d140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53021eda5735333d3d140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2999ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53021eda5735333d3d140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3015ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2167ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d150000'), "firstname"=>"Rylan", "lastname"=>"Kemmer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2650ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53021eda5735333d3d150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53021eda5735333d3d150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2727ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.4ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d160000'), "firstname"=>"Summer", "lastname"=>"Stokes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2420ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3552ms
Completed 200 OK in 8ms (Views: 6.8ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d170000'), "firstname"=>"Patsy", "lastname"=>"Cartwright"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4247ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d180000'), "firstname"=>"Ron", "lastname"=>"Graham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4160ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53021eda5735333d3d180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53021eda5735333d3d180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2442ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d190000'), "firstname"=>"Herminia", "lastname"=>"Schultz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4971ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53021eda5735333d3d190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53021eda5735333d3d190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3065ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53021eda5735333d3d190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3327ms
Redirected to http://test.host/admin/clients/53021eda5735333d3d190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d1a0000'), "firstname"=>"Hillard", "lastname"=>"Beier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3467ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1774ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4493ms
Redirected to http://test.host/clients/53021eda5735333d3d1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1989ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d1c0000'), "firstname"=>"Virgie", "lastname"=>"Welch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2191ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1558ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53021eda5735333d3d1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53021eda5735333d3d1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2377ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53021eda5735333d3d1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3024ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3026ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d1d0000'), "firstname"=>"Ford", "lastname"=>"Rice"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3343ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53021eda5735333d3d1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53021eda5735333d3d1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3181ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d1e0000'), "firstname"=>"Krystel", "lastname"=>"Hamill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3590ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4193ms
Completed 200 OK in 40ms (Views: 39.5ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d1f0000'), "firstname"=>"Bianka", "lastname"=>"Jacobson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3971ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d200000'), "firstname"=>"Jillian", "lastname"=>"Effertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53021eda5735333d3d200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53021eda5735333d3d200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2900ms
Completed 200 OK in 5ms (Views: 3.5ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d210000'), "firstname"=>"Adrianna", "lastname"=>"Kling"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3927ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53021eda5735333d3d210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53021eda5735333d3d210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2458ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53021eda5735333d3d210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2686ms
Redirected to http://test.host/clients/53021eda5735333d3d210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d220000'), "name"=>"Mr. Oswaldo Welch", "reference"=>"Ms. Sheila Walker", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4559ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1809ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4334ms
Redirected to http://test.host/products/53021eda5735333d3d230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1929ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d240000'), "name"=>"Mac Hegmann", "reference"=>"Jayda Champlin", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3701ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2344ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53021eda5735333d3d240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53021eda5735333d3d240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2420ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53021eda5735333d3d240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2420ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1851ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d250000'), "name"=>"Pete Murphy I", "reference"=>"Marian Keeling", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3440ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53021eda5735333d3d250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53021eda5735333d3d250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3354ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 10ms (Views: 8.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d260000'), "name"=>"Scarlett Nienow", "reference"=>"Dr. Aliya Bosco", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3968ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3685ms
Completed 200 OK in 10ms (Views: 9.8ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d270000'), "name"=>"Cassidy Dietrich", "reference"=>"Gonzalo Hartmann", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3436ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 8ms (Views: 6.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d290000'), "name"=>"Carmella Medhurst", "reference"=>"Flossie Brakus", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53021eda5735333d3d290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53021eda5735333d3d290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2455ms
Completed 200 OK in 5ms (Views: 3.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d2a0000'), "name"=>"Mafalda Graham", "reference"=>"Ana Botsford", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3770ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53021eda5735333d3d2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53021eda5735333d3d2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53021eda5735333d3d2a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2802ms
Redirected to http://test.host/products/53021eda5735333d3d2a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d2b0000'), "firstname"=>"Alessia", "lastname"=>"Hackett"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.1295ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1837ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d2c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4334ms
Redirected to http://test.host/users/53021eda5735333d3d2c0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3283ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d2d0000'), "firstname"=>"Caleb", "lastname"=>"Franecki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3813ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2054ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53021eda5735333d3d2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53021eda5735333d3d2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3215ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53021eda5735333d3d2d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2923ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 28.8609ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d2e0000'), "firstname"=>"Maxine", "lastname"=>"Adams"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4133ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53021eda5735333d3d2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53021eda5735333d3d2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 10ms (Views: 8.7ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021eda5735333d3d2f0000'), "firstname"=>"Hailie", "lastname"=>"Turner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4156ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3781ms
Completed 200 OK in 11ms (Views: 10.2ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021edb5735333d3d300000'), "firstname"=>"Bella", "lastname"=>"Ruecker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021edb5735333d3d310000'), "firstname"=>"Jayden", "lastname"=>"Tremblay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4141ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53021edb5735333d3d310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53021edb5735333d3d310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms
Completed 200 OK in 5ms (Views: 3.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021edb5735333d3d320000'), "firstname"=>"Nella", "lastname"=>"Funk"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3952ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53021edb5735333d3d320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53021edb5735333d3d320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2755ms
Unpermitted parameters: name
Redirected to http://test.host/users/53021edb5735333d3d320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7136ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4407ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3571ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2663ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2619ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021f695735333dc8000000'), "name"=>"Twila Waelchi", "reference"=>"Kris Kunze II", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4560ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1821ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021f695735333dc8010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3945ms
Redirected to http://test.host/admin/products/53021f695735333dc8010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2272ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021f695735333dc8020000'), "name"=>"Valentin Towne", "reference"=>"Dr. Al Steuber", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3747ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1805ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53021f695735333dc8020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53021f695735333dc8020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3566ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53021f695735333dc8020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3733ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2359ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021f695735333dc8030000'), "name"=>"Elwyn Zieme", "reference"=>"Aiyana White", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3085ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53021f695735333dc8030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53021f695735333dc8030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3174ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 200 OK in 55ms (Views: 53.3ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021f695735333dc8040000'), "name"=>"Prince Schuppe II", "reference"=>"Roselyn Zulauf", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5957ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3416ms
Completed 200 OK in 7ms (Views: 6.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021f695735333dc8050000'), "name"=>"Marina Runolfsdottir", "reference"=>"Raymundo Mertz", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 20ms (Views: 5.9ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021f695735333dc8080000'), "name"=>"Keenan Marks DDS", "reference"=>"Bo Reichel Sr.", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4363ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53021f695735333dc8080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53021f695735333dc8080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2563ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021f695735333dc8090000'), "name"=>"Elisa Berge", "reference"=>"Mr. Macey Funk", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53021f695735333dc8090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53021f695735333dc8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2720ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53021f695735333dc8090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3238ms
Redirected to http://test.host/admin/products/53021f695735333dc8090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021f695735333dc80a0000'), "firstname"=>"Isobel", "lastname"=>"Emmerich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4920ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2149ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021f695735333dc80b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3226ms
Redirected to http://test.host/admin/users/53021f695735333dc80b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2190ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021f695735333dc80c0000'), "firstname"=>"Cora", "lastname"=>"Stehr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3234ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1338ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53021f695735333dc80c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53021f695735333dc80c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2550ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53021f695735333dc80c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2909ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1835ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021f695735333dc80d0000'), "firstname"=>"Fae", "lastname"=>"Schiller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2448ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53021f695735333dc80d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53021f695735333dc80d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2696ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021f695735333dc80e0000'), "firstname"=>"Presley", "lastname"=>"Balistreri"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4141ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3787ms
Completed 200 OK in 7ms (Views: 6.8ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021f695735333dc80f0000'), "firstname"=>"Shirley", "lastname"=>"Block"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3495ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021f695735333dc8100000'), "firstname"=>"Frank", "lastname"=>"Beahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4132ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53021f695735333dc8100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53021f695735333dc8100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms
Completed 200 OK in 5ms (Views: 3.9ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021f695735333dc8110000'), "firstname"=>"Rusty", "lastname"=>"Spencer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5854ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53021f695735333dc8110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53021f695735333dc8110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2786ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53021f695735333dc8110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021f695735333dc8120000'), "firstname"=>"Janick", "lastname"=>"Ratke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4394ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1701ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021f695735333dc8130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3423ms
Redirected to http://test.host/admin/clients/53021f695735333dc8130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1740ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021f695735333dc8140000'), "firstname"=>"Nyasia", "lastname"=>"Harvey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3638ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1900ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53021f695735333dc8140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53021f695735333dc8140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2675ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53021f695735333dc8140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2952ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2137ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021f695735333dc8150000'), "firstname"=>"Elta", "lastname"=>"Waters"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4055ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53021f695735333dc8150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53021f695735333dc8150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3196ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021f695735333dc8160000'), "firstname"=>"Santos", "lastname"=>"Lang"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4344ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms
Completed 200 OK in 8ms (Views: 6.5ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021f695735333dc8170000'), "firstname"=>"Sonya", "lastname"=>"Mayert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4272ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.8ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021f695735333dc8180000'), "firstname"=>"Lysanne", "lastname"=>"Kuphal"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4085ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53021f695735333dc8180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53021f695735333dc8180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2371ms
Completed 200 OK in 6ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc8190000'), "firstname"=>"Marcus", "lastname"=>"Rippin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53021f6a5735333dc8190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53021f6a5735333dc8190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2408ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53021f6a5735333dc8190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2957ms
Redirected to http://test.host/admin/clients/53021f6a5735333dc8190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc81a0000'), "firstname"=>"Shyanne", "lastname"=>"Hegmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2532ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1799ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc81b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4708ms
Redirected to http://test.host/clients/53021f6a5735333dc81b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2810ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc81c0000'), "firstname"=>"Maxie", "lastname"=>"Windler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2522ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1493ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53021f6a5735333dc81c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53021f6a5735333dc81c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2294ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53021f6a5735333dc81c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2297ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1605ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc81d0000'), "firstname"=>"Lorna", "lastname"=>"Ondricka"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2540ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53021f6a5735333dc81d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53021f6a5735333dc81d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2331ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 4.9ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc81e0000'), "firstname"=>"Bailee", "lastname"=>"Swift"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3398ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3467ms
Completed 200 OK in 40ms (Views: 39.3ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc81f0000'), "firstname"=>"Johnpaul", "lastname"=>"Davis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4591ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc8200000'), "firstname"=>"Malinda", "lastname"=>"Ratke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53021f6a5735333dc8200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53021f6a5735333dc8200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2424ms
Completed 200 OK in 5ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc8210000'), "firstname"=>"Eladio", "lastname"=>"Hammes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3338ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53021f6a5735333dc8210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53021f6a5735333dc8210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53021f6a5735333dc8210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.9894ms
Redirected to http://test.host/clients/53021f6a5735333dc8210000
Completed 302 Found in 7ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc8220000'), "name"=>"Cheyanne Robel", "reference"=>"Javonte Hoppe", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4384ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1843ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc8230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3459ms
Redirected to http://test.host/products/53021f6a5735333dc8230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1783ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc8240000'), "name"=>"Estel Dare PhD", "reference"=>"Stewart Howell", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3302ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1794ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53021f6a5735333dc8240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53021f6a5735333dc8240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2667ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53021f6a5735333dc8240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2557ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1846ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc8250000'), "name"=>"Misael Anderson", "reference"=>"Yvette Torp", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2504ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53021f6a5735333dc8250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53021f6a5735333dc8250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2506ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms)
Completed 200 OK in 10ms (Views: 8.5ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc8260000'), "name"=>"Ona Schneider", "reference"=>"Kraig Carter", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4635ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3798ms
Completed 200 OK in 10ms (Views: 9.8ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc8270000'), "name"=>"Mr. Ayana Kuhic", "reference"=>"Mr. Wilson Schiller", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3674ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.1ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc8290000'), "name"=>"Samara Mann Sr.", "reference"=>"Mr. Elias Frami", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4044ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53021f6a5735333dc8290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53021f6a5735333dc8290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms
Completed 200 OK in 5ms (Views: 3.7ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc82a0000'), "name"=>"Princess McCullough", "reference"=>"Dimitri Nolan", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4492ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53021f6a5735333dc82a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53021f6a5735333dc82a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2662ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53021f6a5735333dc82a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3238ms
Redirected to http://test.host/products/53021f6a5735333dc82a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc82b0000'), "firstname"=>"Gabriella", "lastname"=>"Anderson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4093ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1795ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc82c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3470ms
Redirected to http://test.host/users/53021f6a5735333dc82c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1909ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc82d0000'), "firstname"=>"Elvie", "lastname"=>"Quitzon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3016ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1715ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53021f6a5735333dc82d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53021f6a5735333dc82d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2597ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53021f6a5735333dc82d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2858ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 28.8840ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc82e0000'), "firstname"=>"Pamela", "lastname"=>"Harvey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2901ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53021f6a5735333dc82e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53021f6a5735333dc82e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2611ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 10ms (Views: 8.8ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc82f0000'), "firstname"=>"Alejandra", "lastname"=>"Spinka"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4076ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3499ms
Completed 200 OK in 11ms (Views: 10.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc8300000'), "firstname"=>"Felicita", "lastname"=>"Heidenreich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.1ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc8310000'), "firstname"=>"Noe", "lastname"=>"Romaguera"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4044ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53021f6a5735333dc8310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53021f6a5735333dc8310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2422ms
Completed 200 OK in 5ms (Views: 3.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53021f6a5735333dc8320000'), "firstname"=>"Lyla", "lastname"=>"Hyatt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3787ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53021f6a5735333dc8320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53021f6a5735333dc8320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms
Unpermitted parameters: name
Redirected to http://test.host/users/53021f6a5735333dc8320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6422ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4886ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3641ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530220095735333f61000000'), "name"=>"Nadia Heller", "reference"=>"Ms. Trevor Reichert", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4458ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1641ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530220095735333f61010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4797ms
Redirected to http://test.host/admin/products/530220095735333f61010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2960ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530220095735333f61020000'), "name"=>"Kaden Konopelski III", "reference"=>"Estefania Koelpin", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3418ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1593ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"530220095735333f61020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530220095735333f61020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3099ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530220095735333f61020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3149ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1577ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530220095735333f61030000'), "name"=>"Ethyl Kerluke MD", "reference"=>"Jerald Bashirian PhD", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2703ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"530220095735333f61030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530220095735333f61030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2191ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (7.2ms)
Completed 200 OK in 57ms (Views: 56.2ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530220095735333f61040000'), "name"=>"Howell Mohr", "reference"=>"Icie Johnston", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4284ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3485ms
Completed 200 OK in 7ms (Views: 6.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530220095735333f61050000'), "name"=>"Miss Kasandra White", "reference"=>"Jakob Wilderman", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3698ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 22ms (Views: 6.0ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530220095735333f61080000'), "name"=>"Jamison Treutel", "reference"=>"Brice Harris", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4161ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"530220095735333f61080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530220095735333f61080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530220095735333f61090000'), "name"=>"Sonny Stehr", "reference"=>"Miss Mustafa Lang", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5467ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530220095735333f61090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530220095735333f61090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3459ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530220095735333f61090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3888ms
Redirected to http://test.host/admin/products/530220095735333f61090000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530220095735333f610a0000'), "firstname"=>"Fredy", "lastname"=>"Langworth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4291ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1794ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530220095735333f610b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4641ms
Redirected to http://test.host/admin/users/530220095735333f610b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2716ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530220095735333f610c0000'), "firstname"=>"Ashlee", "lastname"=>"Rogahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3291ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2059ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"530220095735333f610c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530220095735333f610c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2699ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530220095735333f610c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3036ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2356ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530220095735333f610d0000'), "firstname"=>"Tamara", "lastname"=>"Satterfield"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2950ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"530220095735333f610d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530220095735333f610d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2911ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 10ms (Views: 8.4ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530220095735333f610e0000'), "firstname"=>"Furman", "lastname"=>"Hills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4302ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3245ms
Completed 200 OK in 7ms (Views: 6.6ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530220095735333f610f0000'), "firstname"=>"Ronaldo", "lastname"=>"Gorczany"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3523ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 6ms (Views: 5.5ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530220095735333f61100000'), "firstname"=>"Herminio", "lastname"=>"Howell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4454ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"530220095735333f61100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530220095735333f61100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2284ms
Completed 200 OK in 5ms (Views: 3.8ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530220095735333f61110000'), "firstname"=>"Danny", "lastname"=>"Crooks"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4331ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530220095735333f61110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530220095735333f61110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3713ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/530220095735333f61110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530220095735333f61120000'), "firstname"=>"Reta", "lastname"=>"Rempel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2932ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2183ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530220095735333f61130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4185ms
Redirected to http://test.host/admin/clients/530220095735333f61130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2675ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530220095735333f61140000'), "firstname"=>"Jensen", "lastname"=>"Torphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3032ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1469ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530220095735333f61140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530220095735333f61140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3895ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530220095735333f61140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3711ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3956ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530220095735333f61150000'), "firstname"=>"Naomie", "lastname"=>"Hayes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3905ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530220095735333f61150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530220095735333f61150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2671ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530220095735333f61160000'), "firstname"=>"Kamryn", "lastname"=>"Thiel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4164ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3935ms
Completed 200 OK in 8ms (Views: 7.3ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530220095735333f61170000'), "firstname"=>"Herminio", "lastname"=>"Mertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5344ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 6.2ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302200a5735333f61180000'), "firstname"=>"Myrl", "lastname"=>"Hessel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4252ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5302200a5735333f61180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5302200a5735333f61180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2980ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302200a5735333f61190000'), "firstname"=>"Manuel", "lastname"=>"Flatley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6016ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5302200a5735333f61190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5302200a5735333f61190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3308ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5302200a5735333f61190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms
Redirected to http://test.host/admin/clients/5302200a5735333f61190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302200a5735333f611a0000'), "firstname"=>"Albertha", "lastname"=>"Corkery"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2974ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2259ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302200a5735333f611b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4088ms
Redirected to http://test.host/clients/5302200a5735333f611b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2566ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302200a5735333f611c0000'), "firstname"=>"Angelica", "lastname"=>"Ortiz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2416ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2275ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5302200a5735333f611c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5302200a5735333f611c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4257ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5302200a5735333f611c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3237ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2476ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302200a5735333f611d0000'), "firstname"=>"Austen", "lastname"=>"Altenwerth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3027ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5302200a5735333f611d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5302200a5735333f611d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2626ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302200a5735333f611e0000'), "firstname"=>"Willis", "lastname"=>"Wolf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3648ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4382ms
Completed 200 OK in 12ms (Views: 11.7ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302200a5735333f611f0000'), "firstname"=>"Ilene", "lastname"=>"Mills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4505ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 4.9ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302200a5735333f61200000'), "firstname"=>"Darion", "lastname"=>"Boyer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4048ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5302200a5735333f61200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5302200a5735333f61200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2737ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302200a5735333f61210000'), "firstname"=>"Jerod", "lastname"=>"Klocko"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4312ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5302200a5735333f61210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5302200a5735333f61210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3528ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5302200a5735333f61210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2751ms
Redirected to http://test.host/clients/5302200a5735333f61210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302200a5735333f61220000'), "name"=>"Lisa Fahey", "reference"=>"Bridgette Hamill", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4508ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2027ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302200a5735333f61230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5257ms
Redirected to http://test.host/products/5302200a5735333f61230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2159ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302200a5735333f61240000'), "name"=>"Rosie Doyle", "reference"=>"Heloise Thiel", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3412ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1774ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5302200a5735333f61240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5302200a5735333f61240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2725ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5302200a5735333f61240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2660ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1872ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302200a5735333f61250000'), "name"=>"Arjun Marquardt", "reference"=>"Ettie Zboncak", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2520ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5302200a5735333f61250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5302200a5735333f61250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.4ms)
Completed 200 OK in 11ms (Views: 9.3ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302200a5735333f61260000'), "name"=>"Estella Goldner", "reference"=>"Marianne Gaylord", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3234ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4686ms
Completed 200 OK in 11ms (Views: 10.7ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302200a5735333f61270000'), "name"=>"Mason Fay", "reference"=>"Hollis Streich", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4182ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.0ms)
Completed 200 OK in 9ms (Views: 7.5ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302200a5735333f61290000'), "name"=>"Viviane Cremin PhD", "reference"=>"Rubye Runte", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5105ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5302200a5735333f61290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5302200a5735333f61290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2562ms
Completed 200 OK in 5ms (Views: 3.8ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302200a5735333f612a0000'), "name"=>"Misael Larson", "reference"=>"Shirley Leffler", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4453ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5302200a5735333f612a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5302200a5735333f612a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2980ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5302200a5735333f612a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3340ms
Redirected to http://test.host/products/5302200a5735333f612a0000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302200a5735333f612b0000'), "firstname"=>"Elizabeth", "lastname"=>"Pouros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4972ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1855ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302200a5735333f612c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4309ms
Redirected to http://test.host/users/5302200a5735333f612c0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3016ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302200a5735333f612d0000'), "firstname"=>"Arno", "lastname"=>"MacGyver"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4182ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1672ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5302200a5735333f612d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5302200a5735333f612d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3539ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5302200a5735333f612d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2489ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1672ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302200a5735333f612e0000'), "firstname"=>"Alexie", "lastname"=>"Smitham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2679ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5302200a5735333f612e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5302200a5735333f612e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3823ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 11ms (Views: 9.5ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302200a5735333f612f0000'), "firstname"=>"Ayla", "lastname"=>"Homenick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6365ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3956ms
Completed 200 OK in 11ms (Views: 10.2ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302200a5735333f61300000'), "firstname"=>"Myrtle", "lastname"=>"Howell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3765ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 7ms (Views: 6.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302200a5735333f61310000'), "firstname"=>"Oleta", "lastname"=>"Koss"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4391ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5302200a5735333f61310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5302200a5735333f61310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2942ms
Completed 200 OK in 5ms (Views: 3.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302200a5735333f61320000'), "firstname"=>"Benjamin", "lastname"=>"Koss"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4000ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5302200a5735333f61320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5302200a5735333f61320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2542ms
Unpermitted parameters: name
Redirected to http://test.host/users/5302200a5735333f61320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6008ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2838ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2880ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2413ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2573ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c30573533467d000000'), "name"=>"Chloe Gottlieb", "reference"=>"Theresia Ankunding", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5303ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1850ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c30573533467d010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms
Redirected to http://test.host/admin/products/53022c30573533467d010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1860ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c30573533467d020000'), "name"=>"Kasandra Skiles", "reference"=>"Elijah Hansen", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3150ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1566ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53022c30573533467d020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c30573533467d020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2340ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c30573533467d020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2867ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1687ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c30573533467d030000'), "name"=>"Mrs. Furman Donnelly", "reference"=>"Desmond Metz", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2385ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53022c30573533467d030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c30573533467d030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2636ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.1ms)
Completed 200 OK in 58ms (Views: 56.3ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c30573533467d040000'), "name"=>"Kaycee Hyatt", "reference"=>"Magali Rogahn", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4176ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3746ms
Completed 200 OK in 7ms (Views: 7.0ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c30573533467d050000'), "name"=>"Jacynthe Russel Jr.", "reference"=>"Lucious Anderson", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4111ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 21ms (Views: 5.9ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c30573533467d080000'), "name"=>"Trevor Rutherford", "reference"=>"Gerardo Howell", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4340ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53022c30573533467d080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c30573533467d080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2586ms
Completed 200 OK in 5ms (Views: 4.0ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c30573533467d090000'), "name"=>"Caterina Schiller", "reference"=>"Stanley Cummings IV", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4270ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022c30573533467d090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c30573533467d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2655ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c30573533467d090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3306ms
Redirected to http://test.host/admin/products/53022c30573533467d090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c30573533467d0a0000'), "firstname"=>"Christa", "lastname"=>"Kris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4953ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2507ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c30573533467d0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6450ms
Redirected to http://test.host/admin/users/53022c30573533467d0b0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2577ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c30573533467d0c0000'), "firstname"=>"Frederique", "lastname"=>"MacGyver"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3364ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1640ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53022c30573533467d0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022c30573533467d0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2346ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022c30573533467d0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2749ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1637ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c30573533467d0d0000'), "firstname"=>"Jaylan", "lastname"=>"Durgan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3699ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53022c30573533467d0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022c30573533467d0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3661ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 10ms (Views: 8.3ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c30573533467d0e0000'), "firstname"=>"Dock", "lastname"=>"Bruen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4162ms
Completed 200 OK in 8ms (Views: 7.1ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c30573533467d0f0000'), "firstname"=>"Trenton", "lastname"=>"Hammes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3586ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c30573533467d100000'), "firstname"=>"Kacie", "lastname"=>"Von"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4062ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53022c30573533467d100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022c30573533467d100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2860ms
Completed 200 OK in 5ms (Views: 3.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c30573533467d110000'), "firstname"=>"Nellie", "lastname"=>"Hintz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4397ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022c30573533467d110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022c30573533467d110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3628ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53022c30573533467d110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c30573533467d120000'), "firstname"=>"Charles", "lastname"=>"Ebert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9618ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2708ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c30573533467d130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4089ms
Redirected to http://test.host/admin/clients/53022c30573533467d130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2091ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c30573533467d140000'), "firstname"=>"Sabina", "lastname"=>"Lesch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3436ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1615ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022c30573533467d140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022c30573533467d140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022c30573533467d140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3188ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2687ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c30573533467d150000'), "firstname"=>"Cristal", "lastname"=>"Huels"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2820ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022c30573533467d150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022c30573533467d150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3718ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.6ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c30573533467d160000'), "firstname"=>"Damaris", "lastname"=>"Ledner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4107ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3814ms
Completed 200 OK in 8ms (Views: 6.8ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c30573533467d170000'), "firstname"=>"Lucious", "lastname"=>"Heathcote"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4236ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 6.3ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c30573533467d180000'), "firstname"=>"Cydney", "lastname"=>"Abernathy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4351ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022c30573533467d180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022c30573533467d180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms
Completed 200 OK in 6ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c30573533467d190000'), "firstname"=>"Hobart", "lastname"=>"Rogahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4305ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022c30573533467d190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022c30573533467d190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3574ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022c30573533467d190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3191ms
Redirected to http://test.host/admin/clients/53022c30573533467d190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c30573533467d1a0000'), "firstname"=>"Angel", "lastname"=>"Collins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2789ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1606ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c30573533467d1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2959ms
Redirected to http://test.host/clients/53022c30573533467d1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1691ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c30573533467d1c0000'), "firstname"=>"Demetris", "lastname"=>"Koch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2126ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1461ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022c30573533467d1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022c30573533467d1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2173ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022c30573533467d1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2306ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1563ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c30573533467d1d0000'), "firstname"=>"Bartholome", "lastname"=>"McDermott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3431ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022c30573533467d1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022c30573533467d1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3803ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.4ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c30573533467d1e0000'), "firstname"=>"Prudence", "lastname"=>"Leannon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3541ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3507ms
Completed 200 OK in 11ms (Views: 10.3ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c30573533467d1f0000'), "firstname"=>"Bailee", "lastname"=>"Littel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4157ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c30573533467d200000'), "firstname"=>"Deron", "lastname"=>"Jakubowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5025ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022c30573533467d200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022c30573533467d200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3318ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c30573533467d210000'), "firstname"=>"Burnice", "lastname"=>"Kilback"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3546ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022c30573533467d210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022c30573533467d210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2634ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022c30573533467d210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2745ms
Redirected to http://test.host/clients/53022c30573533467d210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c30573533467d220000'), "name"=>"Abigale Konopelski", "reference"=>"Liliane Bernier", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4783ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1878ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c30573533467d230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4396ms
Redirected to http://test.host/products/53022c30573533467d230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2449ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c30573533467d240000'), "name"=>"Melody Koch", "reference"=>"Mr. Roslyn Wiza", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4133ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2443ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53022c30573533467d240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c30573533467d240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4564ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c30573533467d240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4443ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2609ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c30573533467d250000'), "name"=>"Elody Gottlieb", "reference"=>"Audie Paucek", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2616ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53022c30573533467d250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c30573533467d250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2682ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c30573533467d260000'), "name"=>"Maynard Hauck", "reference"=>"Britney Willms", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4353ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4419ms
Completed 200 OK in 11ms (Views: 10.7ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c30573533467d270000'), "name"=>"Alverta Anderson", "reference"=>"Dagmar Shields DVM", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3818ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3978ms
Completed 200 OK in 10ms (Views: 9.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c30573533467d280000'), "name"=>"Marcos Yost", "reference"=>"Ismael Abernathy", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3930ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 7ms (Views: 6.1ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c30573533467d2a0000'), "name"=>"Arely Goldner MD", "reference"=>"Jane VonRueden", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4208ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53022c30573533467d2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c30573533467d2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2873ms
Completed 200 OK in 6ms (Views: 4.3ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c30573533467d2b0000'), "name"=>"Miss Haylie Schmeler", "reference"=>"Piper Erdman", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022c30573533467d2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c30573533467d2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2666ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c30573533467d2b0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2835ms
Redirected to http://test.host/products/53022c30573533467d2b0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c30573533467d2c0000'), "firstname"=>"Ulises", "lastname"=>"Gibson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4223ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2055ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c30573533467d2d0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4495ms
Redirected to http://test.host/users/53022c30573533467d2d0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1927ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c30573533467d2e0000'), "firstname"=>"Branson", "lastname"=>"Bashirian"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3401ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1826ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53022c30573533467d2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022c30573533467d2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3007ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022c30573533467d2e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3359ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2613ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c30573533467d2f0000'), "firstname"=>"Keven", "lastname"=>"Reynolds"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3081ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53022c30573533467d2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022c30573533467d2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3594ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 9ms (Views: 7.4ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c30573533467d300000'), "firstname"=>"Mohammed", "lastname"=>"Effertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6980ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3848ms
Completed 200 OK in 11ms (Views: 10.3ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c30573533467d310000'), "firstname"=>"Nicolette", "lastname"=>"Hettinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3877ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.1ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c30573533467d320000'), "firstname"=>"Norval", "lastname"=>"Schinner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3974ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53022c30573533467d320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022c30573533467d320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3933ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c31573533467d330000'), "firstname"=>"Mack", "lastname"=>"Barton"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4201ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022c31573533467d330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022c31573533467d330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2814ms
Unpermitted parameters: name
Redirected to http://test.host/users/53022c31573533467d330000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6501ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2800ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3568ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2709ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2662ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae000000'), "name"=>"Jaden Bins", "reference"=>"Maryse Rosenbaum", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4554ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1817ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms
Redirected to http://test.host/admin/products/53022c6b57353346ae010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1982ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae020000'), "name"=>"Florencio Rutherford", "reference"=>"Verdie Murphy Sr.", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3235ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1775ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53022c6b57353346ae020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c6b57353346ae020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3152ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c6b57353346ae020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4114ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2240ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae030000'), "name"=>"Mrs. Patrick Stamm", "reference"=>"Noe Fahey", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3937ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53022c6b57353346ae030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c6b57353346ae030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3229ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.9ms)
Completed 200 OK in 55ms (Views: 53.6ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae040000'), "name"=>"Julia Morissette", "reference"=>"Cecile Raynor I", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4666ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3783ms
Completed 200 OK in 8ms (Views: 7.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae050000'), "name"=>"Ruthe Hodkiewicz", "reference"=>"Montana Shields", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3497ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 20ms (Views: 6.7ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae080000'), "name"=>"Buddy Macejkovic", "reference"=>"Roxanne Stehr MD", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53022c6b57353346ae080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c6b57353346ae080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2399ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae090000'), "name"=>"Frida Kuvalis", "reference"=>"Kole Dooley DDS", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4876ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022c6b57353346ae090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c6b57353346ae090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3367ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c6b57353346ae090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3687ms
Redirected to http://test.host/admin/products/53022c6b57353346ae090000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae0a0000'), "firstname"=>"Devonte", "lastname"=>"Huel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4433ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1849ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6187ms
Redirected to http://test.host/admin/users/53022c6b57353346ae0b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3716ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae0c0000'), "firstname"=>"Kianna", "lastname"=>"Russel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2515ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53022c6b57353346ae0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022c6b57353346ae0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022c6b57353346ae0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3719ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2065ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae0d0000'), "firstname"=>"Keon", "lastname"=>"Kreiger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2631ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53022c6b57353346ae0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022c6b57353346ae0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 9ms (Views: 8.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae0e0000'), "firstname"=>"Hector", "lastname"=>"Sipes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5577ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3403ms
Completed 200 OK in 7ms (Views: 6.7ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae0f0000'), "firstname"=>"Ephraim", "lastname"=>"Moen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4227ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 6ms (Views: 5.4ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae100000'), "firstname"=>"Joana", "lastname"=>"MacGyver"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4628ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53022c6b57353346ae100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022c6b57353346ae100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3202ms
Completed 200 OK in 6ms (Views: 4.0ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae110000'), "firstname"=>"Gillian", "lastname"=>"Morar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4310ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022c6b57353346ae110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022c6b57353346ae110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53022c6b57353346ae110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae120000'), "firstname"=>"Matteo", "lastname"=>"Feest"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5089ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2305ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4327ms
Redirected to http://test.host/admin/clients/53022c6b57353346ae130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3194ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae140000'), "firstname"=>"Aaron", "lastname"=>"Purdy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4252ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1658ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022c6b57353346ae140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022c6b57353346ae140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2506ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022c6b57353346ae140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2943ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1779ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae150000'), "firstname"=>"Una", "lastname"=>"Kassulke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2339ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022c6b57353346ae150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022c6b57353346ae150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 10ms (Views: 8.6ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae160000'), "firstname"=>"Dell", "lastname"=>"Bauch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5238ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3398ms
Completed 200 OK in 8ms (Views: 6.8ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae170000'), "firstname"=>"Newell", "lastname"=>"Barrows"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4280ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae180000'), "firstname"=>"Marcella", "lastname"=>"Hessel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4123ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022c6b57353346ae180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022c6b57353346ae180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms
Completed 200 OK in 6ms (Views: 4.4ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae190000'), "firstname"=>"Heath", "lastname"=>"Lakin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5064ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022c6b57353346ae190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022c6b57353346ae190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2797ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022c6b57353346ae190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3067ms
Redirected to http://test.host/admin/clients/53022c6b57353346ae190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae1a0000'), "firstname"=>"Fernando", "lastname"=>"Hansen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2718ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1629ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3089ms
Redirected to http://test.host/clients/53022c6b57353346ae1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1831ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae1c0000'), "firstname"=>"Garfield", "lastname"=>"Boyle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2414ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1675ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022c6b57353346ae1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022c6b57353346ae1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2594ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022c6b57353346ae1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3371ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3076ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae1d0000'), "firstname"=>"Thalia", "lastname"=>"Feest"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2750ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022c6b57353346ae1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022c6b57353346ae1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae1e0000'), "firstname"=>"Jennifer", "lastname"=>"Mraz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3873ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4322ms
Completed 200 OK in 42ms (Views: 40.9ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae1f0000'), "firstname"=>"Sarina", "lastname"=>"Farrell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4152ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae200000'), "firstname"=>"Howell", "lastname"=>"Homenick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4539ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022c6b57353346ae200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022c6b57353346ae200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2315ms
Completed 200 OK in 5ms (Views: 3.8ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae210000'), "firstname"=>"Norberto", "lastname"=>"King"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4111ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022c6b57353346ae210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022c6b57353346ae210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3408ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022c6b57353346ae210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3490ms
Redirected to http://test.host/clients/53022c6b57353346ae210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae220000'), "name"=>"Brant Hilpert", "reference"=>"Giovanny Lueilwitz", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4243ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2221ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4873ms
Redirected to http://test.host/products/53022c6b57353346ae230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2182ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae240000'), "name"=>"Gracie Nader", "reference"=>"Ryder Purdy", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3768ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2020ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53022c6b57353346ae240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c6b57353346ae240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2783ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c6b57353346ae240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2707ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1618ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae250000'), "name"=>"Leon O'Connell", "reference"=>"Reta DuBuque", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2609ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53022c6b57353346ae250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c6b57353346ae250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2542ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.0ms)
Completed 200 OK in 10ms (Views: 8.7ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c6b57353346ae260000'), "name"=>"Ignacio Bernhard", "reference"=>"Tomasa Hauck", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4342ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3811ms
Completed 200 OK in 10ms (Views: 9.9ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c6c57353346ae270000'), "name"=>"Miss Filiberto Roberts", "reference"=>"Mireille Schroeder", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4377ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4111ms
Completed 200 OK in 10ms (Views: 9.6ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c6c57353346ae280000'), "name"=>"Millie Johnston", "reference"=>"Ari Howe III", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3735ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53022c6c57353346ae280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c6c57353346ae280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4074ms
Completed 200 OK in 6ms (Views: 3.9ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c6c57353346ae290000'), "name"=>"Reva Jacobi", "reference"=>"Abbey Schimmel", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4135ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.0ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c6c57353346ae2b0000'), "name"=>"Barney Blanda", "reference"=>"Jason Reichel", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4188ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53022c6c57353346ae2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c6c57353346ae2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms
Completed 200 OK in 4ms (Views: 2.4ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022c6c57353346ae2c0000'), "name"=>"Larue Heaney", "reference"=>"Violet Marks", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 29.9303ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022c6c57353346ae2c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c6c57353346ae2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3372ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022c6c57353346ae2c0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3756ms
Redirected to http://test.host/products/53022c6c57353346ae2c0000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c6c57353346ae2d0000'), "firstname"=>"Armand", "lastname"=>"Gerhold"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4570ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1738ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c6c57353346ae2e0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3379ms
Redirected to http://test.host/users/53022c6c57353346ae2e0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1911ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c6c57353346ae2f0000'), "firstname"=>"Santiago", "lastname"=>"Stokes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3556ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1905ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53022c6c57353346ae2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022c6c57353346ae2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2836ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022c6c57353346ae2f0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2714ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1922ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c6c57353346ae300000'), "firstname"=>"Jabari", "lastname"=>"Mann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2519ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53022c6c57353346ae300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022c6c57353346ae300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2163ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.2ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c6c57353346ae310000'), "firstname"=>"Raymond", "lastname"=>"Pouros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4230ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3892ms
Completed 200 OK in 11ms (Views: 10.1ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c6c57353346ae320000'), "firstname"=>"Melyssa", "lastname"=>"Lehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c6c57353346ae330000'), "firstname"=>"Lillian", "lastname"=>"Williamson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53022c6c57353346ae330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022c6c57353346ae330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022c6c57353346ae340000'), "firstname"=>"Valentin", "lastname"=>"Romaguera"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4326ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022c6c57353346ae340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022c6c57353346ae340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2443ms
Unpermitted parameters: name
Redirected to http://test.host/users/53022c6c57353346ae340000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6198ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2732ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2210ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2735ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ca157353346da000000'), "name"=>"Forrest Gutkowski", "reference"=>"Teresa Ledner", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4507ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1702ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ca157353346da010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3879ms
Redirected to http://test.host/admin/products/53022ca157353346da010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1711ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ca157353346da020000'), "name"=>"Mr. Arne Rau", "reference"=>"Dr. Emery Hahn", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3064ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1601ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53022ca157353346da020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ca157353346da020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2586ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ca157353346da020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2905ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1656ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ca157353346da030000'), "name"=>"Isabelle Green", "reference"=>"Dr. Oscar Schmidt", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2408ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53022ca157353346da030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ca157353346da030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 200 OK in 55ms (Views: 54.1ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ca157353346da040000'), "name"=>"Shanelle Ratke", "reference"=>"Josefina Homenick", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6357ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4199ms
Completed 200 OK in 8ms (Views: 7.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ca157353346da050000'), "name"=>"Miss Jaren Schmeler", "reference"=>"Luis Prohaska", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3609ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 21ms (Views: 5.9ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ca157353346da080000'), "name"=>"Kennedy Klein", "reference"=>"Miss Janessa Yundt", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4665ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53022ca157353346da080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ca157353346da080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ca157353346da090000'), "name"=>"Miss Marjorie Block", "reference"=>"Miss Clyde Raynor", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022ca157353346da090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ca157353346da090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3344ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ca157353346da090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3373ms
Redirected to http://test.host/admin/products/53022ca157353346da090000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ca157353346da0a0000'), "firstname"=>"Rasheed", "lastname"=>"Hartmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4765ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1767ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ca157353346da0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3170ms
Redirected to http://test.host/admin/users/53022ca157353346da0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1965ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ca157353346da0c0000'), "firstname"=>"Taylor", "lastname"=>"Cummings"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3251ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2013ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53022ca157353346da0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ca157353346da0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2599ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ca157353346da0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3672ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3084ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ca157353346da0d0000'), "firstname"=>"Amy", "lastname"=>"Anderson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3079ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53022ca157353346da0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ca157353346da0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2812ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms)
Completed 200 OK in 10ms (Views: 8.3ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ca157353346da0e0000'), "firstname"=>"Fae", "lastname"=>"Casper"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3763ms
Completed 200 OK in 8ms (Views: 7.0ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ca157353346da0f0000'), "firstname"=>"Nicola", "lastname"=>"Franecki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3775ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ca157353346da100000'), "firstname"=>"Philip", "lastname"=>"Gerhold"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0123ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53022ca157353346da100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ca157353346da100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3344ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ca157353346da110000'), "firstname"=>"Cristal", "lastname"=>"Gerlach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3958ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022ca157353346da110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ca157353346da110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3678ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53022ca157353346da110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ca157353346da120000'), "firstname"=>"Abelardo", "lastname"=>"Stroman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4641ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1691ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ca157353346da130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3578ms
Redirected to http://test.host/admin/clients/53022ca157353346da130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1872ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ca157353346da140000'), "firstname"=>"Chelsey", "lastname"=>"Blanda"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2943ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1873ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022ca157353346da140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ca157353346da140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3027ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ca157353346da140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4784ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3126ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ca157353346da150000'), "firstname"=>"Annabel", "lastname"=>"Kuphal"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3463ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022ca157353346da150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ca157353346da150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2634ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ca157353346da160000'), "firstname"=>"Johnson", "lastname"=>"Lubowitz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4085ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3516ms
Completed 200 OK in 8ms (Views: 6.8ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ca157353346da170000'), "firstname"=>"Virgil", "lastname"=>"Weissnat"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4837ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ca157353346da180000'), "firstname"=>"Retta", "lastname"=>"Fritsch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022ca157353346da180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ca157353346da180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2276ms
Completed 200 OK in 6ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ca157353346da190000'), "firstname"=>"Lamar", "lastname"=>"Baumbach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022ca157353346da190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ca157353346da190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3452ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ca157353346da190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5220ms
Redirected to http://test.host/admin/clients/53022ca157353346da190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ca157353346da1a0000'), "firstname"=>"Felipe", "lastname"=>"White"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3411ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1717ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ca157353346da1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3779ms
Redirected to http://test.host/clients/53022ca157353346da1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2137ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ca157353346da1c0000'), "firstname"=>"Lesley", "lastname"=>"Schmeler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1703ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022ca157353346da1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ca157353346da1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2537ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ca157353346da1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2546ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1888ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ca157353346da1d0000'), "firstname"=>"Margret", "lastname"=>"Borer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2816ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022ca157353346da1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ca157353346da1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3726ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ca157353346da1e0000'), "firstname"=>"Murray", "lastname"=>"Kub"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3628ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3923ms
Completed 200 OK in 41ms (Views: 40.4ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ca157353346da1f0000'), "firstname"=>"Nash", "lastname"=>"Zemlak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4621ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 4.9ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ca157353346da200000'), "firstname"=>"Kian", "lastname"=>"Heidenreich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6869ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022ca157353346da200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ca157353346da200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms
Completed 200 OK in 5ms (Views: 3.3ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ca157353346da210000'), "firstname"=>"Peyton", "lastname"=>"Wyman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3719ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022ca157353346da210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ca157353346da210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2659ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ca157353346da210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2672ms
Redirected to http://test.host/clients/53022ca157353346da210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ca157353346da220000'), "name"=>"Nathanial Thiel", "reference"=>"Fern Volkman", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5328ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1734ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ca157353346da230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3656ms
Redirected to http://test.host/products/53022ca157353346da230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2223ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ca157353346da240000'), "name"=>"Howell Wisozk", "reference"=>"Paris Bernier", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3961ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2362ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53022ca157353346da240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ca157353346da240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2534ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ca157353346da240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2575ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2165ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ca157353346da250000'), "name"=>"Alec Lemke PhD", "reference"=>"Dulce Hilll MD", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4485ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53022ca157353346da250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ca157353346da250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 10ms (Views: 8.2ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ca157353346da260000'), "name"=>"Dustin Corwin DVM", "reference"=>"Beatrice Hartmann DVM", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4580ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4438ms
Completed 200 OK in 11ms (Views: 10.6ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ca157353346da270000'), "name"=>"Mr. Helmer Heller", "reference"=>"Gilda Altenwerth", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3883ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3621ms
Completed 200 OK in 9ms (Views: 9.0ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ca157353346da280000'), "name"=>"Vella Schumm", "reference"=>"Wilmer D'Amore", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4186ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53022ca157353346da280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ca157353346da280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3583ms
Completed 200 OK in 6ms (Views: 4.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ca157353346da290000'), "name"=>"Tessie Bechtelar", "reference"=>"Lafayette Nolan", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4355ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 9ms (Views: 7.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ca157353346da2b0000'), "name"=>"Talon Hegmann", "reference"=>"Elmer Walsh", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1856ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53022ca157353346da2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ca157353346da2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3633ms
Completed 200 OK in 34ms (Views: 32.1ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ca157353346da2c0000'), "name"=>"Marjory Gutmann V", "reference"=>"Ernestina Dietrich", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4500ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022ca157353346da2c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ca157353346da2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3416ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ca157353346da2c0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3255ms
Redirected to http://test.host/products/53022ca157353346da2c0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ca157353346da2d0000'), "firstname"=>"Lyla", "lastname"=>"Sporer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4560ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1845ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ca157353346da2e0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4098ms
Redirected to http://test.host/users/53022ca157353346da2e0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2460ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ca157353346da2f0000'), "firstname"=>"Randi", "lastname"=>"Tillman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3365ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2114ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53022ca157353346da2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ca157353346da2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2679ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ca157353346da2f0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3317ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2052ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ca157353346da300000'), "firstname"=>"Georgianna", "lastname"=>"Klocko"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53022ca157353346da300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ca157353346da300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 9ms (Views: 7.3ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ca157353346da310000'), "firstname"=>"Gretchen", "lastname"=>"Willms"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4066ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4573ms
Completed 200 OK in 11ms (Views: 10.7ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ca157353346da320000'), "firstname"=>"Germaine", "lastname"=>"Kautzer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4409ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ca157353346da330000'), "firstname"=>"Elliott", "lastname"=>"Jenkins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9493ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53022ca157353346da330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ca157353346da330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4052ms
Completed 200 OK in 5ms (Views: 3.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ca157353346da340000'), "firstname"=>"Alisha", "lastname"=>"Auer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5451ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022ca157353346da340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ca157353346da340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3381ms
Unpermitted parameters: name
Redirected to http://test.host/users/53022ca157353346da340000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6185ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2984ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3702ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3669ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3202ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706000000'), "name"=>"Miss Deshaun McDermott", "reference"=>"Kailey Watsica", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4974ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1700ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4247ms
Redirected to http://test.host/admin/products/53022ccf5735334706010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2302ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706020000'), "name"=>"Mae Krajcik DDS", "reference"=>"Dr. Willie Breitenberg", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3510ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1841ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53022ccf5735334706020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ccf5735334706020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2762ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ccf5735334706020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3120ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2005ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706030000'), "name"=>"Harvey Jones", "reference"=>"Kathlyn Lebsack", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2664ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53022ccf5735334706030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ccf5735334706030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2758ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (7.2ms)
Completed 200 OK in 58ms (Views: 56.6ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706040000'), "name"=>"Felipa Cronin", "reference"=>"Armani Upton DVM", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4694ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3469ms
Completed 200 OK in 7ms (Views: 6.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706050000'), "name"=>"Irving Kuhic", "reference"=>"Mrs. Kane Moen", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3661ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 22ms (Views: 5.9ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706080000'), "name"=>"Jaydon Wintheiser", "reference"=>"Nichole Heidenreich", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4601ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53022ccf5735334706080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ccf5735334706080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3566ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706090000'), "name"=>"Tommie Stanton", "reference"=>"Ryder Volkman I", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3840ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022ccf5735334706090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ccf5735334706090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3585ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ccf5735334706090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3623ms
Redirected to http://test.host/admin/products/53022ccf5735334706090000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ccf57353347060a0000'), "firstname"=>"Grover", "lastname"=>"Bashirian"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4784ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1876ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ccf57353347060b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3344ms
Redirected to http://test.host/admin/users/53022ccf57353347060b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2111ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ccf57353347060c0000'), "firstname"=>"Elroy", "lastname"=>"Leffler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3207ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1755ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53022ccf57353347060c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ccf57353347060c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3164ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ccf57353347060c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4214ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3360ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ccf57353347060d0000'), "firstname"=>"Orland", "lastname"=>"Dooley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3611ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53022ccf57353347060d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ccf57353347060d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2677ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ccf57353347060e0000'), "firstname"=>"Bettye", "lastname"=>"Stoltenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4154ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3646ms
Completed 200 OK in 8ms (Views: 7.5ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ccf57353347060f0000'), "firstname"=>"Oscar", "lastname"=>"Runolfsdottir"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706100000'), "firstname"=>"Armando", "lastname"=>"Strosin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4490ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53022ccf5735334706100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ccf5735334706100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4038ms
Completed 200 OK in 6ms (Views: 3.8ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706110000'), "firstname"=>"Mose", "lastname"=>"Braun"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4608ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022ccf5735334706110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ccf5735334706110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53022ccf5735334706110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706120000'), "firstname"=>"Amelie", "lastname"=>"Jast"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4685ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1874ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms
Redirected to http://test.host/admin/clients/53022ccf5735334706130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2300ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706140000'), "firstname"=>"Irwin", "lastname"=>"Becker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4967ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3070ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022ccf5735334706140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ccf5735334706140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2683ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ccf5735334706140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3205ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1973ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706150000'), "firstname"=>"Ibrahim", "lastname"=>"Larkin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2759ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022ccf5735334706150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ccf5735334706150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3409ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 10ms (Views: 8.8ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706160000'), "firstname"=>"Alexie", "lastname"=>"Stokes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4449ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3625ms
Completed 200 OK in 8ms (Views: 6.7ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706170000'), "firstname"=>"Rahul", "lastname"=>"Little"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4268ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706180000'), "firstname"=>"Lura", "lastname"=>"Lueilwitz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4385ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022ccf5735334706180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ccf5735334706180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4039ms
Completed 200 OK in 6ms (Views: 4.3ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706190000'), "firstname"=>"Providenci", "lastname"=>"Koepp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4325ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022ccf5735334706190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ccf5735334706190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ccf5735334706190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3198ms
Redirected to http://test.host/admin/clients/53022ccf5735334706190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ccf57353347061a0000'), "firstname"=>"Rylee", "lastname"=>"Gleason"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2706ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1744ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ccf57353347061b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3640ms
Redirected to http://test.host/clients/53022ccf57353347061b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2791ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ccf57353347061c0000'), "firstname"=>"Zachariah", "lastname"=>"Goldner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2218ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1298ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022ccf57353347061c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ccf57353347061c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2524ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ccf57353347061c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2583ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1802ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ccf57353347061d0000'), "firstname"=>"Keven", "lastname"=>"Erdman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2508ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022ccf57353347061d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ccf57353347061d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3934ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.3ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ccf57353347061e0000'), "firstname"=>"Pietro", "lastname"=>"Pagac"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4221ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3606ms
Completed 200 OK in 42ms (Views: 41.4ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ccf57353347061f0000'), "firstname"=>"Kayli", "lastname"=>"Bode"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4470ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.4ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706200000'), "firstname"=>"Johnpaul", "lastname"=>"Hand"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022ccf5735334706200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ccf5735334706200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3011ms
Completed 200 OK in 5ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706210000'), "firstname"=>"Kirk", "lastname"=>"Klocko"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3569ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022ccf5735334706210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ccf5735334706210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2673ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ccf5735334706210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2719ms
Redirected to http://test.host/clients/53022ccf5735334706210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706220000'), "name"=>"Heloise Batz", "reference"=>"Ardella Cummerata", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4591ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1857ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4112ms
Redirected to http://test.host/products/53022ccf5735334706230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1921ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706240000'), "name"=>"Jeanne Rau", "reference"=>"Jewell Wunsch IV", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3283ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1629ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53022ccf5735334706240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ccf5735334706240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3848ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ccf5735334706240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3999ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3459ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706250000'), "name"=>"Monty Walter", "reference"=>"Ocie Roob", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3090ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53022ccf5735334706250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ccf5735334706250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 7.9ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ccf5735334706260000'), "name"=>"Dr. Cyrus Connelly", "reference"=>"Fred Stark II", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5056ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4318ms
Completed 200 OK in 11ms (Views: 10.0ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022cd05735334706270000'), "name"=>"Dessie Murphy", "reference"=>"Norval Hickle", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3506ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5054ms
Completed 200 OK in 3ms (Views: 0.8ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022cd05735334706280000'), "name"=>"Sister Kuhn", "reference"=>"Walker Macejkovic", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4185ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53022cd05735334706280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022cd05735334706280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3082ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022cd05735334706290000'), "name"=>"Jude Weissnat", "reference"=>"Abdullah Schroeder MD", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3120ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 8ms (Views: 6.6ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022cd057353347062b0000'), "name"=>"Carey Reichel", "reference"=>"Jerrell Rutherford", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4759ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53022cd057353347062b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022cd057353347062b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2758ms
Completed 200 OK in 5ms (Views: 3.7ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022cd057353347062c0000'), "name"=>"Eulah Smith", "reference"=>"Seth Howell", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0973ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022cd057353347062c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022cd057353347062c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3436ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022cd057353347062c0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4375ms
Redirected to http://test.host/products/53022cd057353347062c0000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022cd057353347062d0000'), "firstname"=>"Lavon", "lastname"=>"Welch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4667ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1483ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022cd057353347062e0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3642ms
Redirected to http://test.host/users/53022cd057353347062e0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1880ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022cd057353347062f0000'), "firstname"=>"Teagan", "lastname"=>"Romaguera"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3285ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1832ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53022cd057353347062f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022cd057353347062f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2687ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022cd057353347062f0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2715ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1805ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022cd05735334706300000'), "firstname"=>"Ashlee", "lastname"=>"Jakubowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3682ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53022cd05735334706300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022cd05735334706300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 9ms (Views: 7.2ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022cd05735334706310000'), "firstname"=>"Braxton", "lastname"=>"Reichel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4116ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4371ms
Completed 200 OK in 11ms (Views: 10.4ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022cd05735334706320000'), "firstname"=>"Riley", "lastname"=>"Volkman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3628ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022cd05735334706330000'), "firstname"=>"Annabelle", "lastname"=>"Streich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4782ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53022cd05735334706330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022cd05735334706330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3287ms
Completed 200 OK in 5ms (Views: 3.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022cd05735334706340000'), "firstname"=>"Reese", "lastname"=>"Kiehn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4088ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022cd05735334706340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022cd05735334706340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3228ms
Unpermitted parameters: name
Redirected to http://test.host/users/53022cd05735334706340000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6428ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3213ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3277ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2986ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3184ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022cd85735334733000000'), "name"=>"Whitney Muller", "reference"=>"Mr. Ricky Metz", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5038ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2211ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022cd85735334733010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3834ms
Redirected to http://test.host/admin/products/53022cd85735334733010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1952ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022cd85735334733020000'), "name"=>"Cesar Conn", "reference"=>"Amelia Koepp", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3722ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2260ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53022cd85735334733020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022cd85735334733020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022cd85735334733020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3016ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2389ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022cd85735334733030000'), "name"=>"Dena Kshlerin", "reference"=>"Susan Fritsch", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2728ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53022cd85735334733030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022cd85735334733030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3383ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.9ms)
Completed 200 OK in 57ms (Views: 55.3ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022cd85735334733040000'), "name"=>"Randy Greenfelder PhD", "reference"=>"Loma Senger", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4182ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3757ms
Completed 200 OK in 8ms (Views: 7.7ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022cd85735334733050000'), "name"=>"Ernesto Medhurst I", "reference"=>"Miss Lon Ondricka", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3735ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 21ms (Views: 6.3ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022cd85735334733080000'), "name"=>"Scottie Schultz", "reference"=>"Bulah Hahn Jr.", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4297ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53022cd85735334733080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022cd85735334733080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2862ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022cd85735334733090000'), "name"=>"Modesta Morar", "reference"=>"Ms. Isabell Predovic", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5065ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022cd85735334733090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022cd85735334733090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022cd85735334733090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3640ms
Redirected to http://test.host/admin/products/53022cd85735334733090000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022cd857353347330a0000'), "firstname"=>"Casper", "lastname"=>"Kerluke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4692ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2040ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022cd857353347330b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4564ms
Redirected to http://test.host/admin/users/53022cd857353347330b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1952ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022cd857353347330c0000'), "firstname"=>"Rodolfo", "lastname"=>"Hand"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3437ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1719ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53022cd857353347330c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022cd857353347330c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2799ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022cd857353347330c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2322ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022cd857353347330d0000'), "firstname"=>"General", "lastname"=>"Parker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2506ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53022cd857353347330d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022cd857353347330d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2899ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 10ms (Views: 8.5ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022cd857353347330e0000'), "firstname"=>"Jacklyn", "lastname"=>"Cormier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3745ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3342ms
Completed 200 OK in 7ms (Views: 6.7ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022cd857353347330f0000'), "firstname"=>"Lou", "lastname"=>"Halvorson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3925ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022cd85735334733100000'), "firstname"=>"Lelia", "lastname"=>"Bashirian"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5934ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53022cd85735334733100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022cd85735334733100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3011ms
Completed 200 OK in 5ms (Views: 4.0ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022cd85735334733110000'), "firstname"=>"Randal", "lastname"=>"Wuckert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022cd85735334733110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022cd85735334733110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2963ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53022cd85735334733110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022cd85735334733120000'), "firstname"=>"Kailee", "lastname"=>"Erdman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4652ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2431ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022cd85735334733130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4042ms
Redirected to http://test.host/admin/clients/53022cd85735334733130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2743ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022cd85735334733140000'), "firstname"=>"Mossie", "lastname"=>"Littel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3047ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2066ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022cd85735334733140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022cd85735334733140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3285ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022cd85735334733140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2950ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2378ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022cd85735334733150000'), "firstname"=>"Domenica", "lastname"=>"Heller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3032ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022cd85735334733150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022cd85735334733150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3235ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022cd85735334733160000'), "firstname"=>"Stella", "lastname"=>"Sipes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4353ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3607ms
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022cd85735334733170000'), "firstname"=>"Florence", "lastname"=>"Roberts"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4644ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 6.2ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022cd85735334733180000'), "firstname"=>"Reva", "lastname"=>"Parker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4346ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022cd85735334733180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022cd85735334733180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2673ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022cd85735334733190000'), "firstname"=>"Mervin", "lastname"=>"Feest"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4852ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022cd85735334733190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022cd85735334733190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3442ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022cd85735334733190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3353ms
Redirected to http://test.host/admin/clients/53022cd85735334733190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022cd857353347331a0000'), "firstname"=>"Manuela", "lastname"=>"Effertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2815ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1770ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022cd857353347331b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2976ms
Redirected to http://test.host/clients/53022cd857353347331b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1918ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022cd857353347331c0000'), "firstname"=>"Schuyler", "lastname"=>"Labadie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1674ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022cd857353347331c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022cd857353347331c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2665ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022cd857353347331c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3292ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022cd857353347331d0000'), "firstname"=>"Camila", "lastname"=>"Pagac"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2722ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022cd857353347331d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022cd857353347331d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2448ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022cd857353347331e0000'), "firstname"=>"Emilia", "lastname"=>"Sanford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3455ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4987ms
Completed 200 OK in 42ms (Views: 40.9ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022cd857353347331f0000'), "firstname"=>"Jordi", "lastname"=>"Haag"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4171ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 6ms (Views: 5.4ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022cd85735334733200000'), "firstname"=>"Larry", "lastname"=>"Strosin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4078ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022cd85735334733200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022cd85735334733200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2343ms
Completed 200 OK in 4ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022cd85735334733210000'), "firstname"=>"Creola", "lastname"=>"Barrows"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3482ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022cd85735334733210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022cd85735334733210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3733ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022cd85735334733210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4272ms
Redirected to http://test.host/clients/53022cd85735334733210000
Completed 302 Found in 4ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022cd85735334733220000'), "name"=>"Verner Stark", "reference"=>"Ms. Montana Considine", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4307ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1677ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022cd85735334733230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3905ms
Redirected to http://test.host/products/53022cd85735334733230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3328ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022cd85735334733240000'), "name"=>"Luisa Koch", "reference"=>"Reilly Denesik", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4724ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2254ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53022cd85735334733240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022cd85735334733240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2940ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022cd85735334733240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2745ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1647ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022cd85735334733250000'), "name"=>"Ellis Weissnat", "reference"=>"Serena Pagac", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2688ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53022cd85735334733250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022cd85735334733250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2676ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms)
Completed 200 OK in 11ms (Views: 9.6ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022cd85735334733260000'), "name"=>"Eldora Dach", "reference"=>"Ms. Dariana Kulas", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4706ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3712ms
Completed 200 OK in 11ms (Views: 10.2ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022cd85735334733270000'), "name"=>"Mariah Kutch", "reference"=>"Colten Steuber Jr.", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3941ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4664ms
Completed 200 OK in 1030ms (Views: 0.9ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022cd95735334733280000'), "name"=>"Conrad Dibbert", "reference"=>"Miss Danika Macejkovic", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3306ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53022cd95735334733280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022cd95735334733280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3188ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022cd95735334733290000'), "name"=>"Wendy Gleason", "reference"=>"Elton Cummerata", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2819ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.7ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022cd957353347332b0000'), "name"=>"Cruz Hoeger MD", "reference"=>"Walter Ledner", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4508ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53022cd957353347332b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022cd957353347332b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms
Completed 200 OK in 5ms (Views: 3.7ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022cd957353347332c0000'), "name"=>"Jayce Ward", "reference"=>"Marlin Cassin", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4303ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022cd957353347332c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022cd957353347332c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3939ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022cd957353347332c0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5069ms
Redirected to http://test.host/products/53022cd957353347332c0000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022cd957353347332d0000'), "firstname"=>"Rosario", "lastname"=>"Greenfelder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4422ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1851ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022cd957353347332e0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4072ms
Redirected to http://test.host/users/53022cd957353347332e0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3638ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022cd957353347332f0000'), "firstname"=>"Darius", "lastname"=>"Skiles"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4572ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1830ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53022cd957353347332f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022cd957353347332f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3197ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022cd957353347332f0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2895ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1911ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022cd95735334733300000'), "firstname"=>"Barrett", "lastname"=>"Bode"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2522ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53022cd95735334733300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022cd95735334733300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2541ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 9ms (Views: 7.6ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022cd95735334733310000'), "firstname"=>"Sedrick", "lastname"=>"Keeling"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4169ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4127ms
Completed 200 OK in 10ms (Views: 9.9ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022cd95735334733320000'), "firstname"=>"Ora", "lastname"=>"Harber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3856ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022cd95735334733330000'), "firstname"=>"Kendall", "lastname"=>"Willms"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53022cd95735334733330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022cd95735334733330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms
Completed 200 OK in 5ms (Views: 3.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022cd95735334733340000'), "firstname"=>"Marlee", "lastname"=>"Pfeffer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4319ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022cd95735334733340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022cd95735334733340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2802ms
Unpermitted parameters: name
Redirected to http://test.host/users/53022cd95735334733340000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6414ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2868ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2501ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2344ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d000000'), "name"=>"Bonita O'Keefe", "reference"=>"Jamel Pacocha", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4814ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1966ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4733ms
Redirected to http://test.host/admin/products/53022d0d573533475d010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1972ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d020000'), "name"=>"Leopold Lockman", "reference"=>"Mr. Kaela Schultz", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3249ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1609ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53022d0d573533475d020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d0d573533475d020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2469ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d0d573533475d020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2802ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1668ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d030000'), "name"=>"Lourdes Aufderhar", "reference"=>"Colleen Cassin", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2539ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53022d0d573533475d030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d0d573533475d030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.7ms)
Completed 200 OK in 57ms (Views: 55.3ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d040000'), "name"=>"Marquise Kuhlman MD", "reference"=>"Deron Jenkins", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4304ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3412ms
Completed 200 OK in 7ms (Views: 6.9ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d050000'), "name"=>"Stan O'Connell", "reference"=>"Johnny Nitzsche", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3567ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 22ms (Views: 6.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d080000'), "name"=>"Alberto Wisozk", "reference"=>"Ms. Omer Lehner", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4013ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53022d0d573533475d080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d0d573533475d080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2342ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d090000'), "name"=>"Dr. Tito Mante", "reference"=>"Janiya Bergnaum I", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4814ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022d0d573533475d090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d0d573533475d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d0d573533475d090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3259ms
Redirected to http://test.host/admin/products/53022d0d573533475d090000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d0a0000'), "firstname"=>"Zachery", "lastname"=>"Grimes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5508ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2098ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4685ms
Redirected to http://test.host/admin/users/53022d0d573533475d0b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3062ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d0c0000'), "firstname"=>"Buddy", "lastname"=>"Bernier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3603ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1413ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53022d0d573533475d0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d0d573533475d0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2727ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d0d573533475d0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3015ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1677ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d0d0000'), "firstname"=>"Salma", "lastname"=>"McLaughlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2228ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53022d0d573533475d0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d0d573533475d0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2964ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d0e0000'), "firstname"=>"Oswald", "lastname"=>"Towne"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4551ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4920ms
Completed 200 OK in 9ms (Views: 8.3ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d0f0000'), "firstname"=>"Bret", "lastname"=>"Kertzmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 5.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d100000'), "firstname"=>"Nicola", "lastname"=>"Satterfield"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4324ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53022d0d573533475d100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d0d573533475d100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2377ms
Completed 200 OK in 5ms (Views: 3.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d110000'), "firstname"=>"Kylee", "lastname"=>"Grady"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022d0d573533475d110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d0d573533475d110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2538ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53022d0d573533475d110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d120000'), "firstname"=>"Maddison", "lastname"=>"Glover"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4564ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1460ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3539ms
Redirected to http://test.host/admin/clients/53022d0d573533475d130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1982ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d140000'), "firstname"=>"Bailee", "lastname"=>"Oberbrunner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1815ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022d0d573533475d140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d0d573533475d140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3172ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d0d573533475d140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3463ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1820ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d150000'), "firstname"=>"Russel", "lastname"=>"Morissette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2752ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022d0d573533475d150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d0d573533475d150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2434ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 11ms (Views: 9.2ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d160000'), "firstname"=>"Chris", "lastname"=>"Dickinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5197ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3821ms
Completed 200 OK in 8ms (Views: 6.9ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d170000'), "firstname"=>"Danny", "lastname"=>"Hoeger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4451ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 7ms (Views: 6.4ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d180000'), "firstname"=>"Rodolfo", "lastname"=>"Gutmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5057ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022d0d573533475d180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d0d573533475d180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3752ms
Completed 200 OK in 6ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d190000'), "firstname"=>"Monty", "lastname"=>"Zieme"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1800ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022d0d573533475d190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d0d573533475d190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3747ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d0d573533475d190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3230ms
Redirected to http://test.host/admin/clients/53022d0d573533475d190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d1a0000'), "firstname"=>"Elmer", "lastname"=>"Schmeler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3270ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1703ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9245ms
Redirected to http://test.host/clients/53022d0d573533475d1b0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2742ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d1c0000'), "firstname"=>"Onie", "lastname"=>"Reynolds"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2520ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1335ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022d0d573533475d1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d0d573533475d1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d0d573533475d1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3078ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d1d0000'), "firstname"=>"Georgianna", "lastname"=>"Runte"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3226ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022d0d573533475d1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d0d573533475d1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2484ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d1e0000'), "firstname"=>"Gerson", "lastname"=>"Friesen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3425ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms
Completed 200 OK in 43ms (Views: 41.9ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d1f0000'), "firstname"=>"Vanessa", "lastname"=>"Sawayn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4522ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.3ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d200000'), "firstname"=>"Elwyn", "lastname"=>"McDermott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022d0d573533475d200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d0d573533475d200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2376ms
Completed 200 OK in 4ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d210000'), "firstname"=>"Vena", "lastname"=>"Zulauf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3293ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022d0d573533475d210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d0d573533475d210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2727ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d0d573533475d210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6620ms
Redirected to http://test.host/clients/53022d0d573533475d210000
Completed 302 Found in 8ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d220000'), "name"=>"Keenan Altenwerth", "reference"=>"Karelle Donnelly", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4418ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1687ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3354ms
Redirected to http://test.host/products/53022d0d573533475d230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1735ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d240000'), "name"=>"Cade Wintheiser", "reference"=>"Andrew Gislason", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2965ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1754ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53022d0d573533475d240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d0d573533475d240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3448ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d0d573533475d240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2547ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1641ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d250000'), "name"=>"Ricardo Tillman", "reference"=>"Dr. Cecilia Gutmann", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2515ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53022d0d573533475d250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d0d573533475d250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 10ms (Views: 8.9ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d260000'), "name"=>"Kailyn Gutmann", "reference"=>"Jannie Kirlin", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4755ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4282ms
Completed 200 OK in 11ms (Views: 10.7ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d270000'), "name"=>"Quinn Sauer", "reference"=>"Mr. Mackenzie Bins", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4052ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3405ms
Completed 200 OK in 3ms (Views: 0.8ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d280000'), "name"=>"Rodrigo Krajcik", "reference"=>"Elmer Barrows II", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3565ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53022d0d573533475d280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d0d573533475d280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2852ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d290000'), "name"=>"Donald Hudson Jr.", "reference"=>"Lizeth Hand", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3348ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 8ms (Views: 6.8ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d2b0000'), "name"=>"Jedidiah Rolfson", "reference"=>"Nettie Weber", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53022d0d573533475d2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d0d573533475d2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3616ms
Completed 200 OK in 5ms (Views: 3.7ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d2c0000'), "name"=>"Raul Johns IV", "reference"=>"Mauricio Wiza", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4720ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2901ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d2d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4546ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2985ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d0d573533475d2e0000'), "name"=>"Mrs. Tomasa Schulist", "reference"=>"Elroy Wolf", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2890ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022d0d573533475d2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d0d573533475d2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2457ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d0d573533475d2e0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3278ms
Redirected to http://test.host/products/53022d0d573533475d2e0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d0e573533475d2f0000'), "firstname"=>"Fatima", "lastname"=>"Auer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5441ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3381ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d0e573533475d300000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4462ms
Redirected to http://test.host/users/53022d0e573533475d300000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2408ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d0e573533475d310000'), "firstname"=>"Keith", "lastname"=>"Price"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3692ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2264ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53022d0e573533475d310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d0e573533475d310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3084ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d0e573533475d310000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2656ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1888ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d0e573533475d320000'), "firstname"=>"Alejandrin", "lastname"=>"Graham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2892ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53022d0e573533475d320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d0e573533475d320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3903ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 9ms (Views: 7.1ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d0e573533475d330000'), "firstname"=>"Sasha", "lastname"=>"Stehr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4224ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3773ms
Completed 200 OK in 12ms (Views: 11.7ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d0e573533475d340000'), "firstname"=>"Jaiden", "lastname"=>"Thiel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3819ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d0e573533475d350000'), "firstname"=>"Vernie", "lastname"=>"Batz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4899ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53022d0e573533475d350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d0e573533475d350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms
Completed 200 OK in 5ms (Views: 3.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d0e573533475d360000'), "firstname"=>"Salvador", "lastname"=>"Emmerich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4072ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022d0e573533475d360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d0e573533475d360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2440ms
Unpermitted parameters: name
Redirected to http://test.host/users/53022d0e573533475d360000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5942ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3454ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3308ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2465ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3408ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d1a5735334787000000'), "name"=>"Loyal Bauch", "reference"=>"Maxwell Hills", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4583ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1798ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d1a5735334787010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms
Redirected to http://test.host/admin/products/53022d1a5735334787010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2160ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d1a5735334787020000'), "name"=>"Jaren Kerluke", "reference"=>"Tillman Herman", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3144ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1751ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53022d1a5735334787020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d1a5735334787020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2985ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d1a5735334787020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3486ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2293ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d1a5735334787030000'), "name"=>"Hipolito Ward Jr.", "reference"=>"Lorenzo Crooks", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3002ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53022d1a5735334787030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d1a5735334787030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3584ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 200 OK in 56ms (Views: 54.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d1b5735334787040000'), "name"=>"Mrs. Amparo Kling", "reference"=>"Keely Crooks", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4201ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3295ms
Completed 200 OK in 8ms (Views: 7.1ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d1b5735334787050000'), "name"=>"Mr. Earl Rosenbaum", "reference"=>"Mack Haley", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4072ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 21ms (Views: 6.1ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d1b5735334787080000'), "name"=>"Stewart Larson", "reference"=>"Carole Ziemann DVM", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53022d1b5735334787080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d1b5735334787080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3179ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d1b5735334787090000'), "name"=>"Ms. Granville Friesen", "reference"=>"Mack Lueilwitz", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4729ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022d1b5735334787090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d1b5735334787090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2716ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d1b5735334787090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3348ms
Redirected to http://test.host/admin/products/53022d1b5735334787090000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d1b57353347870a0000'), "firstname"=>"Jermain", "lastname"=>"Bins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4842ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1951ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d1b57353347870b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4832ms
Redirected to http://test.host/admin/users/53022d1b57353347870b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2180ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d1b57353347870c0000'), "firstname"=>"Jean", "lastname"=>"Walsh"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3683ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2216ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53022d1b57353347870c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d1b57353347870c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d1b57353347870c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2010ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d1b57353347870d0000'), "firstname"=>"Dulce", "lastname"=>"DuBuque"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3104ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53022d1b57353347870d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d1b57353347870d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2870ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 9ms (Views: 7.9ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d1b57353347870e0000'), "firstname"=>"Sylvester", "lastname"=>"Hilpert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4289ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3595ms
Completed 200 OK in 7ms (Views: 6.5ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d1b57353347870f0000'), "firstname"=>"Marcelo", "lastname"=>"Huel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 6ms (Views: 5.5ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d1b5735334787100000'), "firstname"=>"Alfred", "lastname"=>"Prosacco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4125ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53022d1b5735334787100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d1b5735334787100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms
Completed 200 OK in 5ms (Views: 3.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d1b5735334787110000'), "firstname"=>"Faustino", "lastname"=>"Schultz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3866ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022d1b5735334787110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d1b5735334787110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3125ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53022d1b5735334787110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d1b5735334787120000'), "firstname"=>"Diego", "lastname"=>"Aufderhar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5196ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2661ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d1b5735334787130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3519ms
Redirected to http://test.host/admin/clients/53022d1b5735334787130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2010ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d1b5735334787140000'), "firstname"=>"Amaya", "lastname"=>"Schroeder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3022ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1380ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022d1b5735334787140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d1b5735334787140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2283ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d1b5735334787140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3730ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.5640ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d1b5735334787150000'), "firstname"=>"Victor", "lastname"=>"Leannon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4540ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022d1b5735334787150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d1b5735334787150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3293ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d1b5735334787160000'), "firstname"=>"Chet", "lastname"=>"Breitenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4663ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3516ms
Completed 200 OK in 8ms (Views: 7.3ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d1b5735334787170000'), "firstname"=>"Margarette", "lastname"=>"Franecki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4203ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d1b5735334787180000'), "firstname"=>"Asia", "lastname"=>"Schiller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4103ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022d1b5735334787180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d1b5735334787180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2467ms
Completed 200 OK in 6ms (Views: 4.7ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d1b5735334787190000'), "firstname"=>"Maximillia", "lastname"=>"Runolfsson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4227ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022d1b5735334787190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d1b5735334787190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2503ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d1b5735334787190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3500ms
Redirected to http://test.host/admin/clients/53022d1b5735334787190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d1b57353347871a0000'), "firstname"=>"Rodolfo", "lastname"=>"Gulgowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3281ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2729ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d1b57353347871b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4084ms
Redirected to http://test.host/clients/53022d1b57353347871b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2855ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d1b57353347871c0000'), "firstname"=>"Krystal", "lastname"=>"Gaylord"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4203ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2459ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022d1b57353347871c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d1b57353347871c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2878ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d1b57353347871c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2696ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1661ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d1b57353347871d0000'), "firstname"=>"Reanna", "lastname"=>"Koch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2433ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022d1b57353347871d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d1b57353347871d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2361ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d1b57353347871e0000'), "firstname"=>"Ebony", "lastname"=>"Herman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4011ms
Completed 200 OK in 42ms (Views: 41.3ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d1b57353347871f0000'), "firstname"=>"Alta", "lastname"=>"Streich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5747ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d1b5735334787200000'), "firstname"=>"Tillman", "lastname"=>"Schumm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4188ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022d1b5735334787200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d1b5735334787200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2631ms
Completed 200 OK in 5ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d1b5735334787210000'), "firstname"=>"Wendell", "lastname"=>"Sipes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3581ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022d1b5735334787210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d1b5735334787210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d1b5735334787210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2852ms
Redirected to http://test.host/clients/53022d1b5735334787210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d1b5735334787220000'), "name"=>"General Corkery", "reference"=>"Eleonore Jones", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4482ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1852ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d1b5735334787230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms
Redirected to http://test.host/products/53022d1b5735334787230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1910ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d1b5735334787240000'), "name"=>"Mustafa Wyman", "reference"=>"Ross Haley", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3241ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1770ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53022d1b5735334787240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d1b5735334787240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3421ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d1b5735334787240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4274ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2954ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d1b5735334787250000'), "name"=>"Margarett Kuvalis", "reference"=>"Alexane Schowalter", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2676ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53022d1b5735334787250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d1b5735334787250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2657ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 9ms (Views: 8.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d1b5735334787260000'), "name"=>"Miss Malinda Ortiz", "reference"=>"Chaz Lindgren", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5845ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4061ms
Completed 200 OK in 10ms (Views: 9.9ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d1b5735334787270000'), "name"=>"Ebba Schulist III", "reference"=>"Mauricio Macejkovic", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4796ms
Completed 200 OK in 3ms (Views: 0.8ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d1b5735334787280000'), "name"=>"Henri Abernathy", "reference"=>"Susana Jerde", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53022d1b5735334787280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d1b5735334787280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3159ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d1b5735334787290000'), "name"=>"Mrs. Ashlee Schuppe", "reference"=>"Lonie Mitchell Jr.", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3850ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.0ms)
Completed 200 OK in 9ms (Views: 7.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d1b57353347872b0000'), "name"=>"Lindsay Turner", "reference"=>"Justen Tromp", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4523ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53022d1b57353347872b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d1b57353347872b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2964ms
Completed 200 OK in 5ms (Views: 3.6ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d1b57353347872c0000'), "name"=>"Ms. Jay Reynolds", "reference"=>"Louisa Mohr", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1911ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2687ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d1b57353347872d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4184ms
Completed 201 Created in 721ms (Views: 0.3ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3728ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d1c57353347872e0000'), "name"=>"Kailee Lind", "reference"=>"Lester Ryan I", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3237ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022d1c57353347872e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d1c57353347872e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2939ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d1c57353347872e0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3183ms
Redirected to http://test.host/products/53022d1c57353347872e0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d1c57353347872f0000'), "firstname"=>"Marian", "lastname"=>"Hermiston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4909ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3375ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d1c5735334787300000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5085ms
Redirected to http://test.host/users/53022d1c5735334787300000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2699ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d1c5735334787310000'), "firstname"=>"Marjory", "lastname"=>"Nitzsche"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3398ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1775ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53022d1c5735334787310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d1c5735334787310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3089ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d1c5735334787310000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3073ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2392ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d1c5735334787320000'), "firstname"=>"Bart", "lastname"=>"Altenwerth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3269ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53022d1c5735334787320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d1c5735334787320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3552ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 10ms (Views: 8.7ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d1c5735334787330000'), "firstname"=>"Paris", "lastname"=>"Lemke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5281ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3757ms
Completed 200 OK in 10ms (Views: 10.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d1c5735334787340000'), "firstname"=>"Bernie", "lastname"=>"Jones"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4504ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d1c5735334787350000'), "firstname"=>"Ken", "lastname"=>"Smitham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4264ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53022d1c5735334787350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d1c5735334787350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2800ms
Completed 200 OK in 5ms (Views: 3.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d1c5735334787360000'), "firstname"=>"Candido", "lastname"=>"Kreiger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3859ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022d1c5735334787360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d1c5735334787360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3916ms
Unpermitted parameters: name
Redirected to http://test.host/users/53022d1c5735334787360000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6028ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2804ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3072ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2462ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2431ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d4357353347b6000000'), "name"=>"Charley Doyle", "reference"=>"Durward Lehner", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5285ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1714ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d4357353347b6010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms
Redirected to http://test.host/admin/products/53022d4357353347b6010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1938ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d4357353347b6020000'), "name"=>"Dr. Sabrina Schulist", "reference"=>"Stefanie Jacobs", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3420ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1777ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53022d4357353347b6020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d4357353347b6020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3086ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d4357353347b6020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3319ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2361ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d4357353347b6030000'), "name"=>"Fleta Leannon", "reference"=>"Dominique Hettinger", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3101ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53022d4357353347b6030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d4357353347b6030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3119ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.9ms)
Completed 200 OK in 57ms (Views: 55.5ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6040000'), "name"=>"Meaghan Dach", "reference"=>"Rosetta Torp III", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4428ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3577ms
Completed 200 OK in 8ms (Views: 7.3ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6050000'), "name"=>"Ms. Warren Lesch", "reference"=>"Jazmyn Dach", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3775ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 20ms (Views: 6.2ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6080000'), "name"=>"Desiree Ledner", "reference"=>"Jared Hills", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4294ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53022d4457353347b6080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d4457353347b6080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3032ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6090000'), "name"=>"Mr. Nels Monahan", "reference"=>"Aglae Emmerich I", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4610ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022d4457353347b6090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d4457353347b6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2859ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d4457353347b6090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3921ms
Redirected to http://test.host/admin/products/53022d4457353347b6090000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d4457353347b60a0000'), "firstname"=>"Hellen", "lastname"=>"O'Conner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5227ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1884ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d4457353347b60b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms
Redirected to http://test.host/admin/users/53022d4457353347b60b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2525ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d4457353347b60c0000'), "firstname"=>"Kayla", "lastname"=>"Lakin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3570ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2220ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53022d4457353347b60c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d4457353347b60c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3099ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d4457353347b60c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3512ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2397ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d4457353347b60d0000'), "firstname"=>"Flavie", "lastname"=>"Runolfsdottir"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3809ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53022d4457353347b60d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d4457353347b60d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3654ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 9ms (Views: 7.8ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d4457353347b60e0000'), "firstname"=>"Maida", "lastname"=>"Ernser"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4716ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4151ms
Completed 200 OK in 8ms (Views: 7.3ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d4457353347b60f0000'), "firstname"=>"Millie", "lastname"=>"Cole"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3866ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6100000'), "firstname"=>"Zoey", "lastname"=>"VonRueden"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53022d4457353347b6100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d4457353347b6100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2516ms
Completed 200 OK in 5ms (Views: 3.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6110000'), "firstname"=>"Shannon", "lastname"=>"Brown"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4088ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022d4457353347b6110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d4457353347b6110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3126ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53022d4457353347b6110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6120000'), "firstname"=>"Kylee", "lastname"=>"Kuhic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4563ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1738ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3848ms
Redirected to http://test.host/admin/clients/53022d4457353347b6130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2123ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6140000'), "firstname"=>"Reymundo", "lastname"=>"Abbott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3442ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1861ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022d4457353347b6140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d4457353347b6140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4042ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d4457353347b6140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4137ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3384ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6150000'), "firstname"=>"Verona", "lastname"=>"Donnelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3719ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022d4457353347b6150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d4457353347b6150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2799ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6160000'), "firstname"=>"Florine", "lastname"=>"Kerluke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4597ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3828ms
Completed 200 OK in 8ms (Views: 6.8ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6170000'), "firstname"=>"Tristin", "lastname"=>"Cronin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4543ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.8ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6180000'), "firstname"=>"Estella", "lastname"=>"Dibbert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022d4457353347b6180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d4457353347b6180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2874ms
Completed 200 OK in 6ms (Views: 4.6ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6190000'), "firstname"=>"Mazie", "lastname"=>"Dare"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022d4457353347b6190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d4457353347b6190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2650ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d4457353347b6190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms
Redirected to http://test.host/admin/clients/53022d4457353347b6190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d4457353347b61a0000'), "firstname"=>"Napoleon", "lastname"=>"Schmitt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7316ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3795ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d4457353347b61b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4121ms
Redirected to http://test.host/clients/53022d4457353347b61b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2049ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d4457353347b61c0000'), "firstname"=>"Dora", "lastname"=>"Cassin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3344ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2287ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022d4457353347b61c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d4457353347b61c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2607ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d4457353347b61c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2561ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1815ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d4457353347b61d0000'), "firstname"=>"Tyrique", "lastname"=>"Howe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2730ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022d4457353347b61d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d4457353347b61d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2476ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 200 OK in 7ms (Views: 5.7ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d4457353347b61e0000'), "firstname"=>"Imogene", "lastname"=>"Ernser"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3951ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3861ms
Completed 200 OK in 43ms (Views: 41.9ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d4457353347b61f0000'), "firstname"=>"Antonietta", "lastname"=>"Ullrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4349ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6200000'), "firstname"=>"Reece", "lastname"=>"Green"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4139ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022d4457353347b6200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d4457353347b6200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2763ms
Completed 200 OK in 5ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6210000'), "firstname"=>"Emma", "lastname"=>"Ortiz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3462ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022d4457353347b6210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d4457353347b6210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2658ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d4457353347b6210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2918ms
Redirected to http://test.host/clients/53022d4457353347b6210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6220000'), "name"=>"Ms. Andreane Beer", "reference"=>"Ms. Rahsaan Lubowitz", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1548ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2408ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms
Redirected to http://test.host/products/53022d4457353347b6230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2595ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6240000'), "name"=>"Lawson Smith", "reference"=>"Devonte Marquardt", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5261ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2294ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53022d4457353347b6240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d4457353347b6240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3037ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d4457353347b6240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2881ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1846ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6250000'), "name"=>"Gavin Leffler DDS", "reference"=>"Salvador Reynolds", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2668ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53022d4457353347b6250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d4457353347b6250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2635ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.9ms)
Completed 200 OK in 10ms (Views: 8.6ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6260000'), "name"=>"Idell Weimann", "reference"=>"Beverly Lakin", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4435ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4050ms
Completed 200 OK in 11ms (Views: 10.3ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6270000'), "name"=>"Anjali Schmitt II", "reference"=>"Malcolm Smitham IV", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4584ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4061ms
Completed 200 OK in 3ms (Views: 0.8ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6280000'), "name"=>"Rashad Treutel", "reference"=>"Alta Bogisich", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3379ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53022d4457353347b6280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d4457353347b6280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3280ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6290000'), "name"=>"Jazlyn Dickens", "reference"=>"Erick Hamill", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3261ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 8ms (Views: 6.9ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d4457353347b62b0000'), "name"=>"Mr. Bernardo Dietrich", "reference"=>"Mrs. Leora Walter", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4333ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53022d4457353347b62b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d4457353347b62b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms
Completed 200 OK in 5ms (Views: 3.5ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d4457353347b62c0000'), "name"=>"Burley Stoltenberg", "reference"=>"Corene Lakin", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5213ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3178ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d4457353347b62d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3447ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1733ms
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d4457353347b62e0000'), "name"=>"Desiree Muller", "reference"=>"Santino Wintheiser", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2613ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1671ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{}}
Completed 400 Bad Request in 1ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d4457353347b62f0000'), "name"=>"Evangeline Gerlach", "reference"=>"Mr. Meredith Wyman", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3580ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022d4457353347b62f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d4457353347b62f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2461ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d4457353347b62f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4608ms
Redirected to http://test.host/products/53022d4457353347b62f0000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6300000'), "firstname"=>"Stephanie", "lastname"=>"Sauer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5758ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3312ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6310000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4206ms
Redirected to http://test.host/users/53022d4457353347b6310000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2348ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6320000'), "firstname"=>"Claudie", "lastname"=>"Ward"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1633ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53022d4457353347b6320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d4457353347b6320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2940ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d4457353347b6320000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3505ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3364ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6330000'), "firstname"=>"Yasmin", "lastname"=>"Lemke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2868ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53022d4457353347b6330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d4457353347b6330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2687ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.9ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6340000'), "firstname"=>"Georgianna", "lastname"=>"Haag"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4463ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4113ms
Completed 200 OK in 12ms (Views: 11.3ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6350000'), "firstname"=>"Bryce", "lastname"=>"Volkman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3866ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6360000'), "firstname"=>"Audrey", "lastname"=>"Goyette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5018ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53022d4457353347b6360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d4457353347b6360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2646ms
Completed 200 OK in 5ms (Views: 3.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d4457353347b6370000'), "firstname"=>"Keanu", "lastname"=>"Emard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5053ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022d4457353347b6370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d4457353347b6370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3174ms
Unpermitted parameters: name
Redirected to http://test.host/users/53022d4457353347b6370000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6516ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2946ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3648ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3205ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d5457353347e0000000'), "name"=>"Bridget Langworth", "reference"=>"Oswaldo Kris", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4898ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1558ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d5457353347e0010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3996ms
Redirected to http://test.host/admin/products/53022d5457353347e0010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1959ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d5457353347e0020000'), "name"=>"Johanna Wilkinson", "reference"=>"Gilda Crist", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5653ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3476ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53022d5457353347e0020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d5457353347e0020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4464ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d5457353347e0020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5155ms
Redirected to http://test.host/admin/products
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2219ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d5457353347e0030000'), "name"=>"Ms. Drew Langosh", "reference"=>"Lilliana Langosh", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3367ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53022d5457353347e0030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d5457353347e0030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3174ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.3ms)
Completed 200 OK in 56ms (Views: 55.1ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d5457353347e0040000'), "name"=>"Austyn Oberbrunner", "reference"=>"Miss Jordi Sauer", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4391ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4224ms
Completed 200 OK in 8ms (Views: 7.6ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d5457353347e0050000'), "name"=>"Keyshawn Effertz", "reference"=>"Anahi Olson", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3801ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 21ms (Views: 7.0ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d5457353347e0080000'), "name"=>"Freddy Leuschke", "reference"=>"Orin Gusikowski", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4158ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53022d5457353347e0080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d5457353347e0080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d5457353347e0090000'), "name"=>"Lonzo Kilback", "reference"=>"Mrs. Delores Hagenes", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4805ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022d5457353347e0090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d5457353347e0090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2855ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d5457353347e0090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3328ms
Redirected to http://test.host/admin/products/53022d5457353347e0090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d5457353347e00a0000'), "firstname"=>"Alan", "lastname"=>"Stracke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4349ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1785ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d5457353347e00b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4596ms
Redirected to http://test.host/admin/users/53022d5457353347e00b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2667ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d5457353347e00c0000'), "firstname"=>"Edgar", "lastname"=>"Marquardt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4497ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1817ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53022d5457353347e00c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d5457353347e00c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d5457353347e00c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5895ms
Redirected to http://test.host/admin/users
Completed 302 Found in 8ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2941ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d5557353347e00d0000'), "firstname"=>"Scot", "lastname"=>"Lang"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3790ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53022d5557353347e00d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d5557353347e00d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2541ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 9ms (Views: 7.6ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d5557353347e00e0000'), "firstname"=>"Katherine", "lastname"=>"Runolfsson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4592ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3828ms
Completed 200 OK in 8ms (Views: 7.5ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d5557353347e00f0000'), "firstname"=>"Maia", "lastname"=>"Connelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3522ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 5.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0100000'), "firstname"=>"Kayleigh", "lastname"=>"Berge"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4830ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53022d5557353347e0100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d5557353347e0100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3462ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0110000'), "firstname"=>"Marianne", "lastname"=>"Ritchie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4189ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022d5557353347e0110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d5557353347e0110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3564ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53022d5557353347e0110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0120000'), "firstname"=>"Bridgette", "lastname"=>"Terry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4412ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1842ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7002ms
Redirected to http://test.host/admin/clients/53022d5557353347e0130000
Completed 302 Found in 8ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2485ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0140000'), "firstname"=>"Barton", "lastname"=>"Labadie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3669ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2267ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022d5557353347e0140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d5557353347e0140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3117ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d5557353347e0140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3474ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3442ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0150000'), "firstname"=>"Kane", "lastname"=>"Fritsch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4007ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022d5557353347e0150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d5557353347e0150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3264ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.7ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0160000'), "firstname"=>"Ezekiel", "lastname"=>"Smith"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3753ms
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0170000'), "firstname"=>"Orlando", "lastname"=>"Pfannerstill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4499ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0180000'), "firstname"=>"Tremaine", "lastname"=>"Ortiz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022d5557353347e0180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d5557353347e0180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2857ms
Completed 200 OK in 6ms (Views: 4.6ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0190000'), "firstname"=>"Antonio", "lastname"=>"Goyette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4160ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022d5557353347e0190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d5557353347e0190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2423ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d5557353347e0190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3057ms
Redirected to http://test.host/admin/clients/53022d5557353347e0190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d5557353347e01a0000'), "firstname"=>"Romaine", "lastname"=>"Rice"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2513ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1535ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d5557353347e01b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3046ms
Redirected to http://test.host/clients/53022d5557353347e01b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1714ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d5557353347e01c0000'), "firstname"=>"Justice", "lastname"=>"Jacobi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2317ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1561ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022d5557353347e01c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d5557353347e01c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3126ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d5557353347e01c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2506ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1655ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d5557353347e01d0000'), "firstname"=>"Robin", "lastname"=>"Hamill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2261ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022d5557353347e01d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d5557353347e01d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2282ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 200 OK in 7ms (Views: 6.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d5557353347e01e0000'), "firstname"=>"Yesenia", "lastname"=>"Anderson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4136ms
Completed 200 OK in 41ms (Views: 40.6ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d5557353347e01f0000'), "firstname"=>"Fritz", "lastname"=>"Thiel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3929ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 5.1ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0200000'), "firstname"=>"Americo", "lastname"=>"Russel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4059ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022d5557353347e0200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d5557353347e0200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3525ms
Completed 200 OK in 5ms (Views: 3.5ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0210000'), "firstname"=>"Abbigail", "lastname"=>"Hettinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022d5557353347e0210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d5557353347e0210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2925ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022d5557353347e0210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2962ms
Redirected to http://test.host/clients/53022d5557353347e0210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0220000'), "name"=>"Florence Grant V", "reference"=>"Jayde Dare PhD", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4185ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1578ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3433ms
Redirected to http://test.host/products/53022d5557353347e0230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1701ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0240000'), "name"=>"Miss Stan Rowe", "reference"=>"Mason Gottlieb", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5886ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3196ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53022d5557353347e0240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d5557353347e0240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3368ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d5557353347e0240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2535ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1865ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0250000'), "name"=>"Neoma Dickinson", "reference"=>"Selmer Schmitt", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2566ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53022d5557353347e0250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d5557353347e0250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2694ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 10ms (Views: 8.5ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0260000'), "name"=>"Jerrod Toy", "reference"=>"Mr. Alvina Swaniawski", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4312ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3784ms
Completed 200 OK in 12ms (Views: 11.3ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0270000'), "name"=>"Cleora Bartell Sr.", "reference"=>"Margarete Jacobi V", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3785ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms
Completed 200 OK in 3ms (Views: 0.8ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0280000'), "name"=>"Candido Gutmann", "reference"=>"Richard Herzog", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3224ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53022d5557353347e0280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d5557353347e0280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0290000'), "name"=>"Antone Jacobson", "reference"=>"Jalyn Bailey", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2913ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 8ms (Views: 6.6ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d5557353347e02b0000'), "name"=>"Carmen Schaefer MD", "reference"=>"Cicero Bayer", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4014ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53022d5557353347e02b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d5557353347e02b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2735ms
Completed 200 OK in 5ms (Views: 3.5ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d5557353347e02c0000'), "name"=>"Josefa Hickle", "reference"=>"Roxane Carroll", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4634ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3106ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d5557353347e02d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4224ms
Completed 201 Created in 3ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2224ms
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d5557353347e02e0000'), "name"=>"Dr. Emmie Schaefer", "reference"=>"Heber Morar", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2661ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{}}
Completed 400 Bad Request in 1ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d5557353347e02f0000'), "name"=>"Trevor Moore Sr.", "reference"=>"Mr. Ophelia Langworth", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4371ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022d5557353347e02f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d5557353347e02f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3433ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d5557353347e02f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3461ms
Redirected to http://test.host/products/53022d5557353347e02f0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0300000'), "firstname"=>"Ron", "lastname"=>"Flatley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5357ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2366ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0310000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms
Redirected to http://test.host/users/53022d5557353347e0310000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2480ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0320000'), "firstname"=>"Blanca", "lastname"=>"Gorczany"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3592ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2515ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53022d5557353347e0320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d5557353347e0320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3757ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d5557353347e0320000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3251ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2427ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0330000'), "firstname"=>"Hertha", "lastname"=>"Schultz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3232ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53022d5557353347e0330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d5557353347e0330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3587ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 10ms (Views: 8.4ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0340000'), "firstname"=>"Ari", "lastname"=>"Huel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4307ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3675ms
Completed 200 OK in 11ms (Views: 10.1ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0350000'), "firstname"=>"Sam", "lastname"=>"Treutel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3911ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0360000'), "firstname"=>"Laisha", "lastname"=>"Marvin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53022d5557353347e0360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d5557353347e0360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms
Completed 200 OK in 5ms (Views: 4.0ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d5557353347e0370000'), "firstname"=>"Devante", "lastname"=>"Ward"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022d5557353347e0370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022d5557353347e0370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2485ms
Unpermitted parameters: name
Redirected to http://test.host/users/53022d5557353347e0370000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6718ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3461ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3245ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3029ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d9f5735334821000000'), "name"=>"Emie Wiegand", "reference"=>"Rashad Purdy III", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4619ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1816ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d9f5735334821010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4158ms
Redirected to http://test.host/admin/products/53022d9f5735334821010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2606ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d9f5735334821020000'), "name"=>"Marilyne Hayes", "reference"=>"Mckenzie Ernser", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3150ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1590ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53022d9f5735334821020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d9f5735334821020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3244ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d9f5735334821020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4368ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2885ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d9f5735334821030000'), "name"=>"Anika Klein", "reference"=>"Dr. Edgar Howell", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3066ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53022d9f5735334821030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d9f5735334821030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3206ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.8ms)
Completed 200 OK in 56ms (Views: 54.4ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d9f5735334821040000'), "name"=>"Jefferey West", "reference"=>"Mrs. Roman Gleichner", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5133ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4337ms
Completed 200 OK in 8ms (Views: 7.7ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d9f5735334821050000'), "name"=>"Birdie Marquardt", "reference"=>"Evangeline Mills", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 20ms (Views: 6.3ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d9f5735334821080000'), "name"=>"Myrtle McCullough", "reference"=>"Kyleigh Konopelski", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53022d9f5735334821080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d9f5735334821080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2414ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022d9f5735334821090000'), "name"=>"Scotty Cummings", "reference"=>"Dalton Grant", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3827ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022d9f5735334821090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d9f5735334821090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2421ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022d9f5735334821090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4431ms
Redirected to http://test.host/admin/products/53022d9f5735334821090000
Completed 302 Found in 9ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022d9f57353348210a0000'), "firstname"=>"Katharina", "lastname"=>"Dare"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4810ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2453ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022da057353348210b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3724ms
Redirected to http://test.host/admin/users/53022da057353348210b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2411ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022da057353348210c0000'), "firstname"=>"Mary", "lastname"=>"Ferry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3801ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2269ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53022da057353348210c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022da057353348210c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4516ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022da057353348210c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3827ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2157ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022da057353348210d0000'), "firstname"=>"Mireille", "lastname"=>"Sanford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2538ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53022da057353348210d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022da057353348210d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.5ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022da057353348210e0000'), "firstname"=>"Rosella", "lastname"=>"Bode"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5619ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3638ms
Completed 200 OK in 7ms (Views: 6.4ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022da057353348210f0000'), "firstname"=>"May", "lastname"=>"Rogahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3495ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.9ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022da05735334821100000'), "firstname"=>"Berneice", "lastname"=>"Trantow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4684ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53022da05735334821100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022da05735334821100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2837ms
Completed 200 OK in 5ms (Views: 3.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022da05735334821110000'), "firstname"=>"Monique", "lastname"=>"Dooley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022da05735334821110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022da05735334821110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2962ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53022da05735334821110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022da05735334821120000'), "firstname"=>"Ardith", "lastname"=>"Nikolaus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5367ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2296ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022da05735334821130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4722ms
Redirected to http://test.host/admin/clients/53022da05735334821130000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1840ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022da05735334821140000'), "firstname"=>"Haven", "lastname"=>"Runte"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2995ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1610ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022da05735334821140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022da05735334821140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2943ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022da05735334821140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3126ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1939ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022da05735334821150000'), "firstname"=>"Grace", "lastname"=>"Glover"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2389ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022da05735334821150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022da05735334821150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2463ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 10ms (Views: 9.0ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022da05735334821160000'), "firstname"=>"Vivienne", "lastname"=>"Kertzmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4196ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3649ms
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022da05735334821170000'), "firstname"=>"Rory", "lastname"=>"Schmitt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4355ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 6.3ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022da05735334821180000'), "firstname"=>"Vance", "lastname"=>"Dare"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4287ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022da05735334821180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022da05735334821180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2467ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022da05735334821190000'), "firstname"=>"Kathryne", "lastname"=>"Koss"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022da05735334821190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022da05735334821190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2706ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022da05735334821190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms
Redirected to http://test.host/admin/clients/53022da05735334821190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022da057353348211a0000'), "firstname"=>"Cortez", "lastname"=>"Kuphal"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1953ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022da057353348211b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3590ms
Redirected to http://test.host/clients/53022da057353348211b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2324ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022da057353348211c0000'), "firstname"=>"Abner", "lastname"=>"Funk"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2375ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1772ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022da057353348211c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022da057353348211c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3858ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022da057353348211c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2915ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1581ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022da057353348211d0000'), "firstname"=>"Jensen", "lastname"=>"Kub"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2170ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022da057353348211d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022da057353348211d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3421ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.5ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022da057353348211e0000'), "firstname"=>"Alta", "lastname"=>"Erdman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1772ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4819ms
Completed 200 OK in 41ms (Views: 40.3ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022da057353348211f0000'), "firstname"=>"Esmeralda", "lastname"=>"Altenwerth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4633ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022da05735334821200000'), "firstname"=>"Hillary", "lastname"=>"Hoppe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4532ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022da05735334821200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022da05735334821200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3055ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022da05735334821210000'), "firstname"=>"Maiya", "lastname"=>"Rau"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3846ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022da05735334821210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022da05735334821210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3713ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022da05735334821210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2675ms
Redirected to http://test.host/clients/53022da05735334821210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022da05735334821220000'), "name"=>"Gretchen Rohan", "reference"=>"Casandra Jast", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4708ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1969ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022da05735334821230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3847ms
Redirected to http://test.host/products/53022da05735334821230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3189ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022da05735334821240000'), "name"=>"Baron Mann", "reference"=>"Benton Hahn", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3754ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1673ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53022da05735334821240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022da05735334821240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022da05735334821240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2537ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2069ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022da05735334821250000'), "name"=>"Jermaine Hermann", "reference"=>"Anissa Kuhn", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2780ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53022da05735334821250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022da05735334821250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3588ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.3ms)
Completed 200 OK in 11ms (Views: 9.4ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022da05735334821260000'), "name"=>"Elisha Rippin MD", "reference"=>"Jerry Sauer", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3976ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3645ms
Completed 200 OK in 11ms (Views: 10.3ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022da05735334821270000'), "name"=>"Suzanne Marvin", "reference"=>"Mr. Keagan Champlin", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4490ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3652ms
Completed 200 OK in 3ms (Views: 0.7ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022da05735334821280000'), "name"=>"Douglas Kirlin", "reference"=>"Leslie Reinger II", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2986ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53022da05735334821280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022da05735334821280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3261ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022da05735334821290000'), "name"=>"Gay Reilly", "reference"=>"Ollie Considine", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4337ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 8ms (Views: 6.3ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022da057353348212b0000'), "name"=>"Madisen Price", "reference"=>"Freeda Wolf", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4469ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53022da057353348212b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022da057353348212b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2706ms
Completed 200 OK in 5ms (Views: 3.8ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022da057353348212c0000'), "name"=>"Dr. Jaycee Johnson", "reference"=>"Brionna Willms", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4390ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1952ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022da057353348212d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3128ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2033ms
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022da057353348212e0000'), "name"=>"Ramon Conroy", "reference"=>"Sadie Wolff", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2643ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022da05735334821300000'), "name"=>"Janie Torphy", "reference"=>"Felicia Denesik DDS", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4009ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022da05735334821300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022da05735334821300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2872ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022da05735334821300000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3020ms
Redirected to http://test.host/products/53022da05735334821300000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022da05735334821310000'), "firstname"=>"Zachariah", "lastname"=>"Gutmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4391ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2183ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022da05735334821320000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7296ms
Redirected to http://test.host/users/53022da05735334821320000
Completed 302 Found in 5ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2475ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022da05735334821330000'), "firstname"=>"Marcus", "lastname"=>"Dickinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4561ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3430ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53022da05735334821330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022da05735334821330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3448ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022da05735334821330000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3246ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2355ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022da05735334821340000'), "firstname"=>"Jamey", "lastname"=>"Abbott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2906ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53022da05735334821340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022da05735334821340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3010ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 9ms (Views: 7.2ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022da05735334821350000'), "firstname"=>"Theron", "lastname"=>"MacGyver"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4925ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3658ms
Completed 200 OK in 11ms (Views: 10.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022da05735334821360000'), "firstname"=>"Velda", "lastname"=>"Rohan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3665ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022da05735334821370000'), "firstname"=>"Leopoldo", "lastname"=>"Hegmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4248ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53022da05735334821370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022da05735334821370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3695ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022da05735334821380000'), "firstname"=>"Alyson", "lastname"=>"Harris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4007ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022da05735334821380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022da05735334821380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2373ms
Unpermitted parameters: name
Redirected to http://test.host/users/53022da05735334821380000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6110ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2837ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3080ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2642ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2432ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022daa573533484c000000'), "name"=>"Dr. Emiliano Kuphal", "reference"=>"Ms. Cristal Schmeler", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4730ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2067ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022daa573533484c010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3737ms
Redirected to http://test.host/admin/products/53022daa573533484c010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3572ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022daa573533484c020000'), "name"=>"Glennie Huels", "reference"=>"Burley Tromp", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3826ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2386ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53022daa573533484c020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022daa573533484c020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3455ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022daa573533484c020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2935ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1717ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022daa573533484c030000'), "name"=>"Tiara Dickinson", "reference"=>"Nicholaus Nolan", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2413ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53022daa573533484c030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022daa573533484c030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2417ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.8ms)
Completed 200 OK in 56ms (Views: 54.5ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022daa573533484c040000'), "name"=>"Golda Fadel", "reference"=>"Arlo Mills", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3336ms
Completed 200 OK in 7ms (Views: 6.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022daa573533484c050000'), "name"=>"Korbin Cummings", "reference"=>"Leilani Lehner", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6960ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 21ms (Views: 6.3ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022daa573533484c080000'), "name"=>"Sam Mayert DDS", "reference"=>"Margie O'Keefe", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4666ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53022daa573533484c080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022daa573533484c080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2747ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022daa573533484c090000'), "name"=>"Haylie Smitham", "reference"=>"Teresa Rodriguez", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4353ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022daa573533484c090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022daa573533484c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3629ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022daa573533484c090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3886ms
Redirected to http://test.host/admin/products/53022daa573533484c090000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022daa573533484c0a0000'), "firstname"=>"Kaycee", "lastname"=>"Pfeffer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4349ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2022ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022daa573533484c0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3638ms
Redirected to http://test.host/admin/users/53022daa573533484c0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2285ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022daa573533484c0c0000'), "firstname"=>"Dashawn", "lastname"=>"Collins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4688ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1800ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53022daa573533484c0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022daa573533484c0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3006ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022daa573533484c0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2355ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022daa573533484c0d0000'), "firstname"=>"Aliyah", "lastname"=>"Reichert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2728ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53022daa573533484c0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022daa573533484c0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2442ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 9ms (Views: 8.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022daa573533484c0e0000'), "firstname"=>"Kobe", "lastname"=>"Crooks"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4410ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3202ms
Completed 200 OK in 7ms (Views: 6.4ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022daa573533484c0f0000'), "firstname"=>"Dorian", "lastname"=>"Lebsack"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3497ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022daa573533484c100000'), "firstname"=>"Suzanne", "lastname"=>"Daugherty"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53022daa573533484c100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022daa573533484c100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2938ms
Completed 200 OK in 5ms (Views: 3.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022daa573533484c110000'), "firstname"=>"Evans", "lastname"=>"Lockman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3955ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022daa573533484c110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022daa573533484c110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2904ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53022daa573533484c110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022daa573533484c120000'), "firstname"=>"Haskell", "lastname"=>"Wisozk"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4862ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3030ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022daa573533484c130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4531ms
Redirected to http://test.host/admin/clients/53022daa573533484c130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2097ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022daa573533484c140000'), "firstname"=>"Arturo", "lastname"=>"Kuphal"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3258ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1777ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022daa573533484c140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022daa573533484c140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2597ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022daa573533484c140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2937ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1741ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022daa573533484c150000'), "firstname"=>"Abby", "lastname"=>"Fritsch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2818ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022daa573533484c150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022daa573533484c150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4179ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 11ms (Views: 8.7ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022daa573533484c160000'), "firstname"=>"Cara", "lastname"=>"O'Keefe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3914ms
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022daa573533484c170000'), "firstname"=>"Francesca", "lastname"=>"Nolan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4935ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022daa573533484c180000'), "firstname"=>"Kitty", "lastname"=>"Frami"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7431ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022daa573533484c180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022daa573533484c180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3136ms
Completed 200 OK in 6ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022daa573533484c190000'), "firstname"=>"Maybell", "lastname"=>"Heidenreich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5346ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022daa573533484c190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022daa573533484c190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3301ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022daa573533484c190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3881ms
Redirected to http://test.host/admin/clients/53022daa573533484c190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022daa573533484c1a0000'), "firstname"=>"Brennon", "lastname"=>"Herman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3166ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1875ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022daa573533484c1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3243ms
Redirected to http://test.host/clients/53022daa573533484c1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2012ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022daa573533484c1c0000'), "firstname"=>"Walter", "lastname"=>"Leannon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2591ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1721ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022daa573533484c1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022daa573533484c1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2351ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022daa573533484c1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2994ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3136ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022daa573533484c1d0000'), "firstname"=>"Kayden", "lastname"=>"Prohaska"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3389ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022daa573533484c1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022daa573533484c1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022daa573533484c1e0000'), "firstname"=>"Joel", "lastname"=>"Dibbert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3896ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4264ms
Completed 200 OK in 41ms (Views: 40.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022daa573533484c1f0000'), "firstname"=>"Kane", "lastname"=>"Goldner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4596ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022daa573533484c200000'), "firstname"=>"Jeff", "lastname"=>"Hammes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4777ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022daa573533484c200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022daa573533484c200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3192ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022daa573533484c210000'), "firstname"=>"Kyle", "lastname"=>"Quitzon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5635ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022daa573533484c210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022daa573533484c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3580ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022daa573533484c210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2990ms
Redirected to http://test.host/clients/53022daa573533484c210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022daa573533484c220000'), "name"=>"Ofelia Quitzon", "reference"=>"Mrs. Caterina Von", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4275ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1650ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022daa573533484c230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3509ms
Redirected to http://test.host/products/53022daa573533484c230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3112ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022daa573533484c240000'), "name"=>"Lane Hodkiewicz", "reference"=>"Mary Will", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4216ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1676ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53022daa573533484c240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022daa573533484c240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3130ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022daa573533484c240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2501ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1698ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022daa573533484c250000'), "name"=>"Brook Osinski", "reference"=>"Skye Bednar", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2384ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53022daa573533484c250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022daa573533484c250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2378ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.2ms)
Completed 200 OK in 10ms (Views: 8.7ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022daa573533484c260000'), "name"=>"Dr. Wendy Hammes", "reference"=>"Fritz Schulist", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3685ms
Completed 200 OK in 10ms (Views: 9.9ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022daa573533484c270000'), "name"=>"Letitia Leannon", "reference"=>"Miss Zion Metz", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3800ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3447ms
Completed 200 OK in 3ms (Views: 0.7ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022daa573533484c280000'), "name"=>"Ms. Roderick Lemke", "reference"=>"Rolando King", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2920ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53022daa573533484c280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022daa573533484c280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022daa573533484c290000'), "name"=>"Royal Bechtelar", "reference"=>"Damion Schaefer PhD", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2927ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 8ms (Views: 7.0ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022daa573533484c2b0000'), "name"=>"Roy Breitenberg", "reference"=>"Karli Kihn", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4128ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53022daa573533484c2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022daa573533484c2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2872ms
Completed 200 OK in 5ms (Views: 3.5ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022daa573533484c2c0000'), "name"=>"Rozella Kirlin", "reference"=>"Cassidy Carter", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4826ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1833ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022daa573533484c2d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3353ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1689ms
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022daa573533484c2e0000'), "name"=>"Autumn Abshire MD", "reference"=>"Brock Russel", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2278ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022daa573533484c300000'), "name"=>"Dr. Jaunita Jast", "reference"=>"Rozella Lowe", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022daa573533484c300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022daa573533484c300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2823ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022daa573533484c300000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4360ms
Redirected to http://test.host/products/53022daa573533484c300000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022daa573533484c310000'), "firstname"=>"Freeman", "lastname"=>"Rowe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4166ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1782ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022daa573533484c320000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3460ms
Redirected to http://test.host/users/53022daa573533484c320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1866ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022daa573533484c330000'), "firstname"=>"Zechariah", "lastname"=>"Stracke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2963ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1580ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53022daa573533484c330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022daa573533484c330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3802ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022daa573533484c330000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2591ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2175ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022daa573533484c340000'), "firstname"=>"Darius", "lastname"=>"Gulgowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2467ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53022daa573533484c340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022daa573533484c340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3169ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022daa573533484c350000'), "firstname"=>"Carroll", "lastname"=>"Krajcik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4902ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3921ms
Completed 200 OK in 11ms (Views: 10.3ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022daa573533484c360000'), "firstname"=>"Molly", "lastname"=>"Mohr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3741ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 5.1ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022daa573533484c370000'), "firstname"=>"Chadd", "lastname"=>"Pfeffer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4442ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53022daa573533484c370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022daa573533484c370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3765ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022daa573533484c380000'), "firstname"=>"Baylee", "lastname"=>"Hettinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4204ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022daa573533484c380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022daa573533484c380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms
Unpermitted parameters: name
Redirected to http://test.host/users/53022daa573533484c380000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6437ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3254ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3315ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2584ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3077ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022def5735334881000000'), "name"=>"Eleanora Carroll", "reference"=>"Dr. Mariana Schulist", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5212ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3015ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022def5735334881010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms
Redirected to http://test.host/admin/products/53022def5735334881010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2332ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022def5735334881020000'), "name"=>"Shayna Murray", "reference"=>"Ashton Mosciski I", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3955ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1708ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53022def5735334881020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022def5735334881020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3216ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022def5735334881020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2746ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022def5735334881030000'), "name"=>"Dr. Emmanuel Bayer", "reference"=>"Erna Christiansen", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53022def5735334881030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022def5735334881030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2873ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.6ms)
Completed 200 OK in 59ms (Views: 57.2ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022def5735334881040000'), "name"=>"Theo Senger", "reference"=>"Royce Hilpert", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 8.8826ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3828ms
Completed 200 OK in 8ms (Views: 7.1ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022def5735334881050000'), "name"=>"Alvah Kunde MD", "reference"=>"Miss Nia Howe", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3979ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 20ms (Views: 5.9ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022def5735334881080000'), "name"=>"Isabella Schinner", "reference"=>"Alexanne Roob I", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4262ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53022def5735334881080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022def5735334881080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms
Completed 200 OK in 5ms (Views: 3.8ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022def5735334881090000'), "name"=>"Barbara Strosin", "reference"=>"Adele Feeney", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4865ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022def5735334881090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022def5735334881090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3324ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022def5735334881090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms
Redirected to http://test.host/admin/products/53022def5735334881090000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022def57353348810a0000'), "firstname"=>"Samir", "lastname"=>"Wuckert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4043ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1467ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022def57353348810b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3350ms
Redirected to http://test.host/admin/users/53022def57353348810b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2019ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022def57353348810c0000'), "firstname"=>"Dahlia", "lastname"=>"Auer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3700ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1422ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53022def57353348810c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022def57353348810c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2211ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022def57353348810c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2496ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1494ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022def57353348810d0000'), "firstname"=>"Larissa", "lastname"=>"Hintz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2654ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53022def57353348810d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022def57353348810d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3319ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 9ms (Views: 7.8ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022def57353348810e0000'), "firstname"=>"Nathen", "lastname"=>"Senger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4224ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3881ms
Completed 200 OK in 7ms (Views: 6.9ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022def57353348810f0000'), "firstname"=>"Barney", "lastname"=>"Zieme"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3680ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022def5735334881100000'), "firstname"=>"Juston", "lastname"=>"Langworth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3945ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53022def5735334881100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022def5735334881100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2504ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022def5735334881110000'), "firstname"=>"Kameron", "lastname"=>"Padberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4302ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022def5735334881110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022def5735334881110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3460ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53022def5735334881110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022def5735334881120000'), "firstname"=>"Monserrat", "lastname"=>"Frami"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4537ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2225ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022def5735334881130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4400ms
Redirected to http://test.host/admin/clients/53022def5735334881130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2257ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022def5735334881140000'), "firstname"=>"Jedediah", "lastname"=>"Blanda"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4627ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2535ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022def5735334881140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022def5735334881140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2611ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022def5735334881140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2869ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1869ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022def5735334881150000'), "firstname"=>"Aidan", "lastname"=>"Nienow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2833ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022def5735334881150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022def5735334881150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2733ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022def5735334881160000'), "firstname"=>"Amir", "lastname"=>"Jenkins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4473ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3521ms
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022def5735334881170000'), "firstname"=>"Abel", "lastname"=>"Emmerich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3012ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022def5735334881180000'), "firstname"=>"Beau", "lastname"=>"Grady"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4103ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022def5735334881180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022def5735334881180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2260ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022def5735334881190000'), "firstname"=>"Kari", "lastname"=>"Kshlerin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3892ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022def5735334881190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022def5735334881190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2708ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022def5735334881190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3184ms
Redirected to http://test.host/admin/clients/53022def5735334881190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022def57353348811a0000'), "firstname"=>"Sheldon", "lastname"=>"Marvin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3515ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1998ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022def57353348811b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3951ms
Redirected to http://test.host/clients/53022def57353348811b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2489ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022def57353348811c0000'), "firstname"=>"Neal", "lastname"=>"Hilpert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3177ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1623ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022def57353348811c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022def57353348811c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2917ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022def57353348811c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3704ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3369ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022def57353348811d0000'), "firstname"=>"Craig", "lastname"=>"Renner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2764ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022def57353348811d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022def57353348811d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3101ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022def57353348811e0000'), "firstname"=>"Pearline", "lastname"=>"Parisian"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3613ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4691ms
Completed 200 OK in 41ms (Views: 40.6ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022def57353348811f0000'), "firstname"=>"Stanley", "lastname"=>"Friesen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3939ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 8ms (Views: 7.5ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022def5735334881200000'), "firstname"=>"Elisabeth", "lastname"=>"Brown"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6264ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022def5735334881200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022def5735334881200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3005ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022def5735334881210000'), "firstname"=>"Ferne", "lastname"=>"Heathcote"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3553ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022def5735334881210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022def5735334881210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2948ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022def5735334881210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2584ms
Redirected to http://test.host/clients/53022def5735334881210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022def5735334881220000'), "name"=>"David Jacobs", "reference"=>"Mose Stracke II", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4864ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2147ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022def5735334881230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4137ms
Redirected to http://test.host/products/53022def5735334881230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2154ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022def5735334881240000'), "name"=>"Kristy Kessler", "reference"=>"Dr. Frederic Nitzsche", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3320ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1607ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53022def5735334881240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022def5735334881240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3688ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022def5735334881240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2799ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3028ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022def5735334881250000'), "name"=>"Kitty Stehr", "reference"=>"Hermann Dicki", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53022def5735334881250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022def5735334881250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2451ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 10ms (Views: 8.4ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022def5735334881260000'), "name"=>"Morris Cummings", "reference"=>"Monroe Bergnaum", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4055ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3529ms
Completed 200 OK in 10ms (Views: 9.8ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022def5735334881270000'), "name"=>"Shaun Deckow", "reference"=>"Dr. Delia Reinger", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4253ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3813ms
Completed 200 OK in 3ms (Views: 0.8ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022def5735334881280000'), "name"=>"Evangeline Schaden", "reference"=>"Kira Beier", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3761ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53022def5735334881280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022def5735334881280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2769ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022def5735334881290000'), "name"=>"Trevor Langworth", "reference"=>"Hellen Hodkiewicz", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3184ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 7ms (Views: 6.1ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022def57353348812b0000'), "name"=>"Mr. Laron Wisozk", "reference"=>"Berniece Leuschke", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3924ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53022def57353348812b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022def57353348812b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2651ms
Completed 200 OK in 5ms (Views: 3.6ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022def57353348812c0000'), "name"=>"Nannie Kuvalis", "reference"=>"Ezekiel Lynch", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1453ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022def57353348812d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3661ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2138ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022def57353348812e0000'), "name"=>"Ms. Curt Boyle", "reference"=>"Rico Mueller Jr.", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2250ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53022def57353348812e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022def57353348812e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2914ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022def57353348812e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8073ms
Completed 500 Internal Server Error in 39ms
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022def57353348812f0000'), "name"=>"Cyril Maggio", "reference"=>"Bret Larson", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022def5735334881310000'), "name"=>"America Kub", "reference"=>"Mrs. Charlotte McClure", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4851ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022def5735334881310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022def5735334881310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3037ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022def5735334881310000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3070ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022def5735334881320000'), "name"=>"Kyra Boehm", "reference"=>"Alejandrin Dickinson", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3075ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022def5735334881320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022def5735334881320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2814ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022def5735334881320000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3040ms
Redirected to http://test.host/products/53022def5735334881320000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022def5735334881330000'), "firstname"=>"Clara", "lastname"=>"Zemlak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4383ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1897ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022def5735334881340000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3348ms
Redirected to http://test.host/users/53022def5735334881340000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1659ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022def5735334881350000'), "firstname"=>"Bernadette", "lastname"=>"Schneider"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3076ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1829ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53022def5735334881350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022def5735334881350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3514ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022def5735334881350000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1979ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022def5735334881360000'), "firstname"=>"Herman", "lastname"=>"O'Keefe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3782ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53022def5735334881360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022def5735334881360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3502ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.9ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022def5735334881370000'), "firstname"=>"Stacey", "lastname"=>"Huel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4060ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3548ms
Completed 200 OK in 10ms (Views: 9.7ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022def5735334881380000'), "firstname"=>"Candida", "lastname"=>"Lowe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3577ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022def5735334881390000'), "firstname"=>"Benedict", "lastname"=>"Runolfsson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0404ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53022def5735334881390000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022def5735334881390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2906ms
Completed 200 OK in 5ms (Views: 3.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022def57353348813a0000'), "firstname"=>"May", "lastname"=>"Marks"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022def57353348813a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022def57353348813a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2727ms
Unpermitted parameters: name
Redirected to http://test.host/users/53022def57353348813a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6611ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2935ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3090ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2727ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2930ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0000000'), "name"=>"Mr. Ernie Runte", "reference"=>"Glennie Ruecker", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4760ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2027ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4161ms
Redirected to http://test.host/admin/products/53022e2457353348b0010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1780ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0020000'), "name"=>"Vivienne Bogisich", "reference"=>"Isadore Kessler III", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3349ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1771ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53022e2457353348b0020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e2457353348b0020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2534ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e2457353348b0020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2794ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1703ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0030000'), "name"=>"Susana Nienow I", "reference"=>"Gino Considine IV", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2407ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53022e2457353348b0030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e2457353348b0030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2831ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.9ms)
Completed 200 OK in 55ms (Views: 53.6ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0040000'), "name"=>"Courtney O'Hara", "reference"=>"Margie Rippin", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4465ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3742ms
Completed 200 OK in 8ms (Views: 7.1ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0050000'), "name"=>"Alexys McGlynn", "reference"=>"Lane Lehner", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3814ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 20ms (Views: 5.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0080000'), "name"=>"Franz Satterfield DDS", "reference"=>"Candida Krajcik", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4315ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53022e2457353348b0080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e2457353348b0080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3398ms
Completed 200 OK in 6ms (Views: 4.1ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0090000'), "name"=>"Reba Volkman DDS", "reference"=>"Mitchell Goyette", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4186ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022e2457353348b0090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e2457353348b0090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2455ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e2457353348b0090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3119ms
Redirected to http://test.host/admin/products/53022e2457353348b0090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e2457353348b00a0000'), "firstname"=>"Art", "lastname"=>"Schamberger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4851ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1629ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e2457353348b00b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3090ms
Redirected to http://test.host/admin/users/53022e2457353348b00b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1916ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e2457353348b00c0000'), "firstname"=>"Cecile", "lastname"=>"Cremin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2957ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1552ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53022e2457353348b00c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e2457353348b00c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2361ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e2457353348b00c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2681ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e2457353348b00d0000'), "firstname"=>"Toby", "lastname"=>"Durgan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2802ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53022e2457353348b00d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e2457353348b00d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3611ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.3ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e2457353348b00e0000'), "firstname"=>"Emie", "lastname"=>"Block"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3409ms
Completed 200 OK in 7ms (Views: 6.5ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e2457353348b00f0000'), "firstname"=>"Rae", "lastname"=>"Legros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3459ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0100000'), "firstname"=>"Oswald", "lastname"=>"Beier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0978ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53022e2457353348b0100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e2457353348b0100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3058ms
Completed 200 OK in 5ms (Views: 3.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0110000'), "firstname"=>"Luz", "lastname"=>"Hayes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4355ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022e2457353348b0110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e2457353348b0110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3458ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53022e2457353348b0110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0120000'), "firstname"=>"Juliana", "lastname"=>"Eichmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4562ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1882ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3574ms
Redirected to http://test.host/admin/clients/53022e2457353348b0130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1996ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0140000'), "firstname"=>"Hermann", "lastname"=>"Ratke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3295ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1801ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022e2457353348b0140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e2457353348b0140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e2457353348b0140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3353ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1909ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0150000'), "firstname"=>"Andres", "lastname"=>"Emard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2358ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022e2457353348b0150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e2457353348b0150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 11ms (Views: 9.2ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0160000'), "firstname"=>"Laura", "lastname"=>"Sanford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4400ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3142ms
Completed 200 OK in 8ms (Views: 6.5ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0170000'), "firstname"=>"Santino", "lastname"=>"Thompson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5039ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 8.0ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0180000'), "firstname"=>"Diana", "lastname"=>"Christiansen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4914ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022e2457353348b0180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e2457353348b0180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3821ms
Completed 200 OK in 6ms (Views: 4.6ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0190000'), "firstname"=>"Kamryn", "lastname"=>"Ullrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4566ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022e2457353348b0190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e2457353348b0190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2938ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e2457353348b0190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3332ms
Redirected to http://test.host/admin/clients/53022e2457353348b0190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e2457353348b01a0000'), "firstname"=>"Mazie", "lastname"=>"Hermann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1753ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e2457353348b01b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4009ms
Redirected to http://test.host/clients/53022e2457353348b01b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2393ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e2457353348b01c0000'), "firstname"=>"Renee", "lastname"=>"Dibbert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2738ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2775ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022e2457353348b01c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e2457353348b01c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3686ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e2457353348b01c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2550ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1684ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e2457353348b01d0000'), "firstname"=>"Carolyne", "lastname"=>"Metz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2328ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022e2457353348b01d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e2457353348b01d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e2457353348b01e0000'), "firstname"=>"Emilie", "lastname"=>"Hagenes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3617ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4075ms
Completed 200 OK in 40ms (Views: 39.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e2457353348b01f0000'), "firstname"=>"Lew", "lastname"=>"Christiansen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5764ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0200000'), "firstname"=>"Daphney", "lastname"=>"Hoeger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4654ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022e2457353348b0200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e2457353348b0200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms
Completed 200 OK in 5ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0210000'), "firstname"=>"Billy", "lastname"=>"Boyer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3515ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022e2457353348b0210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e2457353348b0210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2639ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e2457353348b0210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2632ms
Redirected to http://test.host/clients/53022e2457353348b0210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0220000'), "name"=>"Keagan Fritsch V", "reference"=>"Mossie Adams", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4326ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1833ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4215ms
Redirected to http://test.host/products/53022e2457353348b0230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2906ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0240000'), "name"=>"Russ Carter", "reference"=>"Alena Bailey", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3687ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2299ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53022e2457353348b0240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e2457353348b0240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3208ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e2457353348b0240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3110ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2079ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0250000'), "name"=>"Caroline Haag", "reference"=>"Lorna Kris I", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2713ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53022e2457353348b0250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e2457353348b0250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2953ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0260000'), "name"=>"Vicky Klein", "reference"=>"Ana Heaney", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4349ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3819ms
Completed 200 OK in 11ms (Views: 10.0ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0270000'), "name"=>"Hildegard Turcotte Sr.", "reference"=>"Miss Hiram Quigley", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3398ms
Completed 200 OK in 2ms (Views: 0.7ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0280000'), "name"=>"Johnny Jenkins", "reference"=>"Kobe Collier", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3167ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53022e2457353348b0280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e2457353348b0280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2617ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0290000'), "name"=>"Xzavier Gleason", "reference"=>"Manuela Mertz", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 7ms (Views: 6.1ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e2457353348b02b0000'), "name"=>"Durward Boyle", "reference"=>"Rudy Flatley", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53022e2457353348b02b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e2457353348b02b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2542ms
Completed 200 OK in 5ms (Views: 3.6ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e2457353348b02c0000'), "name"=>"Lizzie Hilll", "reference"=>"Ivah Morar", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3915ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1720ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e2457353348b02d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9317ms
Completed 201 Created in 8ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2375ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e2457353348b02e0000'), "name"=>"Prudence Friesen PhD", "reference"=>"Chyna Rodriguez", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2229ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53022e2457353348b02e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e2457353348b02e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3213ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e2457353348b02e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2505ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e2457353348b02f0000'), "name"=>"Thalia Ledner", "reference"=>"Estella Crooks DDS", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 3ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0310000'), "name"=>"Estelle Dare", "reference"=>"Catherine Ratke", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4060ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022e2457353348b0310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e2457353348b0310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2683ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e2457353348b0310000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2867ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0320000'), "name"=>"Dena Stanton", "reference"=>"Gavin Cormier DDS", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2709ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022e2457353348b0320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e2457353348b0320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2674ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e2457353348b0320000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2719ms
Redirected to http://test.host/products/53022e2457353348b0320000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0330000'), "firstname"=>"Titus", "lastname"=>"Hartmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4173ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1678ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0340000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3733ms
Redirected to http://test.host/users/53022e2457353348b0340000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2011ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0350000'), "firstname"=>"Anais", "lastname"=>"Miller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3095ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1666ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53022e2457353348b0350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e2457353348b0350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e2457353348b0350000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2461ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1688ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0360000'), "firstname"=>"Miguel", "lastname"=>"Huels"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2380ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53022e2457353348b0360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e2457353348b0360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2461ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0370000'), "firstname"=>"Augustine", "lastname"=>"Leffler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4183ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4169ms
Completed 200 OK in 11ms (Views: 10.4ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0380000'), "firstname"=>"Cale", "lastname"=>"Tremblay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4553ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e2457353348b0390000'), "firstname"=>"Griffin", "lastname"=>"Lynch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4081ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53022e2457353348b0390000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e2457353348b0390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms
Completed 200 OK in 5ms (Views: 3.8ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e2457353348b03a0000'), "firstname"=>"Hunter", "lastname"=>"McLaughlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4734ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022e2457353348b03a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e2457353348b03a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3199ms
Unpermitted parameters: name
Redirected to http://test.host/users/53022e2457353348b03a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6499ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3473ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2686ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2631ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e4257353348df000000'), "name"=>"Johnathon Hahn", "reference"=>"Bethel Cartwright", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4413ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1643ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e4257353348df010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3792ms
Redirected to http://test.host/admin/products/53022e4257353348df010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2001ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e4257353348df020000'), "name"=>"Mrs. Marilyne Brakus", "reference"=>"Jacky Wiza", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3975ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2502ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53022e4257353348df020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e4257353348df020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3698ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e4257353348df020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4736ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1882ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e4257353348df030000'), "name"=>"Jazmyn Upton II", "reference"=>"Maggie Prohaska", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2797ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53022e4257353348df030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e4257353348df030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2766ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.8ms)
Completed 200 OK in 56ms (Views: 54.4ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e4257353348df040000'), "name"=>"Pat Kshlerin", "reference"=>"Alex DuBuque DDS", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4165ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3376ms
Completed 200 OK in 7ms (Views: 6.9ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e4257353348df050000'), "name"=>"Odessa Monahan MD", "reference"=>"Nicholas Littel", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3225ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 20ms (Views: 5.9ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e4257353348df080000'), "name"=>"Mr. Hector Pouros", "reference"=>"Mr. Gisselle Haley", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4408ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53022e4257353348df080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e4257353348df080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3343ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e4257353348df090000'), "name"=>"Pete Morissette", "reference"=>"Quinton Stanton", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022e4257353348df090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e4257353348df090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2631ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e4257353348df090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3610ms
Redirected to http://test.host/admin/products/53022e4257353348df090000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e4257353348df0a0000'), "firstname"=>"Oliver", "lastname"=>"Deckow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4476ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1651ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e4257353348df0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3257ms
Redirected to http://test.host/admin/users/53022e4257353348df0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1757ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e4257353348df0c0000'), "firstname"=>"Reagan", "lastname"=>"Medhurst"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3544ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1458ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53022e4257353348df0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e4257353348df0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3102ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e4257353348df0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3565ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e4257353348df0d0000'), "firstname"=>"Deon", "lastname"=>"Fisher"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4426ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53022e4257353348df0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e4257353348df0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2541ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.3ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e4257353348df0e0000'), "firstname"=>"Jennie", "lastname"=>"Larkin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4273ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3720ms
Completed 200 OK in 8ms (Views: 7.0ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e4257353348df0f0000'), "firstname"=>"Evan", "lastname"=>"Quigley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3491ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e4257353348df100000'), "firstname"=>"Hilbert", "lastname"=>"Gaylord"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3975ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53022e4257353348df100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e4257353348df100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e4257353348df110000'), "firstname"=>"Natasha", "lastname"=>"Hilll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3906ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022e4257353348df110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e4257353348df110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3448ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53022e4257353348df110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e4257353348df120000'), "firstname"=>"Delbert", "lastname"=>"Haag"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4470ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1618ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e4257353348df130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4123ms
Redirected to http://test.host/admin/clients/53022e4257353348df130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3164ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e4257353348df140000'), "firstname"=>"Donald", "lastname"=>"Beier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4089ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1591ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022e4257353348df140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e4257353348df140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2332ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e4257353348df140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2748ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2133ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e4257353348df150000'), "firstname"=>"Jane", "lastname"=>"McDermott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3013ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022e4257353348df150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e4257353348df150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 10ms (Views: 8.9ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e4257353348df160000'), "firstname"=>"Madelynn", "lastname"=>"Deckow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4147ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3354ms
Completed 200 OK in 8ms (Views: 6.6ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e4257353348df170000'), "firstname"=>"Leonardo", "lastname"=>"Waelchi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5040ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 6.2ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e4257353348df180000'), "firstname"=>"Valerie", "lastname"=>"Huel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7600ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022e4257353348df180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e4257353348df180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3567ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e4257353348df190000'), "firstname"=>"Kavon", "lastname"=>"Thiel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4622ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022e4257353348df190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e4257353348df190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3240ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e4257353348df190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3098ms
Redirected to http://test.host/admin/clients/53022e4257353348df190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e4257353348df1a0000'), "firstname"=>"Makenzie", "lastname"=>"Renner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3600ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2423ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e4257353348df1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4769ms
Redirected to http://test.host/clients/53022e4257353348df1b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2920ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e4257353348df1c0000'), "firstname"=>"Frederic", "lastname"=>"Jaskolski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3239ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1502ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022e4257353348df1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e4257353348df1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2709ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e4257353348df1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2634ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1823ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e4257353348df1d0000'), "firstname"=>"Elbert", "lastname"=>"Bogisich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2450ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022e4257353348df1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e4257353348df1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2934ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.6ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e4257353348df1e0000'), "firstname"=>"Ceasar", "lastname"=>"O'Reilly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4157ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4227ms
Completed 200 OK in 41ms (Views: 40.3ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e4257353348df1f0000'), "firstname"=>"Raoul", "lastname"=>"Hermann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3793ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.6ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e4257353348df200000'), "firstname"=>"Araceli", "lastname"=>"McDermott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4244ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022e4257353348df200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e4257353348df200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms
Completed 200 OK in 4ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e4257353348df210000'), "firstname"=>"Caitlyn", "lastname"=>"Russel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5965ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022e4257353348df210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e4257353348df210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3004ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e4257353348df210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2946ms
Redirected to http://test.host/clients/53022e4257353348df210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e4257353348df220000'), "name"=>"Natalia Shields", "reference"=>"Mrs. Jaydon Larson", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4307ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1600ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e4257353348df230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4811ms
Redirected to http://test.host/products/53022e4257353348df230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1889ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e4257353348df240000'), "name"=>"Myrl Adams", "reference"=>"Dr. Estelle Swift", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3053ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1544ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53022e4257353348df240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e4257353348df240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3253ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e4257353348df240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2535ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1668ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e4257353348df250000'), "name"=>"Chaya Bechtelar", "reference"=>"Josh Reinger", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2689ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53022e4257353348df250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e4257353348df250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3267ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.9ms)
Completed 200 OK in 10ms (Views: 8.8ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e4257353348df260000'), "name"=>"Jaden Sipes", "reference"=>"Jacynthe Senger", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4015ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3767ms
Completed 200 OK in 10ms (Views: 10.0ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e4257353348df270000'), "name"=>"Darrion Schiller", "reference"=>"Ottis Grady", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4035ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3091ms
Completed 200 OK in 2ms (Views: 0.7ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e4257353348df280000'), "name"=>"Van Cummings", "reference"=>"Dr. Carli Nitzsche", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3933ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53022e4257353348df280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e4257353348df280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2674ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e4257353348df290000'), "name"=>"Jacinto Tillman", "reference"=>"Kyleigh Stoltenberg", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3103ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 8ms (Views: 6.4ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e4257353348df2b0000'), "name"=>"Cynthia Daniel", "reference"=>"Jaeden Senger V", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4602ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53022e4257353348df2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e4257353348df2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3365ms
Completed 200 OK in 5ms (Views: 3.8ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e4257353348df2c0000'), "name"=>"Franz Romaguera DDS", "reference"=>"Myrtie Quitzon", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4671ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1656ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e4257353348df2d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3113ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1847ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e4257353348df2e0000'), "name"=>"Caleb Schinner", "reference"=>"Kariane Fritsch", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2462ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53022e4257353348df2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e4257353348df2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2807ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e4257353348df2e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2630ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e4257353348df2f0000'), "name"=>"Zachery Jakubowski", "reference"=>"Myra Fahey I", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2830ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 3ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e4257353348df310000'), "name"=>"George Runolfsson", "reference"=>"Gerry Beier", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4595ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022e4257353348df310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e4257353348df310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3015ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e4257353348df310000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3698ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e4257353348df320000'), "name"=>"Geovany Mayert", "reference"=>"Rhoda Reynolds", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3017ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022e4257353348df320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e4257353348df320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3764ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e4257353348df320000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3617ms
Redirected to http://test.host/products/53022e4257353348df320000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e4257353348df330000'), "firstname"=>"Levi", "lastname"=>"Ruecker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5907ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2305ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e4257353348df340000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4169ms
Redirected to http://test.host/users/53022e4257353348df340000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2584ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e4257353348df350000'), "firstname"=>"Mike", "lastname"=>"Rippin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3437ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1809ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53022e4257353348df350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e4257353348df350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3839ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e4257353348df350000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3271ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2107ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e4257353348df360000'), "firstname"=>"Makenzie", "lastname"=>"Mohr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2547ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53022e4257353348df360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e4257353348df360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e4257353348df370000'), "firstname"=>"Evangeline", "lastname"=>"Waelchi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4136ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3615ms
Completed 200 OK in 11ms (Views: 10.1ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e4257353348df380000'), "firstname"=>"Alyce", "lastname"=>"Schuppe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3548ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e4257353348df390000'), "firstname"=>"Shayne", "lastname"=>"Jast"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3715ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53022e4257353348df390000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e4257353348df390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4339ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e4357353348df3a0000'), "firstname"=>"Mallie", "lastname"=>"Gerlach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5545ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022e4357353348df3a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e4357353348df3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3022ms
Unpermitted parameters: name
Redirected to http://test.host/users/53022e4357353348df3a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6243ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3224ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2797ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2501ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e60573533490a000000'), "name"=>"Belle Hane", "reference"=>"Lambert Herman I", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5758ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3456ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e60573533490a010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4747ms
Redirected to http://test.host/admin/products/53022e60573533490a010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2587ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e60573533490a020000'), "name"=>"Antwan Wisozk", "reference"=>"Mr. Dasia Runolfsdottir", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3792ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2323ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53022e60573533490a020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e60573533490a020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3063ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e60573533490a020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3544ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2332ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e60573533490a030000'), "name"=>"Miss Domenick Casper", "reference"=>"Joany Harvey", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 7.7717ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53022e60573533490a030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e60573533490a030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3057ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.2ms)
Completed 200 OK in 56ms (Views: 54.9ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e60573533490a040000'), "name"=>"Leora Morissette", "reference"=>"Cullen Schroeder", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4458ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3485ms
Completed 200 OK in 8ms (Views: 7.1ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e60573533490a050000'), "name"=>"Corbin Greenholt MD", "reference"=>"Jaime Schuppe", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4737ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 20ms (Views: 6.3ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e60573533490a080000'), "name"=>"Milton Schmitt", "reference"=>"Fred Bechtelar", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4358ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53022e60573533490a080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e60573533490a080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2591ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e60573533490a090000'), "name"=>"Mr. Gertrude Schulist", "reference"=>"Miss Mina Padberg", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7975ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022e60573533490a090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e60573533490a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e60573533490a090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4475ms
Redirected to http://test.host/admin/products/53022e60573533490a090000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e60573533490a0a0000'), "firstname"=>"Melvin", "lastname"=>"Blick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4267ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2043ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e60573533490a0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3881ms
Redirected to http://test.host/admin/users/53022e60573533490a0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1975ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e60573533490a0c0000'), "firstname"=>"Lonie", "lastname"=>"Jacobs"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3798ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1585ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53022e60573533490a0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e60573533490a0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3409ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e60573533490a0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4540ms
Redirected to http://test.host/admin/users
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2727ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e60573533490a0d0000'), "firstname"=>"Liliana", "lastname"=>"Ledner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2633ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53022e60573533490a0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e60573533490a0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2788ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 9ms (Views: 7.7ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e60573533490a0e0000'), "firstname"=>"Morris", "lastname"=>"Herman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4102ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3779ms
Completed 200 OK in 7ms (Views: 6.7ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e60573533490a0f0000'), "firstname"=>"Vivien", "lastname"=>"Thiel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3633ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.9ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e60573533490a100000'), "firstname"=>"Ahmed", "lastname"=>"Balistreri"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4737ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53022e60573533490a100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e60573533490a100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3427ms
Completed 200 OK in 5ms (Views: 3.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e60573533490a110000'), "firstname"=>"Agnes", "lastname"=>"Dietrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022e60573533490a110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e60573533490a110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3736ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53022e60573533490a110000
Completed 302 Found in 4ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e60573533490a120000'), "firstname"=>"Maye", "lastname"=>"Mayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4441ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1770ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e60573533490a130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4496ms
Redirected to http://test.host/admin/clients/53022e60573533490a130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1831ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e60573533490a140000'), "firstname"=>"Arvilla", "lastname"=>"Jaskolski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3589ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2286ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022e60573533490a140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e60573533490a140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e60573533490a140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2621ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1606ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e60573533490a150000'), "firstname"=>"Shea", "lastname"=>"Bradtke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2360ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022e60573533490a150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e60573533490a150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2879ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.8ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e60573533490a160000'), "firstname"=>"Reva", "lastname"=>"Wolff"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4167ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3972ms
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e60573533490a170000'), "firstname"=>"Dominique", "lastname"=>"Heller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4273ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 7ms (Views: 6.3ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e60573533490a180000'), "firstname"=>"Lilyan", "lastname"=>"Morissette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022e60573533490a180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e60573533490a180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms
Completed 200 OK in 5ms (Views: 4.0ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e60573533490a190000'), "firstname"=>"Russell", "lastname"=>"Davis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4026ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022e60573533490a190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e60573533490a190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3858ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e60573533490a190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4766ms
Redirected to http://test.host/admin/clients/53022e60573533490a190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e60573533490a1a0000'), "firstname"=>"Kody", "lastname"=>"Bahringer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1798ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e60573533490a1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3074ms
Redirected to http://test.host/clients/53022e60573533490a1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1919ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e60573533490a1c0000'), "firstname"=>"Damion", "lastname"=>"Hills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2360ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1690ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022e60573533490a1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e60573533490a1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2355ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e60573533490a1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3538ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2406ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e60573533490a1d0000'), "firstname"=>"Nola", "lastname"=>"Kuhlman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2959ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022e60573533490a1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e60573533490a1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3132ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e60573533490a1e0000'), "firstname"=>"Ned", "lastname"=>"Kessler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3848ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4315ms
Completed 200 OK in 42ms (Views: 41.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e60573533490a1f0000'), "firstname"=>"Jerad", "lastname"=>"Beer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3845ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e60573533490a200000'), "firstname"=>"Rickey", "lastname"=>"Armstrong"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3883ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022e60573533490a200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e60573533490a200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2794ms
Completed 200 OK in 5ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e60573533490a210000'), "firstname"=>"Jamel", "lastname"=>"Witting"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3435ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022e60573533490a210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e60573533490a210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2434ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e60573533490a210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3654ms
Redirected to http://test.host/clients/53022e60573533490a210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e60573533490a220000'), "name"=>"Ms. Sid Durgan", "reference"=>"Breana Lakin", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4820ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2016ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e60573533490a230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3422ms
Redirected to http://test.host/products/53022e60573533490a230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2016ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e60573533490a240000'), "name"=>"Maudie Klocko", "reference"=>"Gennaro Reinger III", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3616ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2289ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53022e60573533490a240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e60573533490a240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4155ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e60573533490a240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3359ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1841ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e60573533490a250000'), "name"=>"Jamarcus Dicki", "reference"=>"Irma Koelpin", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2841ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53022e60573533490a250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e60573533490a250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2500ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.0ms)
Completed 200 OK in 10ms (Views: 8.7ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e60573533490a260000'), "name"=>"Irving Emard", "reference"=>"Tina Champlin DDS", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4660ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4115ms
Completed 200 OK in 11ms (Views: 10.1ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e60573533490a270000'), "name"=>"Dr. Laurianne Lockman", "reference"=>"Grace Schuppe Sr.", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4470ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3696ms
Completed 200 OK in 3ms (Views: 0.8ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e60573533490a280000'), "name"=>"Winifred Hilpert PhD", "reference"=>"Herminia Friesen", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3210ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53022e60573533490a280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e60573533490a280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2628ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e60573533490a290000'), "name"=>"Mr. Abel Braun", "reference"=>"Miss Felipe Yost", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3182ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 8ms (Views: 7.0ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e60573533490a2b0000'), "name"=>"Kiley Schowalter", "reference"=>"Estel Parisian", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4693ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53022e60573533490a2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e60573533490a2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2817ms
Completed 200 OK in 5ms (Views: 3.5ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e60573533490a2c0000'), "name"=>"Howard Powlowski", "reference"=>"Hollie Torp I", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4342ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2271ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e60573533490a2d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4763ms
Completed 201 Created in 3ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2113ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e60573533490a2e0000'), "name"=>"Grant Bode", "reference"=>"Davon Legros MD", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3046ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53022e60573533490a2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e60573533490a2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3077ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e60573533490a2e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2899ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e60573533490a2f0000'), "name"=>"Jewell D'Amore", "reference"=>"Kade Carroll", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3148ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e60573533490a310000'), "name"=>"Charlene Collins", "reference"=>"Brooks Wintheiser V", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4156ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022e60573533490a310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e60573533490a310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4443ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e60573533490a310000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3986ms
Completed 202 Accepted in 4ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e60573533490a320000'), "name"=>"Bertrand D'Amore Jr.", "reference"=>"Adolph Little V", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4711ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022e60573533490a320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e60573533490a320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4147ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e60573533490a320000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3669ms
Redirected to http://test.host/products/53022e60573533490a320000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e60573533490a330000'), "firstname"=>"Ramona", "lastname"=>"Gibson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4233ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1730ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e60573533490a340000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3241ms
Redirected to http://test.host/users/53022e60573533490a340000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1817ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e60573533490a350000'), "firstname"=>"Dax", "lastname"=>"Ullrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3422ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2194ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53022e60573533490a350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e60573533490a350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3434ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e60573533490a350000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2600ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1748ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e60573533490a360000'), "firstname"=>"Cornell", "lastname"=>"Hermiston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2401ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53022e60573533490a360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e60573533490a360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.9ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e60573533490a370000'), "firstname"=>"Daren", "lastname"=>"Mosciski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4188ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3976ms
Completed 200 OK in 11ms (Views: 10.7ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e60573533490a380000'), "firstname"=>"Bell", "lastname"=>"Mueller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3688ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e60573533490a390000'), "firstname"=>"Josefina", "lastname"=>"Roob"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53022e60573533490a390000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e60573533490a390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3748ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e60573533490a3a0000'), "firstname"=>"Marques", "lastname"=>"Lesch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4512ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022e60573533490a3a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e60573533490a3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2526ms
Unpermitted parameters: name
Redirected to http://test.host/users/53022e60573533490a3a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6401ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3309ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3145ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2396ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2612ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e7b5735334935000000'), "name"=>"Joanne Stark", "reference"=>"Nina Sporer Sr.", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4939ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2920ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e7b5735334935010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms
Redirected to http://test.host/admin/products/53022e7b5735334935010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1771ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e7b5735334935020000'), "name"=>"Jammie Larson", "reference"=>"Tom Roberts", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3078ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1560ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53022e7b5735334935020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e7b5735334935020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2409ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e7b5735334935020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2002ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e7b5735334935030000'), "name"=>"Miss Kaci Rath", "reference"=>"Mr. Mitchell Thompson", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2592ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53022e7b5735334935030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e7b5735334935030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2934ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.3ms)
Completed 200 OK in 57ms (Views: 56.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e7b5735334935040000'), "name"=>"Mrs. Isaias Kuphal", "reference"=>"Miss Mafalda Hodkiewicz", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4706ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4066ms
Completed 200 OK in 8ms (Views: 7.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e7b5735334935050000'), "name"=>"Deangelo Veum", "reference"=>"Cali Williamson", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 7.1494ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 20ms (Views: 5.9ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e7b5735334935080000'), "name"=>"Aaliyah Olson", "reference"=>"Therese Kemmer", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4153ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53022e7b5735334935080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e7b5735334935080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2652ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e7b5735334935090000'), "name"=>"Aileen Kautzer", "reference"=>"Mr. Kenneth Purdy", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4010ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022e7b5735334935090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e7b5735334935090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2574ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e7b5735334935090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3980ms
Redirected to http://test.host/admin/products/53022e7b5735334935090000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e7b57353349350a0000'), "firstname"=>"Luna", "lastname"=>"Rohan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4897ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2061ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e7b57353349350b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms
Redirected to http://test.host/admin/users/53022e7b57353349350b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1846ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e7b57353349350c0000'), "firstname"=>"Micaela", "lastname"=>"Prohaska"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2881ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1565ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53022e7b57353349350c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e7b57353349350c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3034ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e7b57353349350c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4565ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2836ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e7b57353349350d0000'), "firstname"=>"Jewel", "lastname"=>"Schinner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3074ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53022e7b57353349350d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e7b57353349350d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2576ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.4ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e7b57353349350e0000'), "firstname"=>"Percival", "lastname"=>"Kunde"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4288ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3792ms
Completed 200 OK in 7ms (Views: 6.6ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e7b57353349350f0000'), "firstname"=>"Brant", "lastname"=>"Flatley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3372ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.9ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e7b5735334935100000'), "firstname"=>"Destany", "lastname"=>"Pfannerstill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4796ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53022e7b5735334935100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e7b5735334935100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2884ms
Completed 200 OK in 5ms (Views: 3.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e7b5735334935110000'), "firstname"=>"Norene", "lastname"=>"Nienow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4048ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022e7b5735334935110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e7b5735334935110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4573ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53022e7b5735334935110000
Completed 302 Found in 4ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e7b5735334935120000'), "firstname"=>"Ari", "lastname"=>"Rutherford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5302ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2429ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e7b5735334935130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4760ms
Redirected to http://test.host/admin/clients/53022e7b5735334935130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1763ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e7b5735334935140000'), "firstname"=>"Mandy", "lastname"=>"Schmidt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3416ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2122ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022e7b5735334935140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e7b5735334935140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2417ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e7b5735334935140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2761ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1645ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e7b5735334935150000'), "firstname"=>"Ismael", "lastname"=>"Gerlach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2516ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022e7b5735334935150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e7b5735334935150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2743ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 10ms (Views: 8.8ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e7b5735334935160000'), "firstname"=>"Wilfrid", "lastname"=>"Wunsch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4161ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3833ms
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e7b5735334935170000'), "firstname"=>"Zachery", "lastname"=>"O'Hara"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4279ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 6.4ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e7b5735334935180000'), "firstname"=>"Mckenna", "lastname"=>"Collins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2529ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022e7b5735334935180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e7b5735334935180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3393ms
Completed 200 OK in 6ms (Views: 4.5ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e7b5735334935190000'), "firstname"=>"Kaela", "lastname"=>"Fahey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4914ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022e7b5735334935190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e7b5735334935190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2697ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e7b5735334935190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2993ms
Redirected to http://test.host/admin/clients/53022e7b5735334935190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e7b57353349351a0000'), "firstname"=>"Stella", "lastname"=>"Torp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2767ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2334ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e7b57353349351b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3468ms
Redirected to http://test.host/clients/53022e7b57353349351b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2692ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e7b57353349351c0000'), "firstname"=>"Casandra", "lastname"=>"Cruickshank"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2665ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1620ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022e7b57353349351c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e7b57353349351c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3631ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e7b57353349351c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3141ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1671ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e7b57353349351d0000'), "firstname"=>"Krystel", "lastname"=>"Boyle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2502ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022e7b57353349351d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e7b57353349351d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2542ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e7b57353349351e0000'), "firstname"=>"Pearline", "lastname"=>"Runte"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3694ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4066ms
Completed 200 OK in 42ms (Views: 41.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e7b57353349351f0000'), "firstname"=>"Sandra", "lastname"=>"Reynolds"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3664ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e7b5735334935200000'), "firstname"=>"Mauricio", "lastname"=>"Stehr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4269ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022e7b5735334935200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e7b5735334935200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2534ms
Completed 200 OK in 5ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e7b5735334935210000'), "firstname"=>"Francisco", "lastname"=>"Zemlak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1963ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022e7b5735334935210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e7b5735334935210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3355ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e7b5735334935210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3378ms
Redirected to http://test.host/clients/53022e7b5735334935210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e7b5735334935220000'), "name"=>"Eduardo O'Reilly", "reference"=>"Amira Hartmann", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4446ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1790ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e7b5735334935230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3452ms
Redirected to http://test.host/products/53022e7b5735334935230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1870ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e7b5735334935240000'), "name"=>"Jevon Strosin", "reference"=>"Kayden Bailey", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3642ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2570ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53022e7b5735334935240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e7b5735334935240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3302ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e7b5735334935240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2499ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1643ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e7b5735334935250000'), "name"=>"Akeem Schowalter MD", "reference"=>"Mrs. Dino Corwin", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3609ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53022e7b5735334935250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e7b5735334935250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3111ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.9ms)
Completed 200 OK in 10ms (Views: 8.9ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e7c5735334935260000'), "name"=>"Rowena Lesch", "reference"=>"Natasha Schuppe", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4629ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4056ms
Completed 200 OK in 11ms (Views: 10.0ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e7c5735334935270000'), "name"=>"Oma Collins", "reference"=>"Cierra Rosenbaum", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4211ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3361ms
Completed 200 OK in 3ms (Views: 0.8ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e7c5735334935280000'), "name"=>"Terence Smith", "reference"=>"Abner Corkery", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3834ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53022e7c5735334935280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e7c5735334935280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3026ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e7c5735334935290000'), "name"=>"Della Hansen I", "reference"=>"Walton Willms", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2925ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 8ms (Views: 6.6ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e7c57353349352b0000'), "name"=>"Jeanie Cole", "reference"=>"Pierre Legros DDS", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4238ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53022e7c57353349352b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e7c57353349352b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3028ms
Completed 200 OK in 5ms (Views: 3.5ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e7c57353349352c0000'), "name"=>"Naomi Roberts", "reference"=>"Mona Medhurst", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4668ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3097ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e7c57353349352d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1881ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e7c57353349352e0000'), "name"=>"Darrion O'Reilly", "reference"=>"Mitchel Baumbach", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2441ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53022e7c57353349352e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e7c57353349352e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2676ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e7c57353349352e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2594ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e7c57353349352f0000'), "name"=>"Ana Rau Jr.", "reference"=>"Idell Toy Sr.", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2758ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
----------------------------------------------------
ProductsControllerTest: test_should_json_not_destroy
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e7c5735334935310000'), "name"=>"Demetris Daniel", "reference"=>"Mrs. Gilberto Beatty", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4221ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53022e7c5735334935310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e7c5735334935310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3168ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e7c5735334935310000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2798ms
Completed 200 OK in 2ms (Views: 0.1ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e7c5735334935320000'), "name"=>"Irwin Champlin", "reference"=>"Audra Haag", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5241ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022e7c5735334935320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e7c5735334935320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e7c5735334935320000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3075ms
Completed 202 Accepted in 4ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e7c5735334935330000'), "name"=>"Jayme Hessel", "reference"=>"Mrs. Eden Ward", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2838ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022e7c5735334935330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e7c5735334935330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2683ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e7c5735334935330000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2894ms
Redirected to http://test.host/products/53022e7c5735334935330000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e7c5735334935340000'), "firstname"=>"Pamela", "lastname"=>"Schroeder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4661ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2082ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e7c5735334935350000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3941ms
Redirected to http://test.host/users/53022e7c5735334935350000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2443ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e7c5735334935360000'), "firstname"=>"Dion", "lastname"=>"Waelchi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4563ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2936ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53022e7c5735334935360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e7c5735334935360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3374ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e7c5735334935360000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2514ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1540ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e7c5735334935370000'), "firstname"=>"Rowland", "lastname"=>"Kertzmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2743ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53022e7c5735334935370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e7c5735334935370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2745ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e7c5735334935380000'), "firstname"=>"Pearl", "lastname"=>"Wolf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5297ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3995ms
Completed 200 OK in 11ms (Views: 10.1ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e7c5735334935390000'), "firstname"=>"Trycia", "lastname"=>"Bailey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.5141ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e7c57353349353a0000'), "firstname"=>"Michele", "lastname"=>"Gislason"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4503ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53022e7c57353349353a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e7c57353349353a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3474ms
Completed 200 OK in 5ms (Views: 3.9ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e7c57353349353b0000'), "firstname"=>"Kamille", "lastname"=>"Kreiger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4464ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022e7c57353349353b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e7c57353349353b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2735ms
Unpermitted parameters: name
Redirected to http://test.host/users/53022e7c57353349353b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6264ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2719ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3183ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2372ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2505ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e975735334961000000'), "name"=>"Savannah Altenwerth", "reference"=>"Naomie Bayer", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5111ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2137ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e975735334961010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms
Redirected to http://test.host/admin/products/53022e975735334961010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1853ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e975735334961020000'), "name"=>"Freeman Maggio", "reference"=>"Miss Berneice Bartoletti", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3088ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1643ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53022e975735334961020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e975735334961020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e975735334961020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3386ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3013ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e975735334961030000'), "name"=>"Mrs. Kelli Bailey", "reference"=>"Treva Wunsch", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2934ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53022e975735334961030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e975735334961030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2522ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.8ms)
Completed 200 OK in 59ms (Views: 57.4ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e985735334961040000'), "name"=>"Clay Lang", "reference"=>"Arno Padberg", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4249ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4542ms
Completed 200 OK in 9ms (Views: 8.1ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e985735334961050000'), "name"=>"Eleanora Kohler", "reference"=>"Alejandrin Dibbert", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3842ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 21ms (Views: 5.9ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e985735334961080000'), "name"=>"Theodore Marks", "reference"=>"Dayana MacGyver DVM", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4743ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53022e985735334961080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e985735334961080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2835ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e985735334961090000'), "name"=>"Caitlyn Wisoky", "reference"=>"Jedidiah Rohan", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022e985735334961090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e985735334961090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3895ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e985735334961090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5329ms
Redirected to http://test.host/admin/products/53022e985735334961090000
Completed 302 Found in 5ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e9857353349610a0000'), "firstname"=>"Jackeline", "lastname"=>"Bradtke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4843ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2296ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e9857353349610b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3879ms
Redirected to http://test.host/admin/users/53022e9857353349610b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1616ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e9857353349610c0000'), "firstname"=>"Dovie", "lastname"=>"Mayert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3205ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2084ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53022e9857353349610c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e9857353349610c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4251ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e9857353349610c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3366ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1980ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e9857353349610d0000'), "firstname"=>"Dell", "lastname"=>"Rau"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2577ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53022e9857353349610d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e9857353349610d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3215ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 9ms (Views: 7.8ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e9857353349610e0000'), "firstname"=>"Violette", "lastname"=>"Gleason"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4813ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4118ms
Completed 200 OK in 8ms (Views: 7.0ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e9857353349610f0000'), "firstname"=>"Maverick", "lastname"=>"Harvey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3648ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.5ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e985735334961100000'), "firstname"=>"Lurline", "lastname"=>"Kerluke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4107ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53022e985735334961100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e985735334961100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2200ms
Completed 200 OK in 5ms (Views: 4.0ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e985735334961110000'), "firstname"=>"Moriah", "lastname"=>"Yundt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4345ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022e985735334961110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e985735334961110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53022e985735334961110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e985735334961120000'), "firstname"=>"Maude", "lastname"=>"Purdy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4472ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2586ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e985735334961130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4171ms
Redirected to http://test.host/admin/clients/53022e985735334961130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2281ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e985735334961140000'), "firstname"=>"Johnathon", "lastname"=>"Hansen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4419ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3322ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022e985735334961140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e985735334961140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4074ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e985735334961140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3428ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2153ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e985735334961150000'), "firstname"=>"Valentine", "lastname"=>"Durgan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2568ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022e985735334961150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e985735334961150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 10ms (Views: 8.7ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e985735334961160000'), "firstname"=>"Brandyn", "lastname"=>"Stoltenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4420ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3301ms
Completed 200 OK in 8ms (Views: 6.7ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e985735334961170000'), "firstname"=>"Jamir", "lastname"=>"Wunsch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4544ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e985735334961180000'), "firstname"=>"Hardy", "lastname"=>"O'Reilly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4380ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022e985735334961180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e985735334961180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2418ms
Completed 200 OK in 6ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e985735334961190000'), "firstname"=>"Moses", "lastname"=>"Hamill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3836ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022e985735334961190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e985735334961190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e985735334961190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms
Redirected to http://test.host/admin/clients/53022e985735334961190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e9857353349611a0000'), "firstname"=>"April", "lastname"=>"Mann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3542ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1539ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e9857353349611b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4931ms
Redirected to http://test.host/clients/53022e9857353349611b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1909ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e9857353349611c0000'), "firstname"=>"Grady", "lastname"=>"Labadie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3079ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1935ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022e9857353349611c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e9857353349611c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2249ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e9857353349611c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2379ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1632ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e9857353349611d0000'), "firstname"=>"Julius", "lastname"=>"Stehr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2547ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022e9857353349611d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e9857353349611d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e9857353349611e0000'), "firstname"=>"Eldon", "lastname"=>"Kemmer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3908ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4479ms
Completed 200 OK in 42ms (Views: 41.6ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e9857353349611f0000'), "firstname"=>"Aiyana", "lastname"=>"Volkman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4289ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e985735334961200000'), "firstname"=>"Natalie", "lastname"=>"Goodwin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4142ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022e985735334961200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e985735334961200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2731ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022e985735334961210000'), "firstname"=>"Barry", "lastname"=>"Gusikowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3380ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022e985735334961210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e985735334961210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2812ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022e985735334961210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4931ms
Redirected to http://test.host/clients/53022e985735334961210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e985735334961220000'), "name"=>"Noemy Quigley", "reference"=>"Ms. Rosalia Farrell", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4684ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1660ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e985735334961230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3665ms
Redirected to http://test.host/products/53022e985735334961230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1541ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e985735334961240000'), "name"=>"Katelin Hansen", "reference"=>"Jacinto Upton", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3553ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1723ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53022e985735334961240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e985735334961240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2779ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e985735334961240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2587ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1944ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e985735334961250000'), "name"=>"Kathryne Williamson", "reference"=>"Jovan Medhurst", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53022e985735334961250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e985735334961250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3201ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.9ms)
Completed 200 OK in 10ms (Views: 8.8ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e985735334961260000'), "name"=>"Mrs. Jaleel Klein", "reference"=>"Rosalyn Smith", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4030ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3939ms
Completed 200 OK in 11ms (Views: 10.1ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e985735334961270000'), "name"=>"Stone Hamill", "reference"=>"Nicola Schuster", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3575ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3226ms
Completed 200 OK in 2ms (Views: 0.8ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e985735334961280000'), "name"=>"Pete Wisozk", "reference"=>"Jason Gislason", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5104ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53022e985735334961280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e985735334961280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3387ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e985735334961290000'), "name"=>"Ken Toy", "reference"=>"Maymie Upton PhD", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 7ms (Views: 6.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e9857353349612b0000'), "name"=>"Dr. Demetrius Streich", "reference"=>"Dorian Macejkovic", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.6083ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53022e9857353349612b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e9857353349612b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3187ms
Completed 200 OK in 5ms (Views: 3.9ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e9857353349612c0000'), "name"=>"Mr. Maverick Labadie", "reference"=>"Seth Labadie III", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1629ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e9857353349612d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2878ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2082ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e9857353349612e0000'), "name"=>"Stacy Kilback", "reference"=>"Talia Rath", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2447ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53022e9857353349612e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e9857353349612e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2973ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e9857353349612e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2299ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e9857353349612f0000'), "name"=>"Erling Daniel", "reference"=>"Kenneth Grant", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2742ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
----------------------------------------------------
ProductsControllerTest: test_should_json_not_destroy
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e985735334961310000'), "name"=>"Tate Brakus MD", "reference"=>"Sherman Kreiger DVM", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3947ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53022e985735334961310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e985735334961310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3275ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e985735334961310000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2515ms
Completed 200 OK in 3ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e985735334961320000'), "name"=>"Obie Ondricka", "reference"=>"Marshall Watsica", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4158ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022e985735334961320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e985735334961320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3266ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e985735334961320000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms
Completed 202 Accepted in 4ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022e985735334961330000'), "name"=>"Dr. Margaret Dare", "reference"=>"Kathlyn Rogahn", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3408ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022e985735334961330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e985735334961330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3175ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022e985735334961330000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3057ms
Redirected to http://test.host/products/53022e985735334961330000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e985735334961340000'), "firstname"=>"Carmela", "lastname"=>"Kulas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5296ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3843ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e985735334961350000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms
Redirected to http://test.host/users/53022e985735334961350000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1934ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e985735334961360000'), "firstname"=>"Simeon", "lastname"=>"Wolf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3075ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1613ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53022e985735334961360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e985735334961360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3101ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e985735334961360000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9106ms
Redirected to http://test.host/users
Completed 302 Found in 5ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3322ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e985735334961370000'), "firstname"=>"Luz", "lastname"=>"Hahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4156ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53022e985735334961370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e985735334961370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3266ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 9ms (Views: 7.4ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e985735334961380000'), "firstname"=>"Sydnee", "lastname"=>"Becker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4546ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4095ms
Completed 200 OK in 11ms (Views: 10.3ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e985735334961390000'), "firstname"=>"Julie", "lastname"=>"Flatley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4000ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.2ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e9857353349613a0000'), "firstname"=>"Calista", "lastname"=>"VonRueden"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4751ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53022e9857353349613a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e9857353349613a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3239ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022e9857353349613b0000'), "firstname"=>"Joanne", "lastname"=>"Koepp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4251ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022e9857353349613b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022e9857353349613b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms
Unpermitted parameters: name
Redirected to http://test.host/users/53022e9857353349613b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6362ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3134ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2427ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2365ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ea5573533498d000000'), "name"=>"Ms. Sean Batz", "reference"=>"Keyshawn Bashirian", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4564ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1858ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ea5573533498d010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3895ms
Redirected to http://test.host/admin/products/53022ea5573533498d010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1994ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ea5573533498d020000'), "name"=>"Akeem Anderson", "reference"=>"Mavis Torphy", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1588ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53022ea5573533498d020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ea5573533498d020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3418ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ea5573533498d020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2246ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ea5573533498d030000'), "name"=>"Ceasar Heathcote", "reference"=>"Barbara Hermann", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3908ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53022ea5573533498d030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ea5573533498d030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2623ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.9ms)
Completed 200 OK in 56ms (Views: 54.3ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ea5573533498d040000'), "name"=>"Trisha Larson", "reference"=>"Verdie Morar", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4687ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3939ms
Completed 200 OK in 7ms (Views: 6.9ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ea5573533498d050000'), "name"=>"Daphnee Heller", "reference"=>"Jaycee Wisoky", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3559ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 20ms (Views: 6.0ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ea5573533498d080000'), "name"=>"Bella Skiles", "reference"=>"Miss Larissa Beatty", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4198ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53022ea5573533498d080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ea5573533498d080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2676ms
Completed 200 OK in 5ms (Views: 3.8ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ea5573533498d090000'), "name"=>"Stone Becker PhD", "reference"=>"Michale Murray IV", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4382ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022ea5573533498d090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ea5573533498d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ea5573533498d090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3279ms
Redirected to http://test.host/admin/products/53022ea5573533498d090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ea5573533498d0a0000'), "firstname"=>"Willow", "lastname"=>"Mante"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4196ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2036ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ea5573533498d0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3922ms
Redirected to http://test.host/admin/users/53022ea5573533498d0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2046ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ea5573533498d0c0000'), "firstname"=>"Sedrick", "lastname"=>"McLaughlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3097ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2047ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53022ea5573533498d0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ea5573533498d0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ea5573533498d0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2799ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1676ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ea5573533498d0d0000'), "firstname"=>"Charlene", "lastname"=>"Bailey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2412ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53022ea5573533498d0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ea5573533498d0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2384ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 9ms (Views: 7.9ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ea5573533498d0e0000'), "firstname"=>"Linwood", "lastname"=>"Effertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4453ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3886ms
Completed 200 OK in 7ms (Views: 6.7ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ea5573533498d0f0000'), "firstname"=>"Madaline", "lastname"=>"Braun"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0388ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 5.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ea5573533498d100000'), "firstname"=>"Arthur", "lastname"=>"White"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4588ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53022ea5573533498d100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ea5573533498d100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3181ms
Completed 200 OK in 5ms (Views: 3.8ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ea5573533498d110000'), "firstname"=>"Jamison", "lastname"=>"Kassulke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4474ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022ea5573533498d110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ea5573533498d110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3940ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53022ea5573533498d110000
Completed 302 Found in 4ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d120000'), "firstname"=>"Jamey", "lastname"=>"Vandervort"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4337ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1948ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4255ms
Redirected to http://test.host/admin/clients/53022ea6573533498d130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2357ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d140000'), "firstname"=>"Kathryne", "lastname"=>"Bogan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3626ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2156ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022ea6573533498d140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ea6573533498d140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4352ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ea6573533498d140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3637ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2362ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d150000'), "firstname"=>"Lambert", "lastname"=>"Grant"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2969ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022ea6573533498d150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ea6573533498d150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3068ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.8ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d160000'), "firstname"=>"Nova", "lastname"=>"Nicolas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4574ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3443ms
Completed 200 OK in 8ms (Views: 6.7ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d170000'), "firstname"=>"Theodore", "lastname"=>"Mayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4219ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 6.0ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d180000'), "firstname"=>"Carley", "lastname"=>"Marquardt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4063ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022ea6573533498d180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ea6573533498d180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3654ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d190000'), "firstname"=>"Lucy", "lastname"=>"Conn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3927ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022ea6573533498d190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ea6573533498d190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2645ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ea6573533498d190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3120ms
Redirected to http://test.host/admin/clients/53022ea6573533498d190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d1a0000'), "firstname"=>"Jermain", "lastname"=>"Hansen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2558ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1552ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4492ms
Redirected to http://test.host/clients/53022ea6573533498d1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2901ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d1c0000'), "firstname"=>"Kendrick", "lastname"=>"Little"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2344ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1722ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022ea6573533498d1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ea6573533498d1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3116ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ea6573533498d1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2661ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1607ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d1d0000'), "firstname"=>"Titus", "lastname"=>"Parker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2395ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022ea6573533498d1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ea6573533498d1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3293ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.3ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d1e0000'), "firstname"=>"Shane", "lastname"=>"Kub"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3587ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4102ms
Completed 200 OK in 41ms (Views: 40.3ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d1f0000'), "firstname"=>"Mavis", "lastname"=>"Ullrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3724ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d200000'), "firstname"=>"Katlyn", "lastname"=>"Bechtelar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022ea6573533498d200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ea6573533498d200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2415ms
Completed 200 OK in 4ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d210000'), "firstname"=>"Doug", "lastname"=>"Abernathy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3288ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022ea6573533498d210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ea6573533498d210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ea6573533498d210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2608ms
Redirected to http://test.host/clients/53022ea6573533498d210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d220000'), "name"=>"Kamren Wilkinson I", "reference"=>"America Stokes II", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4173ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2869ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms
Redirected to http://test.host/products/53022ea6573533498d230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1716ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d240000'), "name"=>"Ms. Verdie Daugherty", "reference"=>"Blair Rolfson", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3064ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1622ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53022ea6573533498d240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ea6573533498d240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2380ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ea6573533498d240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2422ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1644ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d250000'), "name"=>"Madeline Reilly", "reference"=>"Kole Schmidt", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2471ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53022ea6573533498d250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ea6573533498d250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2357ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 7.9ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d260000'), "name"=>"Branson Bernhard PhD", "reference"=>"Catalina Reynolds I", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3928ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4647ms
Completed 200 OK in 11ms (Views: 10.4ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d270000'), "name"=>"Caroline Nader III", "reference"=>"Donna Stamm", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3476ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3318ms
Completed 200 OK in 2ms (Views: 0.7ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d280000'), "name"=>"Jeanie Shanahan", "reference"=>"April Harber", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3732ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53022ea6573533498d280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ea6573533498d280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3428ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d290000'), "name"=>"Jeanne Dibbert III", "reference"=>"Walton Denesik", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3826ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 7ms (Views: 6.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d2b0000'), "name"=>"Cathrine Kautzer", "reference"=>"Ms. Arielle Bahringer", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3925ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53022ea6573533498d2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ea6573533498d2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2446ms
Completed 200 OK in 5ms (Views: 4.0ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d2c0000'), "name"=>"Mrs. Abigail Boyer", "reference"=>"Alfredo Ritchie", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4200ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1598ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d2d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3345ms
Completed 201 Created in 6ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2547ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d2e0000'), "name"=>"Hudson Veum", "reference"=>"Ms. Ila Strosin", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3840ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53022ea6573533498d2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ea6573533498d2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3052ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ea6573533498d2e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2693ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d2f0000'), "name"=>"Sofia Hahn", "reference"=>"Dave Ankunding", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3313ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
----------------------------------------------------
ProductsControllerTest: test_should_json_not_destroy
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d310000'), "name"=>"Alivia Dooley", "reference"=>"Kristina Luettgen", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4252ms
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d320000'), "name"=>"Elissa Heidenreich IV", "reference"=>"Cordelia Adams", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4349ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022ea6573533498d320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ea6573533498d320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3668ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ea6573533498d320000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3133ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d330000'), "name"=>"Derrick Maggio", "reference"=>"Jaron Cremin", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2891ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022ea6573533498d330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ea6573533498d330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2473ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ea6573533498d330000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2692ms
Redirected to http://test.host/products/53022ea6573533498d330000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d340000'), "firstname"=>"Consuelo", "lastname"=>"Thompson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4076ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2082ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d350000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3978ms
Redirected to http://test.host/users/53022ea6573533498d350000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3642ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d360000'), "firstname"=>"Gracie", "lastname"=>"Tromp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4662ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1709ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53022ea6573533498d360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ea6573533498d360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2410ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ea6573533498d360000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2430ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1869ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d370000'), "firstname"=>"Mellie", "lastname"=>"Schowalter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3541ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53022ea6573533498d370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ea6573533498d370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3198ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.6ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d380000'), "firstname"=>"Lula", "lastname"=>"Heaney"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4266ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3602ms
Completed 200 OK in 10ms (Views: 10.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d390000'), "firstname"=>"Dallin", "lastname"=>"Schiller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3996ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d3a0000'), "firstname"=>"Maxwell", "lastname"=>"Breitenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4391ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53022ea6573533498d3a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ea6573533498d3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2625ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ea6573533498d3b0000'), "firstname"=>"Antonina", "lastname"=>"Schuster"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4133ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022ea6573533498d3b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ea6573533498d3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2244ms
Unpermitted parameters: name
Redirected to http://test.host/users/53022ea6573533498d3b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6640ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3647ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2982ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3126ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9000000'), "name"=>"Michelle Lynch", "reference"=>"Ozella Greenfelder", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4731ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2106ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4114ms
Redirected to http://test.host/admin/products/53022ebb57353349b9010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1885ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9020000'), "name"=>"Levi Weber", "reference"=>"Myrtis Schroeder", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1947ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53022ebb57353349b9020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ebb57353349b9020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3402ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ebb57353349b9020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3633ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2334ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9030000'), "name"=>"Adaline Satterfield", "reference"=>"Adrian Eichmann", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2584ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53022ebb57353349b9030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ebb57353349b9030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3092ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.3ms)
Completed 200 OK in 56ms (Views: 54.6ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9040000'), "name"=>"Isadore Okuneva", "reference"=>"Naomie West IV", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4512ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms
Completed 200 OK in 8ms (Views: 7.1ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9050000'), "name"=>"Destinee Sawayn", "reference"=>"Arnaldo Kohler", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3928ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 21ms (Views: 6.1ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9080000'), "name"=>"Augustine Crooks IV", "reference"=>"Demetrius Wintheiser", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53022ebb57353349b9080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ebb57353349b9080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9090000'), "name"=>"Hester Purdy", "reference"=>"Monserrate Barrows", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4368ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022ebb57353349b9090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ebb57353349b9090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2384ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ebb57353349b9090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3513ms
Redirected to http://test.host/admin/products/53022ebb57353349b9090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b90a0000'), "firstname"=>"Tomasa", "lastname"=>"Hoeger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4499ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2514ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b90b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4280ms
Redirected to http://test.host/admin/users/53022ebb57353349b90b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2231ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b90c0000'), "firstname"=>"Harold", "lastname"=>"Schultz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3625ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2283ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53022ebb57353349b90c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ebb57353349b90c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2995ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ebb57353349b90c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3490ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1946ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b90d0000'), "firstname"=>"Raven", "lastname"=>"Gibson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2656ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53022ebb57353349b90d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ebb57353349b90d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2626ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 9ms (Views: 7.8ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b90e0000'), "firstname"=>"Ben", "lastname"=>"Douglas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3284ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3958ms
Completed 200 OK in 7ms (Views: 6.9ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b90f0000'), "firstname"=>"Wyman", "lastname"=>"Huels"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9100000'), "firstname"=>"Amos", "lastname"=>"Hauck"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4504ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53022ebb57353349b9100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ebb57353349b9100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3307ms
Completed 200 OK in 5ms (Views: 3.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9110000'), "firstname"=>"Christ", "lastname"=>"Bergnaum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3929ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022ebb57353349b9110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ebb57353349b9110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3204ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53022ebb57353349b9110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9120000'), "firstname"=>"Tyshawn", "lastname"=>"Metz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1637ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4094ms
Redirected to http://test.host/admin/clients/53022ebb57353349b9130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3199ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9140000'), "firstname"=>"Eda", "lastname"=>"Breitenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4081ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1787ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022ebb57353349b9140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ebb57353349b9140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ebb57353349b9140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2824ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2197ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9150000'), "firstname"=>"Porter", "lastname"=>"Konopelski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2722ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022ebb57353349b9150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ebb57353349b9150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2696ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 10ms (Views: 8.9ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9160000'), "firstname"=>"Alvis", "lastname"=>"Mosciski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4614ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3313ms
Completed 200 OK in 8ms (Views: 6.8ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9170000'), "firstname"=>"Ross", "lastname"=>"Frami"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4212ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9180000'), "firstname"=>"Sibyl", "lastname"=>"Corkery"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022ebb57353349b9180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ebb57353349b9180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms
Completed 200 OK in 5ms (Views: 4.0ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9190000'), "firstname"=>"Reid", "lastname"=>"Kozey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3870ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022ebb57353349b9190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ebb57353349b9190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3534ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ebb57353349b9190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4647ms
Redirected to http://test.host/admin/clients/53022ebb57353349b9190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b91a0000'), "firstname"=>"Naomie", "lastname"=>"Sauer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2794ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1835ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b91b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3331ms
Redirected to http://test.host/clients/53022ebb57353349b91b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1803ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b91c0000'), "firstname"=>"Corbin", "lastname"=>"Bechtelar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2245ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1520ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022ebb57353349b91c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ebb57353349b91c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2257ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ebb57353349b91c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2355ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1599ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b91d0000'), "firstname"=>"Edwardo", "lastname"=>"Jerde"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3637ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022ebb57353349b91d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ebb57353349b91d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3399ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 7ms (Views: 5.8ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b91e0000'), "firstname"=>"Lesly", "lastname"=>"Ruecker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4232ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4297ms
Completed 200 OK in 41ms (Views: 40.5ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b91f0000'), "firstname"=>"Arely", "lastname"=>"Tremblay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4137ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9200000'), "firstname"=>"Wava", "lastname"=>"Quitzon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4044ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022ebb57353349b9200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ebb57353349b9200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3555ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9210000'), "firstname"=>"Sidney", "lastname"=>"Hauck"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3588ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022ebb57353349b9210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ebb57353349b9210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2637ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ebb57353349b9210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2883ms
Redirected to http://test.host/clients/53022ebb57353349b9210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9220000'), "name"=>"Rudolph Murazik", "reference"=>"Miss Leif Smith", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5155ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2417ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3467ms
Redirected to http://test.host/products/53022ebb57353349b9230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1675ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9240000'), "name"=>"Ruthie Dickinson", "reference"=>"Mr. Domenick Satterfield", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3286ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1663ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53022ebb57353349b9240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ebb57353349b9240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2976ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ebb57353349b9240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2547ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1899ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9250000'), "name"=>"Lenore Glover", "reference"=>"Carli Kuhic DVM", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3112ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53022ebb57353349b9250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ebb57353349b9250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2467ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9260000'), "name"=>"Brad Hickle PhD", "reference"=>"Mrs. Jaron Predovic", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4626ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4204ms
Completed 200 OK in 11ms (Views: 10.6ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9270000'), "name"=>"Mayra Murray III", "reference"=>"Malcolm Tremblay", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3661ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3483ms
Completed 200 OK in 3ms (Views: 0.9ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9280000'), "name"=>"Gladyce Kovacek", "reference"=>"Ms. Kristian Hirthe", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53022ebb57353349b9280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ebb57353349b9280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3043ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9290000'), "name"=>"Skyla Dickens", "reference"=>"Coralie Frami", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3307ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 8ms (Views: 6.5ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b92b0000'), "name"=>"Rasheed Jakubowski", "reference"=>"Jeramy Reynolds", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8368ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53022ebb57353349b92b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ebb57353349b92b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2901ms
Completed 200 OK in 5ms (Views: 3.5ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b92c0000'), "name"=>"Mozell Ferry", "reference"=>"Hertha Beier", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3887ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2604ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b92d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4464ms
Completed 201 Created in 3ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1954ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b92e0000'), "name"=>"Kailey Mann", "reference"=>"Bella Yundt", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2872ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53022ebb57353349b92e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ebb57353349b92e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2919ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ebb57353349b92e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2642ms
Completed 200 OK in 2ms (Views: 0.2ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b92f0000'), "name"=>"Letitia McClure", "reference"=>"Thaddeus Braun", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3275ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
----------------------------------------------------
ProductsControllerTest: test_should_json_not_destroy
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9310000'), "name"=>"Maureen Gerhold", "reference"=>"Don Lindgren", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4188ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"3735928559"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>"3735928559"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3423ms
Completed 404 Not Found in 4ms
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9320000'), "name"=>"Tanner Vandervort IV", "reference"=>"Dr. Tyrese Bode", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3842ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022ebb57353349b9320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ebb57353349b9320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ebb57353349b9320000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3094ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9330000'), "name"=>"Aliya Pfeffer MD", "reference"=>"Dr. Brittany Wolff", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2823ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022ebb57353349b9330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ebb57353349b9330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3287ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ebb57353349b9330000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3113ms
Redirected to http://test.host/products/53022ebb57353349b9330000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9340000'), "firstname"=>"Lexie", "lastname"=>"Hammes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4336ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2173ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9350000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3351ms
Redirected to http://test.host/users/53022ebb57353349b9350000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1752ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9360000'), "firstname"=>"Alvera", "lastname"=>"Senger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3918ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2269ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53022ebb57353349b9360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ebb57353349b9360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4439ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ebb57353349b9360000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3152ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2144ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9370000'), "firstname"=>"Jameson", "lastname"=>"Hane"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2717ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53022ebb57353349b9370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ebb57353349b9370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2926ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 9ms (Views: 7.1ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9380000'), "firstname"=>"Alexie", "lastname"=>"Kunze"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5547ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3875ms
Completed 200 OK in 11ms (Views: 10.1ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b9390000'), "firstname"=>"Wilfredo", "lastname"=>"Connelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4031ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b93a0000'), "firstname"=>"Arely", "lastname"=>"Schmidt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4102ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53022ebb57353349b93a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ebb57353349b93a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3049ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ebb57353349b93b0000'), "firstname"=>"Helene", "lastname"=>"Vandervort"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4895ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022ebb57353349b93b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ebb57353349b93b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2817ms
Unpermitted parameters: name
Redirected to http://test.host/users/53022ebb57353349b93b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6232ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3088ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3573ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2465ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3015ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4000000'), "name"=>"Khalid Emmerich", "reference"=>"Lue Bashirian V", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4365ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1650ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1738ms
Redirected to http://test.host/admin/products/53022ed257353349e4010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2128ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4020000'), "name"=>"Jose Moen", "reference"=>"Prince Dooley PhD", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3588ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1856ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53022ed257353349e4020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ed257353349e4020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2374ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ed257353349e4020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3104ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1897ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4030000'), "name"=>"Juliet Wilkinson", "reference"=>"Randi Kilback", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2584ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53022ed257353349e4030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ed257353349e4030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.7ms)
Completed 200 OK in 56ms (Views: 54.6ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4040000'), "name"=>"Jakayla Smith", "reference"=>"Korey Renner", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4541ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms
Completed 200 OK in 7ms (Views: 7.0ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4050000'), "name"=>"Hermina Cremin", "reference"=>"Damien Kuhn Sr.", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3530ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 21ms (Views: 6.5ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4080000'), "name"=>"Gilberto Bradtke", "reference"=>"Miss Queen Hartmann", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.3331ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53022ed257353349e4080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ed257353349e4080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3139ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4090000'), "name"=>"Adela Ratke", "reference"=>"Mr. Heaven Sanford", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4035ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022ed257353349e4090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ed257353349e4090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2984ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ed257353349e4090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3325ms
Redirected to http://test.host/admin/products/53022ed257353349e4090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ed257353349e40a0000'), "firstname"=>"Jay", "lastname"=>"Smitham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4402ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1805ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ed257353349e40b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5351ms
Redirected to http://test.host/admin/users/53022ed257353349e40b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2427ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ed257353349e40c0000'), "firstname"=>"Alaina", "lastname"=>"Bayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5158ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2443ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53022ed257353349e40c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ed257353349e40c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2818ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ed257353349e40c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1792ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ed257353349e40d0000'), "firstname"=>"Evert", "lastname"=>"Connelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2529ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53022ed257353349e40d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ed257353349e40d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2541ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.4ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ed257353349e40e0000'), "firstname"=>"Kenyatta", "lastname"=>"Turcotte"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4511ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3536ms
Completed 200 OK in 7ms (Views: 6.4ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ed257353349e40f0000'), "firstname"=>"Kenton", "lastname"=>"Walter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.6ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4100000'), "firstname"=>"Anika", "lastname"=>"McClure"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4454ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53022ed257353349e4100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ed257353349e4100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4110000'), "firstname"=>"German", "lastname"=>"Kling"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4237ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022ed257353349e4110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ed257353349e4110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3602ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53022ed257353349e4110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4120000'), "firstname"=>"Grace", "lastname"=>"Hills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4679ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1847ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3868ms
Redirected to http://test.host/admin/clients/53022ed257353349e4130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1963ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4140000'), "firstname"=>"Harmon", "lastname"=>"Huels"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3101ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1780ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022ed257353349e4140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ed257353349e4140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2994ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ed257353349e4140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3202ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2686ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4150000'), "firstname"=>"Olga", "lastname"=>"Considine"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2743ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022ed257353349e4150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ed257353349e4150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3592ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.6ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4160000'), "firstname"=>"Robin", "lastname"=>"Prosacco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4096ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4226ms
Completed 200 OK in 9ms (Views: 7.5ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4170000'), "firstname"=>"Evelyn", "lastname"=>"Tromp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4457ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 5.8ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4180000'), "firstname"=>"Alejandrin", "lastname"=>"Nolan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4273ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022ed257353349e4180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ed257353349e4180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2263ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4190000'), "firstname"=>"Anabelle", "lastname"=>"Bauch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3914ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022ed257353349e4190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ed257353349e4190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ed257353349e4190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3309ms
Redirected to http://test.host/admin/clients/53022ed257353349e4190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ed257353349e41a0000'), "firstname"=>"Amya", "lastname"=>"Greenfelder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2931ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1800ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ed257353349e41b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms
Redirected to http://test.host/clients/53022ed257353349e41b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1970ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ed257353349e41c0000'), "firstname"=>"Larissa", "lastname"=>"Hagenes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2278ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1311ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022ed257353349e41c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ed257353349e41c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2887ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ed257353349e41c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2647ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1742ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ed257353349e41d0000'), "firstname"=>"Isidro", "lastname"=>"Pfeffer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4191ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022ed257353349e41d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ed257353349e41d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2768ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 5.3ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ed257353349e41e0000'), "firstname"=>"Marguerite", "lastname"=>"Rath"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3660ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5315ms
Completed 200 OK in 42ms (Views: 41.3ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ed257353349e41f0000'), "firstname"=>"Karl", "lastname"=>"Cassin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3862ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4200000'), "firstname"=>"Cary", "lastname"=>"Schinner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4203ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022ed257353349e4200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ed257353349e4200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2747ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4210000'), "firstname"=>"Orrin", "lastname"=>"Crooks"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3649ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022ed257353349e4210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ed257353349e4210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2583ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ed257353349e4210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3016ms
Redirected to http://test.host/clients/53022ed257353349e4210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4220000'), "name"=>"Christ Bogisich", "reference"=>"Tanya Mann", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3975ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1571ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4431ms
Redirected to http://test.host/products/53022ed257353349e4230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3181ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4240000'), "name"=>"Kaitlin McClure", "reference"=>"Delia Waters", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4043ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1826ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53022ed257353349e4240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ed257353349e4240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2369ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ed257353349e4240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2511ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1903ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4250000'), "name"=>"Kirk Wilderman", "reference"=>"Walter Yundt", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1473ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53022ed257353349e4250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ed257353349e4250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 10ms (Views: 8.4ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4260000'), "name"=>"Aida Schimmel", "reference"=>"Estella Lehner", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4005ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4221ms
Completed 200 OK in 11ms (Views: 10.6ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4270000'), "name"=>"Merl Kling", "reference"=>"Uriah Sauer PhD", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3863ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3467ms
Completed 200 OK in 3ms (Views: 0.7ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4280000'), "name"=>"Tillman Barrows", "reference"=>"Dr. Shayna Kunze", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3431ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53022ed257353349e4280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ed257353349e4280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4290000'), "name"=>"Connor Feest", "reference"=>"Francisco Kulas", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3385ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 7ms (Views: 6.3ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ed257353349e42b0000'), "name"=>"Dr. Crystel Schaden", "reference"=>"Denis Trantow", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4389ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53022ed257353349e42b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ed257353349e42b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3975ms
Completed 200 OK in 6ms (Views: 3.8ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ed257353349e42c0000'), "name"=>"Frank Hamill", "reference"=>"Evert Kuhlman", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4236ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1665ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ed257353349e42d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1748ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ed257353349e42e0000'), "name"=>"Mr. Cheyenne Ryan", "reference"=>"Myrtle Sporer DDS", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2443ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53022ed257353349e42e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ed257353349e42e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2861ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ed257353349e42e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2469ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ed257353349e42f0000'), "name"=>"Alexane Farrell", "reference"=>"Nasir Macejkovic", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2594ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4310000'), "name"=>"Rachel Hermiston", "reference"=>"Estefania Aufderhar", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4766ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022ed257353349e4310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ed257353349e4310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3189ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ed257353349e4310000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3040ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4320000'), "name"=>"Valentin Wilderman", "reference"=>"Alberto Champlin", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022ed257353349e4320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ed257353349e4320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2870ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ed257353349e4320000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2734ms
Redirected to http://test.host/products/53022ed257353349e4320000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4330000'), "firstname"=>"Janiya", "lastname"=>"Dare"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4589ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2114ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4340000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4523ms
Redirected to http://test.host/users/53022ed257353349e4340000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3414ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4350000'), "firstname"=>"John", "lastname"=>"Carroll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4052ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1850ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53022ed257353349e4350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ed257353349e4350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2896ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ed257353349e4350000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3011ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2044ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4360000'), "firstname"=>"Flavie", "lastname"=>"Ullrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2620ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53022ed257353349e4360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ed257353349e4360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2944ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4370000'), "firstname"=>"Kaitlin", "lastname"=>"Fay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4420ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3751ms
Completed 200 OK in 10ms (Views: 9.9ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4380000'), "firstname"=>"Jonathon", "lastname"=>"D'Amore"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3731ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ed257353349e4390000'), "firstname"=>"Sheila", "lastname"=>"Von"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53022ed257353349e4390000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ed257353349e4390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3102ms
Completed 200 OK in 5ms (Views: 3.8ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ed257353349e43a0000'), "firstname"=>"Richie", "lastname"=>"Schmitt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4332ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022ed257353349e43a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ed257353349e43a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2758ms
Unpermitted parameters: name
Redirected to http://test.host/users/53022ed257353349e43a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6652ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2996ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3401ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2669ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2897ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12000000'), "name"=>"Ms. Jovan Goodwin", "reference"=>"Estella Kerluke", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4503ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1822ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4140ms
Redirected to http://test.host/admin/products/53022ee35735334a12010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2819ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12020000'), "name"=>"Jan Gorczany", "reference"=>"Mr. Kelsie Kuhn", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4152ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1930ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53022ee35735334a12020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ee35735334a12020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3079ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ee35735334a12020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3436ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2649ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12030000'), "name"=>"Evalyn Simonis", "reference"=>"Columbus Schiller DVM", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3299ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53022ee35735334a12030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ee35735334a12030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3120ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.9ms)
Completed 200 OK in 56ms (Views: 54.5ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12040000'), "name"=>"Arvilla Cronin", "reference"=>"Aniya Hermann DDS", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4285ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3802ms
Completed 200 OK in 8ms (Views: 7.7ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12050000'), "name"=>"Josefina Dach", "reference"=>"Ms. Royce Beahan", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3736ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 21ms (Views: 6.1ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12080000'), "name"=>"Brooklyn Wehner MD", "reference"=>"Sim Kirlin", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4370ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53022ee35735334a12080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ee35735334a12080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2360ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12090000'), "name"=>"Christop Runte", "reference"=>"Karine Welch", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4022ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022ee35735334a12090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ee35735334a12090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2414ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ee35735334a12090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3076ms
Redirected to http://test.host/admin/products/53022ee35735334a12090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ee35735334a120a0000'), "firstname"=>"Mazie", "lastname"=>"Hahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4591ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1657ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ee35735334a120b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4015ms
Redirected to http://test.host/admin/users/53022ee35735334a120b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2535ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ee35735334a120c0000'), "firstname"=>"Jayce", "lastname"=>"Crist"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3365ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1600ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53022ee35735334a120c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ee35735334a120c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ee35735334a120c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2774ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1651ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ee35735334a120d0000'), "firstname"=>"Elliot", "lastname"=>"Muller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2297ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53022ee35735334a120d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ee35735334a120d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2275ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 9ms (Views: 7.9ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ee35735334a120e0000'), "firstname"=>"Fletcher", "lastname"=>"Bogisich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4055ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3341ms
Completed 200 OK in 7ms (Views: 6.6ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ee35735334a120f0000'), "firstname"=>"Beth", "lastname"=>"Gottlieb"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4265ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12100000'), "firstname"=>"Golden", "lastname"=>"Pfannerstill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7010ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53022ee35735334a12100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ee35735334a12100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms
Completed 200 OK in 5ms (Views: 3.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12110000'), "firstname"=>"Desmond", "lastname"=>"Dibbert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4312ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022ee35735334a12110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ee35735334a12110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3497ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53022ee35735334a12110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12120000'), "firstname"=>"Emma", "lastname"=>"Farrell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4430ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1856ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms
Redirected to http://test.host/admin/clients/53022ee35735334a12130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2641ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12140000'), "firstname"=>"Lew", "lastname"=>"Russel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3770ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2262ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022ee35735334a12140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ee35735334a12140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2983ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ee35735334a12140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3010ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3773ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12150000'), "firstname"=>"Roberto", "lastname"=>"Emard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022ee35735334a12150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ee35735334a12150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2785ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12160000'), "firstname"=>"Lorenza", "lastname"=>"Larkin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4463ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3231ms
Completed 200 OK in 8ms (Views: 6.5ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12170000'), "firstname"=>"Juana", "lastname"=>"Hamill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.8ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12180000'), "firstname"=>"Pauline", "lastname"=>"Jenkins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4312ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022ee35735334a12180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ee35735334a12180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2551ms
Completed 200 OK in 6ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12190000'), "firstname"=>"Judy", "lastname"=>"Glover"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3945ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022ee35735334a12190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ee35735334a12190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3211ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ee35735334a12190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2996ms
Redirected to http://test.host/admin/clients/53022ee35735334a12190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ee35735334a121a0000'), "firstname"=>"Luna", "lastname"=>"Feil"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4422ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2780ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ee35735334a121b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3849ms
Redirected to http://test.host/clients/53022ee35735334a121b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2101ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ee35735334a121c0000'), "firstname"=>"Breanne", "lastname"=>"Kohler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2977ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1820ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53022ee35735334a121c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ee35735334a121c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2926ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ee35735334a121c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3011ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2174ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ee35735334a121d0000'), "firstname"=>"Hipolito", "lastname"=>"Wehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2337ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53022ee35735334a121d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ee35735334a121d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2315ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ee35735334a121e0000'), "firstname"=>"Bethany", "lastname"=>"Nader"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3667ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4542ms
Completed 200 OK in 42ms (Views: 41.2ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ee35735334a121f0000'), "firstname"=>"Jaylan", "lastname"=>"Lehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4907ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12200000'), "firstname"=>"Mabel", "lastname"=>"Gottlieb"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4338ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53022ee35735334a12200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ee35735334a12200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2839ms
Completed 200 OK in 5ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12210000'), "firstname"=>"Maddison", "lastname"=>"Kuhn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3500ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53022ee35735334a12210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ee35735334a12210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2570ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53022ee35735334a12210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3201ms
Redirected to http://test.host/clients/53022ee35735334a12210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12220000'), "name"=>"Velma Wolff", "reference"=>"Mr. Lavinia Grant", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4346ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2810ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4197ms
Redirected to http://test.host/products/53022ee35735334a12230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1749ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12240000'), "name"=>"Arely Gibson I", "reference"=>"Jeff Ratke", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3276ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1560ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53022ee35735334a12240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ee35735334a12240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2558ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ee35735334a12240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2390ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1600ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12250000'), "name"=>"Eldridge Emmerich V", "reference"=>"Mrs. King Ortiz", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2767ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53022ee35735334a12250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ee35735334a12250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2629ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.3ms)
Completed 200 OK in 10ms (Views: 9.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12260000'), "name"=>"Jeanie Bergnaum", "reference"=>"Miss Blanca King", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4556ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3891ms
Completed 200 OK in 11ms (Views: 10.2ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12270000'), "name"=>"Ms. Coralie Schuppe", "reference"=>"Walker Turner II", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3704ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3644ms
Completed 200 OK in 3ms (Views: 0.8ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12280000'), "name"=>"Dr. Leonel Daniel", "reference"=>"Jaqueline Hoeger", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3522ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53022ee35735334a12280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ee35735334a12280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3162ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12290000'), "name"=>"Mr. Matteo Koepp", "reference"=>"Andrew Jacobs", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2853ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 8ms (Views: 6.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ee35735334a122b0000'), "name"=>"Sean Mann MD", "reference"=>"Milo Hauck", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4658ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53022ee35735334a122b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ee35735334a122b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3225ms
Completed 200 OK in 5ms (Views: 3.7ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ee35735334a122c0000'), "name"=>"Gregg Buckridge", "reference"=>"Chad Hodkiewicz IV", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4313ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1676ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ee35735334a122d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3679ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4005ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ee35735334a122e0000'), "name"=>"Leann Schuster", "reference"=>"Eusebio Treutel", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.5346ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53022ee35735334a122e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ee35735334a122e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3594ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ee35735334a122e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3029ms
Completed 200 OK in 3ms (Views: 0.2ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ee35735334a122f0000'), "name"=>"Zander Daugherty", "reference"=>"Katlyn Gaylord", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12310000'), "name"=>"Elody Parker", "reference"=>"Braeden Strosin", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4300ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022ee35735334a12310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ee35735334a12310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3078ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ee35735334a12310000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3433ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12320000'), "name"=>"Jacky Kertzmann Sr.", "reference"=>"Myrtie West", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3330ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53022ee35735334a12320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ee35735334a12320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4573ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53022ee35735334a12320000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4333ms
Redirected to http://test.host/products/53022ee35735334a12320000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12330000'), "firstname"=>"Modesto", "lastname"=>"Homenick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4653ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2428ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12340000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4297ms
Redirected to http://test.host/users/53022ee35735334a12340000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3516ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12350000'), "firstname"=>"Reese", "lastname"=>"Thiel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4917ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2408ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53022ee35735334a12350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ee35735334a12350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2907ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ee35735334a12350000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2659ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1967ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12360000'), "firstname"=>"Ona", "lastname"=>"Pouros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2582ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53022ee35735334a12360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ee35735334a12360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2722ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.7ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12370000'), "firstname"=>"Lou", "lastname"=>"Bins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4681ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3941ms
Completed 200 OK in 11ms (Views: 10.3ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12380000'), "firstname"=>"Al", "lastname"=>"Gleichner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.0780ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ee35735334a12390000'), "firstname"=>"Hilma", "lastname"=>"Thompson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4787ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53022ee35735334a12390000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ee35735334a12390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3936ms
Completed 200 OK in 6ms (Views: 3.8ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53022ee35735334a123a0000'), "firstname"=>"Imelda", "lastname"=>"Rutherford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4093ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53022ee35735334a123a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53022ee35735334a123a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2329ms
Unpermitted parameters: name
Redirected to http://test.host/users/53022ee35735334a123a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6644ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 3.1647ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4248ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2742ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2724ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530285d65735331903000000'), "name"=>"Axel Hauck", "reference"=>"Clark Fadel", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4529ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1785ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530285d65735331903010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms
Redirected to http://test.host/admin/products/530285d65735331903010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2404ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530285d65735331903020000'), "name"=>"Scot Collins", "reference"=>"Rosalyn Haag", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3599ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2193ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"530285d65735331903020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530285d65735331903020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2909ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530285d65735331903020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3491ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2304ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530285d65735331903030000'), "name"=>"Kaleb Purdy", "reference"=>"Krystel Konopelski", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2985ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"530285d65735331903030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530285d65735331903030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2956ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (55.5ms)
Completed 200 OK in 229ms (Views: 227.9ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530285d65735331903040000'), "name"=>"Jayson Torp", "reference"=>"Dr. Marlen Stroman", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4201ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3236ms
Completed 200 OK in 7ms (Views: 6.7ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530285d65735331903050000'), "name"=>"Sonny Keeling V", "reference"=>"Mrs. Felicity Kilback", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 21ms (Views: 6.3ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530285d65735331903080000'), "name"=>"Alfonso Schaden", "reference"=>"Alvina Hodkiewicz", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4143ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"530285d65735331903080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530285d65735331903080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2356ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530285d65735331903090000'), "name"=>"Terence Kshlerin", "reference"=>"Linnea Treutel", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4313ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530285d65735331903090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530285d65735331903090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2781ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530285d65735331903090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3345ms
Redirected to http://test.host/admin/products/530285d65735331903090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530285d657353319030a0000'), "firstname"=>"Hobart", "lastname"=>"Kozey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4219ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2173ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530285d657353319030b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4964ms
Redirected to http://test.host/admin/users/530285d657353319030b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2338ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530285d657353319030c0000'), "firstname"=>"Ashtyn", "lastname"=>"Bins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3652ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2175ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"530285d657353319030c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530285d657353319030c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2873ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530285d657353319030c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3412ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1871ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530285d657353319030d0000'), "firstname"=>"Rod", "lastname"=>"Goyette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2418ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"530285d657353319030d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530285d657353319030d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2416ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530285d657353319030e0000'), "firstname"=>"Alysa", "lastname"=>"Collins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4495ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms
Completed 200 OK in 7ms (Views: 6.6ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530285d657353319030f0000'), "firstname"=>"Vickie", "lastname"=>"Greenfelder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3965ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530285d65735331903100000'), "firstname"=>"Porter", "lastname"=>"Hilll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4156ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"530285d65735331903100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530285d65735331903100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms
Completed 200 OK in 5ms (Views: 3.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530285d65735331903110000'), "firstname"=>"Emerson", "lastname"=>"Bode"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3790ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530285d65735331903110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530285d65735331903110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3481ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/530285d65735331903110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530285d65735331903120000'), "firstname"=>"Abbie", "lastname"=>"Medhurst"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4526ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1818ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530285d65735331903130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3695ms
Redirected to http://test.host/admin/clients/530285d65735331903130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2155ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530285d65735331903140000'), "firstname"=>"Marie", "lastname"=>"Johnson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1731ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530285d65735331903140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530285d65735331903140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530285d65735331903140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2346ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530285d65735331903150000'), "firstname"=>"Kara", "lastname"=>"Bradtke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2865ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530285d65735331903150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530285d65735331903150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2921ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 10ms (Views: 9.1ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530285d65735331903160000'), "firstname"=>"Missouri", "lastname"=>"Connelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3436ms
Completed 200 OK in 20ms (Views: 18.9ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530285d65735331903170000'), "firstname"=>"Bridie", "lastname"=>"Rath"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 10.4525ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530285d65735331903180000'), "firstname"=>"Macy", "lastname"=>"Quigley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4097ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530285d65735331903180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530285d65735331903180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530285d65735331903190000'), "firstname"=>"Patrick", "lastname"=>"Keeling"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4904ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530285d65735331903190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530285d65735331903190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530285d65735331903190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3278ms
Redirected to http://test.host/admin/clients/530285d65735331903190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530285d657353319031a0000'), "firstname"=>"Syble", "lastname"=>"Daniel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2409ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1458ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530285d657353319031b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3021ms
Redirected to http://test.host/clients/530285d657353319031b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2316ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530285d657353319031c0000'), "firstname"=>"Carleton", "lastname"=>"Glover"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3108ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2168ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530285d657353319031c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530285d657353319031c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2796ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530285d657353319031c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1843ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530285d657353319031d0000'), "firstname"=>"Brendan", "lastname"=>"Bauch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2462ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530285d657353319031d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530285d657353319031d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530285d657353319031e0000'), "firstname"=>"Corene", "lastname"=>"Lubowitz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3723ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4187ms
Completed 200 OK in 41ms (Views: 40.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530285d657353319031f0000'), "firstname"=>"Filiberto", "lastname"=>"Quitzon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3767ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.6ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530285d65735331903200000'), "firstname"=>"Kenton", "lastname"=>"Homenick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4047ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530285d65735331903200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530285d65735331903200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2638ms
Completed 200 OK in 4ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530285d65735331903210000'), "firstname"=>"Kellie", "lastname"=>"Heaney"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9248ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530285d65735331903210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530285d65735331903210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2681ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530285d65735331903210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2782ms
Redirected to http://test.host/clients/530285d65735331903210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530285d65735331903220000'), "name"=>"Horace Lubowitz", "reference"=>"Belle Towne", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4554ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2237ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530285d65735331903230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4232ms
Redirected to http://test.host/products/530285d65735331903230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1929ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530285d65735331903240000'), "name"=>"Cortez Kling", "reference"=>"Mariana Kunze", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3111ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1750ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"530285d65735331903240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530285d65735331903240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530285d65735331903240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2549ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1795ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530285d65735331903250000'), "name"=>"Annamarie Kilback", "reference"=>"Frederic Goodwin", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2422ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"530285d65735331903250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530285d65735331903250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2460ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530285d65735331903260000'), "name"=>"Reta Douglas", "reference"=>"Ernie Frami", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4047ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4607ms
Completed 200 OK in 11ms (Views: 10.4ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530285d65735331903270000'), "name"=>"Lacy Dach MD", "reference"=>"Ernesto Paucek I", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3728ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3519ms
Completed 200 OK in 2ms (Views: 0.7ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530285d65735331903280000'), "name"=>"Mr. Lane Hoppe", "reference"=>"Justina Brekke IV", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3076ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"530285d65735331903280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530285d65735331903280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530285d65735331903290000'), "name"=>"Annamarie Lakin", "reference"=>"Brad Feil", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2870ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.0ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530285d657353319032b0000'), "name"=>"Mya Deckow", "reference"=>"Patsy Borer", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4593ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"530285d657353319032b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530285d657353319032b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3445ms
Completed 200 OK in 5ms (Views: 3.5ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530285d657353319032c0000'), "name"=>"Retta Parker", "reference"=>"Devin Simonis", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1762ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530285d657353319032d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3135ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1841ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530285d657353319032e0000'), "name"=>"Dr. Jadon Bruen", "reference"=>"Hiram Windler", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2378ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"530285d657353319032e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530285d657353319032e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2532ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530285d657353319032e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2509ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530285d657353319032f0000'), "name"=>"Aiden Jakubowski", "reference"=>"Jayce Wiegand", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2628ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530285d65735331903310000'), "name"=>"Terrell Rogahn DVM", "reference"=>"Cathy Dickinson", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530285d65735331903310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530285d65735331903310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2808ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530285d65735331903310000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2943ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530285d65735331903320000'), "name"=>"Hester Hyatt", "reference"=>"Anastasia Hartmann", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3616ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530285d65735331903320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530285d65735331903320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3541ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530285d65735331903320000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms
Redirected to http://test.host/products/530285d65735331903320000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530285d65735331903330000'), "firstname"=>"Laurence", "lastname"=>"Pfannerstill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4444ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1834ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530285d65735331903340000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3377ms
Redirected to http://test.host/users/530285d65735331903340000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1991ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530285d65735331903350000'), "firstname"=>"Prince", "lastname"=>"Dicki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3093ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1761ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"530285d65735331903350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530285d65735331903350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530285d65735331903350000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2594ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2092ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530285d65735331903360000'), "firstname"=>"Christelle", "lastname"=>"Schamberger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2438ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"530285d65735331903360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530285d65735331903360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.7ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530285d75735331903370000'), "firstname"=>"Davin", "lastname"=>"Padberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4153ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3577ms
Completed 200 OK in 10ms (Views: 9.6ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530285d75735331903380000'), "firstname"=>"Ian", "lastname"=>"Senger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3515ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530285d75735331903390000'), "firstname"=>"Judy", "lastname"=>"Hoeger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"530285d75735331903390000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530285d75735331903390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3606ms
Completed 200 OK in 5ms (Views: 3.9ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530285d757353319033a0000'), "firstname"=>"Herminia", "lastname"=>"Effertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4172ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530285d757353319033a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530285d757353319033a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms
Unpermitted parameters: name
Redirected to http://test.host/users/530285d757353319033a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6109ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3515ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3422ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3494ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302899c5735331a68000000'), "name"=>"Ewell Wisozk", "reference"=>"Federico Boyer", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4544ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1774ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302899c5735331a68010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3811ms
Redirected to http://test.host/admin/products/5302899c5735331a68010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1932ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302899c5735331a68020000'), "name"=>"Krystal Gaylord", "reference"=>"Dr. Laurine Gerlach", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3217ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2178ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5302899c5735331a68020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5302899c5735331a68020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5302899c5735331a68020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3463ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2336ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302899c5735331a68030000'), "name"=>"Francisca Runolfsson", "reference"=>"Rahsaan Conn", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2998ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5302899c5735331a68030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5302899c5735331a68030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2953ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 200 OK in 54ms (Views: 52.6ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302899c5735331a68040000'), "name"=>"Trevion Gorczany", "reference"=>"Hertha Stanton", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4468ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3344ms
Completed 200 OK in 7ms (Views: 6.6ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302899c5735331a68050000'), "name"=>"Ramona Langosh Sr.", "reference"=>"Lourdes Tillman I", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 20ms (Views: 6.3ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302899c5735331a68080000'), "name"=>"Adrian Altenwerth PhD", "reference"=>"Lina Olson", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5302899c5735331a68080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5302899c5735331a68080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302899c5735331a68090000'), "name"=>"Shyanne Jaskolski PhD", "reference"=>"Mr. Chad O'Keefe", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3940ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5302899c5735331a68090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5302899c5735331a68090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2678ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5302899c5735331a68090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms
Redirected to http://test.host/admin/products/5302899c5735331a68090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302899c5735331a680a0000'), "firstname"=>"Keshawn", "lastname"=>"Roob"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3999ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1770ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302899c5735331a680b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4451ms
Redirected to http://test.host/admin/users/5302899c5735331a680b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3082ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302899c5735331a680c0000'), "firstname"=>"Lennie", "lastname"=>"Jacobs"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3299ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2283ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5302899c5735331a680c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5302899c5735331a680c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2776ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5302899c5735331a680c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2947ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1858ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302899c5735331a680d0000'), "firstname"=>"Jettie", "lastname"=>"Hessel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2475ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5302899c5735331a680d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5302899c5735331a680d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.0ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302899c5735331a680e0000'), "firstname"=>"Lamont", "lastname"=>"Quitzon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4175ms
Completed 200 OK in 7ms (Views: 6.9ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302899c5735331a680f0000'), "firstname"=>"Makayla", "lastname"=>"Herzog"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3650ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302899c5735331a68100000'), "firstname"=>"Llewellyn", "lastname"=>"Wehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4098ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5302899c5735331a68100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5302899c5735331a68100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2465ms
Completed 200 OK in 5ms (Views: 3.3ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302899c5735331a68110000'), "firstname"=>"Mohammed", "lastname"=>"Bahringer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3995ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5302899c5735331a68110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5302899c5735331a68110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3391ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5302899c5735331a68110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302899c5735331a68120000'), "firstname"=>"Eloise", "lastname"=>"Stokes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4819ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1819ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302899c5735331a68130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3490ms
Redirected to http://test.host/admin/clients/5302899c5735331a68130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1940ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302899c5735331a68140000'), "firstname"=>"Amy", "lastname"=>"Reilly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3013ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1658ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5302899c5735331a68140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5302899c5735331a68140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2618ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5302899c5735331a68140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9462ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 5ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2332ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302899c5735331a68150000'), "firstname"=>"Dameon", "lastname"=>"Bahringer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2497ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5302899c5735331a68150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5302899c5735331a68150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3225ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.7ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302899c5735331a68160000'), "firstname"=>"Eldridge", "lastname"=>"Wintheiser"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3346ms
Completed 200 OK in 8ms (Views: 6.5ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302899c5735331a68170000'), "firstname"=>"Ilene", "lastname"=>"Lind"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4469ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 5.8ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302899c5735331a68180000'), "firstname"=>"Cristal", "lastname"=>"Schulist"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4726ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5302899c5735331a68180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5302899c5735331a68180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2430ms
Completed 200 OK in 5ms (Views: 4.0ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302899c5735331a68190000'), "firstname"=>"Jamison", "lastname"=>"Lockman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3978ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5302899c5735331a68190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5302899c5735331a68190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2456ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5302899c5735331a68190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3206ms
Redirected to http://test.host/admin/clients/5302899c5735331a68190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302899c5735331a681a0000'), "firstname"=>"Alphonso", "lastname"=>"Sanford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2674ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1716ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302899c5735331a681b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2983ms
Redirected to http://test.host/clients/5302899c5735331a681b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1851ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302899c5735331a681c0000'), "firstname"=>"Paige", "lastname"=>"Stoltenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2653ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2036ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5302899c5735331a681c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5302899c5735331a681c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3654ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5302899c5735331a681c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2829ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1842ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302899c5735331a681d0000'), "firstname"=>"Lexus", "lastname"=>"Parker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2435ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5302899c5735331a681d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5302899c5735331a681d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2504ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 4.9ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302899c5735331a681e0000'), "firstname"=>"Jarred", "lastname"=>"Marvin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3460ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4371ms
Completed 200 OK in 40ms (Views: 39.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302899d5735331a681f0000'), "firstname"=>"Fern", "lastname"=>"Lockman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3878ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.6ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302899d5735331a68200000'), "firstname"=>"Granville", "lastname"=>"Hermann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4043ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5302899d5735331a68200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5302899d5735331a68200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2587ms
Completed 200 OK in 4ms (Views: 3.0ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5302899d5735331a68210000'), "firstname"=>"Imelda", "lastname"=>"Beer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3383ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5302899d5735331a68210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5302899d5735331a68210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2629ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5302899d5735331a68210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2764ms
Redirected to http://test.host/clients/5302899d5735331a68210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302899d5735331a68220000'), "name"=>"Stanford Roberts", "reference"=>"Mr. Ken Herman", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4092ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1740ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302899d5735331a68230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4737ms
Redirected to http://test.host/products/5302899d5735331a68230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2138ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302899d5735331a68240000'), "name"=>"Sam Haley", "reference"=>"Carmel Waelchi", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3653ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2190ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5302899d5735331a68240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5302899d5735331a68240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2485ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5302899d5735331a68240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3046ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2283ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302899d5735331a68250000'), "name"=>"Mr. Giuseppe Watsica", "reference"=>"Amara Bruen", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2718ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5302899d5735331a68250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5302899d5735331a68250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.2ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302899d5735331a68260000'), "name"=>"Pamela Watsica", "reference"=>"Brionna Hessel", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3888ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4970ms
Completed 200 OK in 11ms (Views: 10.4ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302899d5735331a68270000'), "name"=>"Ms. Judson Paucek", "reference"=>"Mrs. Percy Rutherford", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3883ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3401ms
Completed 200 OK in 2ms (Views: 0.7ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302899d5735331a68280000'), "name"=>"Monty Emmerich", "reference"=>"Nicola Kutch PhD", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3044ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5302899d5735331a68280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5302899d5735331a68280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302899d5735331a68290000'), "name"=>"Miss Jaunita Wyman", "reference"=>"Justyn Stanton DDS", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3045ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.1ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302899d5735331a682b0000'), "name"=>"Bianka Renner I", "reference"=>"Vida Smitham", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4402ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5302899d5735331a682b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5302899d5735331a682b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3176ms
Completed 200 OK in 5ms (Views: 3.5ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302899d5735331a682c0000'), "name"=>"Ms. Floyd Goldner", "reference"=>"Miss Davion Fadel", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4108ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1622ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302899d5735331a682d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3241ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1847ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302899d5735331a682e0000'), "name"=>"Jabari Nicolas", "reference"=>"Pink Okuneva IV", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2350ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5302899d5735331a682e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5302899d5735331a682e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5302899d5735331a682e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2514ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302899d5735331a682f0000'), "name"=>"Jett Lockman", "reference"=>"Giles Eichmann", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 30.3245ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302899d5735331a68310000'), "name"=>"Miss Brionna Walter", "reference"=>"Gianni Braun", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4320ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5302899d5735331a68310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5302899d5735331a68310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5302899d5735331a68310000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3136ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5302899d5735331a68320000'), "name"=>"Nelle Reilly", "reference"=>"Enoch Runte", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3870ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5302899d5735331a68320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5302899d5735331a68320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2291ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5302899d5735331a68320000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2414ms
Redirected to http://test.host/products/5302899d5735331a68320000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302899d5735331a68330000'), "firstname"=>"Madisyn", "lastname"=>"Schneider"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4691ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1844ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302899d5735331a68340000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3323ms
Redirected to http://test.host/users/5302899d5735331a68340000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1966ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302899d5735331a68350000'), "firstname"=>"Giovanna", "lastname"=>"Block"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3063ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1743ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5302899d5735331a68350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5302899d5735331a68350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2522ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5302899d5735331a68350000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2562ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2006ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302899d5735331a68360000'), "firstname"=>"Dominique", "lastname"=>"Nader"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2436ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5302899d5735331a68360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5302899d5735331a68360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3533ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 9ms (Views: 7.3ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302899d5735331a68370000'), "firstname"=>"Ena", "lastname"=>"Schmitt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4264ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3677ms
Completed 200 OK in 10ms (Views: 9.8ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302899d5735331a68380000'), "firstname"=>"Eldridge", "lastname"=>"Feest"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3503ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302899d5735331a68390000'), "firstname"=>"Friedrich", "lastname"=>"Conroy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4334ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5302899d5735331a68390000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5302899d5735331a68390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3291ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5302899d5735331a683a0000'), "firstname"=>"Shany", "lastname"=>"Kozey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5302899d5735331a683a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5302899d5735331a683a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2505ms
Unpermitted parameters: name
Redirected to http://test.host/users/5302899d5735331a683a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6363ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 3.1973ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3458ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2548ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2452ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314125735331f50000000'), "name"=>"Nathan Kreiger", "reference"=>"Reagan Haley", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4643ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2279ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314125735331f50010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4160ms
Redirected to http://test.host/admin/products/530314125735331f50010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2008ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314125735331f50020000'), "name"=>"Ms. Elvera Jast", "reference"=>"Leila Morissette", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.4704ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2491ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"530314125735331f50020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314125735331f50020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3133ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314125735331f50020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3177ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2383ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314125735331f50030000'), "name"=>"Landen Ullrich MD", "reference"=>"Mrs. Narciso Hahn", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2655ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"530314125735331f50030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314125735331f50030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2898ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (30.9ms)
Completed 200 OK in 95ms (Views: 93.9ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314125735331f50040000'), "name"=>"Arthur McDermott", "reference"=>"Vidal Bechtelar", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 10.2880ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4105ms
Completed 200 OK in 8ms (Views: 7.1ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314125735331f50050000'), "name"=>"Marc Blanda", "reference"=>"Silas Purdy", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3612ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 20ms (Views: 5.9ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314125735331f50080000'), "name"=>"Nat Ledner", "reference"=>"Marcelina Macejkovic", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4297ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"530314125735331f50080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314125735331f50080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314125735331f50090000'), "name"=>"Zander Wilderman", "reference"=>"Harmon Baumbach", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4002ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530314125735331f50090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314125735331f50090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3575ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314125735331f50090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3735ms
Redirected to http://test.host/admin/products/530314125735331f50090000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314125735331f500a0000'), "firstname"=>"Floy", "lastname"=>"Brekke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4574ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1877ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314125735331f500b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3482ms
Redirected to http://test.host/admin/users/530314125735331f500b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1938ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314125735331f500c0000'), "firstname"=>"Matilde", "lastname"=>"Spinka"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3077ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1768ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"530314125735331f500c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314125735331f500c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314125735331f500c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3150ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1900ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314125735331f500d0000'), "firstname"=>"Aileen", "lastname"=>"Casper"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2513ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"530314125735331f500d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314125735331f500d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 9ms (Views: 7.6ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314125735331f500e0000'), "firstname"=>"Jamarcus", "lastname"=>"Torphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4579ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3367ms
Completed 200 OK in 7ms (Views: 6.5ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314125735331f500f0000'), "firstname"=>"Shyanne", "lastname"=>"Ruecker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3649ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314125735331f50100000'), "firstname"=>"Jaylin", "lastname"=>"Gottlieb"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4150ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"530314125735331f50100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314125735331f50100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2676ms
Completed 200 OK in 5ms (Views: 3.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314125735331f50110000'), "firstname"=>"Alfred", "lastname"=>"Farrell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.9107ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530314125735331f50110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314125735331f50110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3836ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/530314125735331f50110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314125735331f50120000'), "firstname"=>"Domenica", "lastname"=>"O'Connell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4318ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2289ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314125735331f50130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4001ms
Redirected to http://test.host/admin/clients/530314125735331f50130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2768ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314125735331f50140000'), "firstname"=>"Alejandra", "lastname"=>"Lynch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5441ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3730ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530314125735331f50140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314125735331f50140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3312ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314125735331f50140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2170ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314125735331f50150000'), "firstname"=>"Beaulah", "lastname"=>"Lubowitz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2990ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530314125735331f50150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314125735331f50150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3004ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.5ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314125735331f50160000'), "firstname"=>"Cyrus", "lastname"=>"Murray"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3325ms
Completed 200 OK in 8ms (Views: 6.7ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314125735331f50170000'), "firstname"=>"Olin", "lastname"=>"Yost"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4263ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314125735331f50180000'), "firstname"=>"Jany", "lastname"=>"Walter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4003ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530314125735331f50180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314125735331f50180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2570ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314125735331f50190000'), "firstname"=>"Kyler", "lastname"=>"Sporer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4172ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530314125735331f50190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314125735331f50190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314125735331f50190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2937ms
Redirected to http://test.host/admin/clients/530314125735331f50190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314125735331f501a0000'), "firstname"=>"Rosendo", "lastname"=>"Raynor"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3140ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1811ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314125735331f501b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3745ms
Redirected to http://test.host/clients/530314125735331f501b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3153ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314125735331f501c0000'), "firstname"=>"Zoey", "lastname"=>"Sanford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3581ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2385ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530314125735331f501c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314125735331f501c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314125735331f501c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3264ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1648ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314125735331f501d0000'), "firstname"=>"Phoebe", "lastname"=>"Vandervort"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2507ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530314125735331f501d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314125735331f501d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2955ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314125735331f501e0000'), "firstname"=>"Gideon", "lastname"=>"Marvin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4292ms
Completed 200 OK in 41ms (Views: 40.5ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314125735331f501f0000'), "firstname"=>"Zakary", "lastname"=>"Stark"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3686ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314125735331f50200000'), "firstname"=>"Betty", "lastname"=>"Batz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4121ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530314125735331f50200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314125735331f50200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2651ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314125735331f50210000'), "firstname"=>"Lacey", "lastname"=>"Ebert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3319ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530314125735331f50210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314125735331f50210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2643ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314125735331f50210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2657ms
Redirected to http://test.host/clients/530314125735331f50210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314125735331f50220000'), "name"=>"Isadore Veum V", "reference"=>"Miss Stella Roberts", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4696ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3269ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314125735331f50230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4205ms
Redirected to http://test.host/products/530314125735331f50230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1799ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314125735331f50240000'), "name"=>"Madilyn Nader", "reference"=>"Rudolph Emmerich", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3757ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1886ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"530314125735331f50240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314125735331f50240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2823ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314125735331f50240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2689ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1871ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314125735331f50250000'), "name"=>"Neva Rau", "reference"=>"Ms. Katherine Turcotte", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2579ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"530314125735331f50250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314125735331f50250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3013ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 9ms (Views: 8.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314125735331f50260000'), "name"=>"Betty Anderson", "reference"=>"Angus Lebsack", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4442ms
Completed 200 OK in 11ms (Views: 10.7ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314125735331f50270000'), "name"=>"Dr. Clyde Larson", "reference"=>"Kyra Jaskolski", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3711ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3421ms
Completed 200 OK in 2ms (Views: 0.7ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314125735331f50280000'), "name"=>"Angeline Towne Jr.", "reference"=>"Neal Tremblay", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3519ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"530314125735331f50280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314125735331f50280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2806ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314125735331f50290000'), "name"=>"Betsy Beer PhD", "reference"=>"Era Beatty", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2940ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 8ms (Views: 6.5ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314125735331f502b0000'), "name"=>"Ms. Colin Heaney", "reference"=>"Madisyn Abbott", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4470ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"530314125735331f502b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314125735331f502b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2960ms
Completed 200 OK in 5ms (Views: 3.6ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314125735331f502c0000'), "name"=>"Mrs. Laverna Ward", "reference"=>"Genevieve Fisher IV", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4771ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2245ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314125735331f502d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3789ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2318ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314125735331f502e0000'), "name"=>"Kiara Herman", "reference"=>"Kailee Bauch", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2860ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"530314125735331f502e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314125735331f502e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2511ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314125735331f502e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2476ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314135735331f502f0000'), "name"=>"Lafayette Padberg", "reference"=>"Garett Russel", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 3ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314135735331f50310000'), "name"=>"Kane Blanda", "reference"=>"Meredith Rosenbaum", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4232ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530314135735331f50310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314135735331f50310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2942ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314135735331f50310000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314135735331f50320000'), "name"=>"Concepcion Bode III", "reference"=>"Javier Dickens V", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3089ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530314135735331f50320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314135735331f50320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2648ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314135735331f50320000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3394ms
Redirected to http://test.host/products/530314135735331f50320000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314135735331f50330000'), "firstname"=>"Garrick", "lastname"=>"Mosciski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1891ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314135735331f50340000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4447ms
Redirected to http://test.host/users/530314135735331f50340000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3816ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314135735331f50350000'), "firstname"=>"Helene", "lastname"=>"Reichert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4942ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1930ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"530314135735331f50350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314135735331f50350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3281ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314135735331f50350000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3145ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2149ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314135735331f50360000'), "firstname"=>"Sage", "lastname"=>"Jakubowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2962ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"530314135735331f50360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314135735331f50360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2536ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314135735331f50370000'), "firstname"=>"Dallas", "lastname"=>"Quitzon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4658ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3708ms
Completed 200 OK in 10ms (Views: 10.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314135735331f50380000'), "firstname"=>"Craig", "lastname"=>"Zieme"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3599ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314135735331f50390000'), "firstname"=>"Kristoffer", "lastname"=>"Feil"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4231ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"530314135735331f50390000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314135735331f50390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2526ms
Completed 200 OK in 5ms (Views: 3.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314135735331f503a0000'), "firstname"=>"Davon", "lastname"=>"Wehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530314135735331f503a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314135735331f503a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms
Unpermitted parameters: name
Redirected to http://test.host/users/530314135735331f503a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6285ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3045ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3240ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2687ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2913ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314175735331f96000000'), "name"=>"Isom Upton DVM", "reference"=>"Krystina Skiles II", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4758ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1461ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314175735331f96010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3917ms
Redirected to http://test.host/admin/products/530314175735331f96010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1929ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314175735331f96020000'), "name"=>"Afton Hermann", "reference"=>"Nelle Cremin", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3534ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1994ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"530314175735331f96020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314175735331f96020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2945ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314175735331f96020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3459ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2356ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314175735331f96030000'), "name"=>"Bertram Botsford", "reference"=>"Eden Beier", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3012ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"530314175735331f96030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314175735331f96030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3028ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.7ms)
Completed 200 OK in 54ms (Views: 53.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314175735331f96040000'), "name"=>"Cletus Deckow Jr.", "reference"=>"Camila Purdy DVM", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4696ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3365ms
Completed 200 OK in 7ms (Views: 6.9ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314175735331f96050000'), "name"=>"Gino Wolff", "reference"=>"Odessa Daniel", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4471ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 21ms (Views: 5.9ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314175735331f96080000'), "name"=>"Royal Hoeger", "reference"=>"Miss Clinton Dickinson", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4266ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"530314175735331f96080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314175735331f96080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314175735331f96090000'), "name"=>"Aileen Mosciski", "reference"=>"Rachelle Hagenes", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4063ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530314175735331f96090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314175735331f96090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2746ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314175735331f96090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3274ms
Redirected to http://test.host/admin/products/530314175735331f96090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314175735331f960a0000'), "firstname"=>"Chesley", "lastname"=>"Carter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5065ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1737ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314175735331f960b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3389ms
Redirected to http://test.host/admin/users/530314175735331f960b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1920ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314175735331f960c0000'), "firstname"=>"Laury", "lastname"=>"Senger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3494ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2278ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"530314175735331f960c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314175735331f960c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3193ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314175735331f960c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3490ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2307ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314175735331f960d0000'), "firstname"=>"Alexander", "lastname"=>"Schulist"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2899ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"530314175735331f960d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314175735331f960d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2837ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314175735331f960e0000'), "firstname"=>"Claud", "lastname"=>"Kassulke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4085ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4018ms
Completed 200 OK in 7ms (Views: 6.9ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314175735331f960f0000'), "firstname"=>"Skye", "lastname"=>"Treutel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3698ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314175735331f96100000'), "firstname"=>"Ronny", "lastname"=>"Heathcote"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4159ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"530314175735331f96100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314175735331f96100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2522ms
Completed 200 OK in 5ms (Views: 3.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314175735331f96110000'), "firstname"=>"Cristobal", "lastname"=>"Kozey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530314175735331f96110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314175735331f96110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/530314175735331f96110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314175735331f96120000'), "firstname"=>"Dallas", "lastname"=>"Glover"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4574ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1947ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314175735331f96130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3638ms
Redirected to http://test.host/admin/clients/530314175735331f96130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1955ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314175735331f96140000'), "firstname"=>"Cloyd", "lastname"=>"Tremblay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3123ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1790ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530314175735331f96140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314175735331f96140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2607ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314175735331f96140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3024ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1895ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314175735331f96150000'), "firstname"=>"Reta", "lastname"=>"Ryan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2501ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530314175735331f96150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314175735331f96150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2687ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314175735331f96160000'), "firstname"=>"Jedidiah", "lastname"=>"Langosh"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4326ms
Completed 200 OK in 9ms (Views: 7.6ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314175735331f96170000'), "firstname"=>"Monty", "lastname"=>"Herzog"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4026ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.8ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314175735331f96180000'), "firstname"=>"Regan", "lastname"=>"Brakus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530314175735331f96180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314175735331f96180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2827ms
Completed 200 OK in 6ms (Views: 4.3ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314175735331f96190000'), "firstname"=>"Eleanore", "lastname"=>"Hyatt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4921ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530314175735331f96190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314175735331f96190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3126ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314175735331f96190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3700ms
Redirected to http://test.host/admin/clients/530314175735331f96190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314175735331f961a0000'), "firstname"=>"Geovany", "lastname"=>"Kutch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2907ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1732ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314175735331f961b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3366ms
Redirected to http://test.host/clients/530314175735331f961b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1872ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314175735331f961c0000'), "firstname"=>"Arturo", "lastname"=>"Donnelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2212ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1653ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530314175735331f961c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314175735331f961c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314175735331f961c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2408ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1627ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314175735331f961d0000'), "firstname"=>"Keara", "lastname"=>"Abshire"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2257ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530314175735331f961d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314175735331f961d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2868ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.3ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314175735331f961e0000'), "firstname"=>"Mortimer", "lastname"=>"Dare"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3727ms
Completed 200 OK in 41ms (Views: 39.9ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314185735331f961f0000'), "firstname"=>"Tina", "lastname"=>"Armstrong"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4343ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314185735331f96200000'), "firstname"=>"Garnett", "lastname"=>"Crona"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4420ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530314185735331f96200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314185735331f96200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms
Completed 200 OK in 5ms (Views: 3.3ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314185735331f96210000'), "firstname"=>"Sofia", "lastname"=>"Dickens"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3543ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530314185735331f96210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314185735331f96210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3224ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314185735331f96210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2858ms
Redirected to http://test.host/clients/530314185735331f96210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314185735331f96220000'), "name"=>"Coby Christiansen I", "reference"=>"Chandler Harber", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3184ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1913ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314185735331f96230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3573ms
Redirected to http://test.host/products/530314185735331f96230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1907ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314185735331f96240000'), "name"=>"Mia Kirlin", "reference"=>"Queen Kris", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3887ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3938ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"530314185735331f96240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314185735331f96240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3156ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314185735331f96240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2577ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1654ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314185735331f96250000'), "name"=>"Gilbert Bashirian", "reference"=>"Alverta Schmitt", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2341ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"530314185735331f96250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314185735331f96250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314185735331f96260000'), "name"=>"Anabelle Larson", "reference"=>"Ms. Jeffrey Dooley", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3685ms
Completed 200 OK in 11ms (Views: 10.0ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314185735331f96270000'), "name"=>"Stephanie Rodriguez", "reference"=>"Kenny Ratke", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3905ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 7ms (Views: 6.1ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314185735331f96290000'), "name"=>"Kacey Brown", "reference"=>"Jevon Little", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4176ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"530314185735331f96290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314185735331f96290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2312ms
Completed 200 OK in 5ms (Views: 3.5ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314185735331f962a0000'), "name"=>"Jamie Leannon", "reference"=>"Ms. Myrl Hackett", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3924ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530314185735331f962a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314185735331f962a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2418ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314185735331f962a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2727ms
Redirected to http://test.host/products/530314185735331f962a0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314185735331f962b0000'), "firstname"=>"Shyann", "lastname"=>"Smith"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4441ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1744ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314185735331f962c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3206ms
Redirected to http://test.host/users/530314185735331f962c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1960ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314185735331f962d0000'), "firstname"=>"Delbert", "lastname"=>"Fahey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2920ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1532ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"530314185735331f962d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314185735331f962d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314185735331f962d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2681ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1793ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314185735331f962e0000'), "firstname"=>"Vernie", "lastname"=>"Sawayn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2415ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"530314185735331f962e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314185735331f962e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2461ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 39ms (Views: 38.1ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314185735331f962f0000'), "firstname"=>"Javon", "lastname"=>"Parker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4169ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4635ms
Completed 200 OK in 11ms (Views: 10.7ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314185735331f96300000'), "firstname"=>"Kareem", "lastname"=>"Dickens"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3912ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314185735331f96310000'), "firstname"=>"Juvenal", "lastname"=>"Klein"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4122ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"530314185735331f96310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314185735331f96310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2510ms
Completed 200 OK in 5ms (Views: 3.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314185735331f96320000'), "firstname"=>"Whitney", "lastname"=>"Bergnaum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4121ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530314185735331f96320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314185735331f96320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2733ms
Unpermitted parameters: name
Redirected to http://test.host/users/530314185735331f96320000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6540ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3113ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3138ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3217ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2908ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314b45735332142000000'), "name"=>"Mrs. Flossie Schinner", "reference"=>"Mrs. Reina Erdman", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4479ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1615ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314b45735332142010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3897ms
Redirected to http://test.host/admin/products/530314b45735332142010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2258ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314b45735332142020000'), "name"=>"Mr. Alexane Friesen", "reference"=>"Alvera Hauck DVM", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3101ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1822ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"530314b45735332142020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314b45735332142020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314b45735332142020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3757ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2000ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314b45735332142030000'), "name"=>"Mr. Anita Kihn", "reference"=>"Pearl Feil", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3016ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"530314b45735332142030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314b45735332142030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2936ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.7ms)
Completed 200 OK in 55ms (Views: 53.9ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314b45735332142040000'), "name"=>"Magali Crist", "reference"=>"Reginald Lowe", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4284ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms
Completed 200 OK in 7ms (Views: 6.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314b45735332142050000'), "name"=>"Brennan Hartmann", "reference"=>"Danny Wilkinson", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3752ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 21ms (Views: 6.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314b45735332142080000'), "name"=>"Mrs. Clotilde Stoltenberg", "reference"=>"Daniella Price", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4198ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"530314b45735332142080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314b45735332142080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms
Completed 200 OK in 5ms (Views: 3.5ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314b45735332142090000'), "name"=>"Ashley Rutherford III", "reference"=>"Lazaro Davis PhD", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4022ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530314b45735332142090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314b45735332142090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2842ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314b45735332142090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3277ms
Redirected to http://test.host/admin/products/530314b45735332142090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314b457353321420a0000'), "firstname"=>"Ignatius", "lastname"=>"Greenholt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4147ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2233ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314b457353321420b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4652ms
Redirected to http://test.host/admin/users/530314b457353321420b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2054ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314b457353321420c0000'), "firstname"=>"Drake", "lastname"=>"Schroeder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3610ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1921ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"530314b457353321420c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314b457353321420c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2568ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314b457353321420c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4452ms
Redirected to http://test.host/admin/users
Completed 302 Found in 9ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2033ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314b457353321420d0000'), "firstname"=>"Heidi", "lastname"=>"Lesch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2578ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"530314b457353321420d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314b457353321420d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314b457353321420e0000'), "firstname"=>"Gertrude", "lastname"=>"Dooley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4328ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3751ms
Completed 200 OK in 7ms (Views: 6.9ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314b457353321420f0000'), "firstname"=>"Kailyn", "lastname"=>"Collier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3546ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.9ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314b45735332142100000'), "firstname"=>"Monroe", "lastname"=>"Greenholt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4143ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"530314b45735332142100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314b45735332142100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms
Completed 200 OK in 5ms (Views: 3.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314b45735332142110000'), "firstname"=>"Dale", "lastname"=>"Wiegand"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4238ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530314b45735332142110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314b45735332142110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3585ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/530314b45735332142110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314b45735332142120000'), "firstname"=>"Elias", "lastname"=>"Schultz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4953ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1870ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314b45735332142130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms
Redirected to http://test.host/admin/clients/530314b45735332142130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2174ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314b45735332142140000'), "firstname"=>"Alanis", "lastname"=>"Rosenbaum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3418ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1921ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530314b45735332142140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314b45735332142140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3944ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314b45735332142140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9619ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2438ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314b45735332142150000'), "firstname"=>"Michelle", "lastname"=>"Herzog"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2573ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530314b45735332142150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314b45735332142150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.2ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314b45735332142160000'), "firstname"=>"Petra", "lastname"=>"Jerde"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4120ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3375ms
Completed 200 OK in 8ms (Views: 6.9ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314b45735332142170000'), "firstname"=>"Tom", "lastname"=>"Nikolaus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4120ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.5ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314b45735332142180000'), "firstname"=>"Mireya", "lastname"=>"Breitenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4136ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530314b45735332142180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314b45735332142180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314b45735332142190000'), "firstname"=>"Savion", "lastname"=>"Wisozk"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4695ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530314b45735332142190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314b45735332142190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3428ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314b45735332142190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3298ms
Redirected to http://test.host/admin/clients/530314b45735332142190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314b457353321421a0000'), "firstname"=>"Amie", "lastname"=>"Hills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2714ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1553ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314b457353321421b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3079ms
Redirected to http://test.host/clients/530314b457353321421b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1862ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314b457353321421c0000'), "firstname"=>"Kelsi", "lastname"=>"Stamm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2630ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1688ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530314b457353321421c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314b457353321421c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2516ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314b457353321421c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2524ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1759ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314b457353321421d0000'), "firstname"=>"Brook", "lastname"=>"Bashirian"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2122ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530314b457353321421d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314b457353321421d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2435ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314b457353321421e0000'), "firstname"=>"Reba", "lastname"=>"Murray"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3633ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4664ms
Completed 200 OK in 42ms (Views: 41.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314b457353321421f0000'), "firstname"=>"Cecile", "lastname"=>"Bogan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4277ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314b45735332142200000'), "firstname"=>"Kurtis", "lastname"=>"Huels"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4442ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530314b45735332142200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314b45735332142200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2405ms
Completed 200 OK in 5ms (Views: 3.7ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314b45735332142210000'), "firstname"=>"Charlene", "lastname"=>"Jakubowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4014ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530314b45735332142210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314b45735332142210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2837ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314b45735332142210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2932ms
Redirected to http://test.host/clients/530314b45735332142210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314b45735332142220000'), "name"=>"Anya Schmidt", "reference"=>"Ernest Gusikowski", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4048ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2141ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314b45735332142230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4253ms
Redirected to http://test.host/products/530314b45735332142230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2393ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314b45735332142240000'), "name"=>"Kiana Hegmann", "reference"=>"Miss Antonietta Rodriguez", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3671ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2054ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"530314b45735332142240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314b45735332142240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2801ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314b45735332142240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2882ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2002ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314b45735332142250000'), "name"=>"Erich McLaughlin III", "reference"=>"Jeramie Haley", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2897ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"530314b45735332142250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314b45735332142250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4051ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 10ms (Views: 8.2ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314b55735332142260000'), "name"=>"Melvina Bednar V", "reference"=>"Darryl Robel", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4561ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4153ms
Completed 200 OK in 10ms (Views: 9.8ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314b55735332142270000'), "name"=>"Anabel Hodkiewicz", "reference"=>"Annalise Krajcik", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3711ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3739ms
Completed 200 OK in 3ms (Views: 0.8ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314b55735332142280000'), "name"=>"Jack Wilkinson", "reference"=>"Mr. Dolly Prosacco", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4354ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"530314b55735332142280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314b55735332142280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2779ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314b55735332142290000'), "name"=>"Delilah Muller DDS", "reference"=>"Sheldon Volkman PhD", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.0158ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.0ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314b557353321422b0000'), "name"=>"Miss Nasir Braun", "reference"=>"Ms. Eloise McGlynn", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"530314b557353321422b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314b557353321422b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms
Completed 200 OK in 5ms (Views: 3.8ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314b557353321422c0000'), "name"=>"Cortney Windler", "reference"=>"Noemie Hilpert", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4259ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1789ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314b557353321422d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4707ms
Completed 201 Created in 3ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1952ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314b557353321422e0000'), "name"=>"Dr. Luigi Champlin", "reference"=>"Gail Denesik", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2449ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"530314b557353321422e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314b557353321422e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2943ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314b557353321422e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2835ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314b557353321422f0000'), "name"=>"Mr. Toney Kozey", "reference"=>"Mr. Danyka Glover", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4605ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314b55735332142310000'), "name"=>"Bulah Runte", "reference"=>"Janick McDermott", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4141ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530314b55735332142310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314b55735332142310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2867ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314b55735332142310000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3068ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314b55735332142320000'), "name"=>"Marian Swaniawski", "reference"=>"Leopold Farrell", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2847ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530314b55735332142320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314b55735332142320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314b55735332142320000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2992ms
Redirected to http://test.host/products/530314b55735332142320000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314b55735332142330000'), "firstname"=>"Isai", "lastname"=>"Nader"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4615ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1805ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314b55735332142340000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3729ms
Redirected to http://test.host/users/530314b55735332142340000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2006ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314b55735332142350000'), "firstname"=>"Lessie", "lastname"=>"Dibbert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3279ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2611ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"530314b55735332142350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314b55735332142350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3146ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314b55735332142350000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2681ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1754ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314b55735332142360000'), "firstname"=>"Mae", "lastname"=>"Satterfield"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2785ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"530314b55735332142360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314b55735332142360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2282ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314b55735332142370000'), "firstname"=>"Lesley", "lastname"=>"Connelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4663ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3955ms
Completed 200 OK in 11ms (Views: 10.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314b55735332142380000'), "firstname"=>"Theo", "lastname"=>"Stark"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3755ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314b55735332142390000'), "firstname"=>"Raegan", "lastname"=>"Hauck"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"530314b55735332142390000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314b55735332142390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms
Completed 200 OK in 5ms (Views: 3.5ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314b557353321423a0000'), "firstname"=>"Eliseo", "lastname"=>"Zemlak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4775ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530314b557353321423a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314b557353321423a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3408ms
Unpermitted parameters: name
Redirected to http://test.host/users/530314b557353321423a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6724ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3159ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3449ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2715ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314ff573533220e000000'), "name"=>"Ms. Tomas Becker", "reference"=>"Assunta Erdman", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4594ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1738ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314ff573533220e010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4147ms
Redirected to http://test.host/admin/products/530314ff573533220e010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1972ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314ff573533220e020000'), "name"=>"Stefan Tillman", "reference"=>"Danika Turcotte", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3126ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1872ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"530314ff573533220e020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314ff573533220e020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2646ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314ff573533220e020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2570ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1879ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314ff573533220e030000'), "name"=>"Junior Prohaska", "reference"=>"Chester Schuster PhD", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2536ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"530314ff573533220e030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314ff573533220e030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.0ms)
Completed 200 OK in 55ms (Views: 53.5ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314ff573533220e040000'), "name"=>"Mr. Marguerite Legros", "reference"=>"Roderick Bayer", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4288ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3411ms
Completed 200 OK in 7ms (Views: 6.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314ff573533220e050000'), "name"=>"Alayna Bode", "reference"=>"Bret Walter", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3800ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 20ms (Views: 6.5ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314ff573533220e080000'), "name"=>"Eriberto Nienow", "reference"=>"Gisselle Morar", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4256ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"530314ff573533220e080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314ff573533220e080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2621ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314ff573533220e090000'), "name"=>"Nicholaus Dickinson II", "reference"=>"Yolanda Bashirian", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4070ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530314ff573533220e090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314ff573533220e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2741ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314ff573533220e090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3478ms
Redirected to http://test.host/admin/products/530314ff573533220e090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314ff573533220e0a0000'), "firstname"=>"Bradley", "lastname"=>"Nienow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4405ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2060ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314ff573533220e0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4116ms
Redirected to http://test.host/admin/users/530314ff573533220e0b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1582ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314ff573533220e0c0000'), "firstname"=>"Ricky", "lastname"=>"McLaughlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3359ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2317ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"530314ff573533220e0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314ff573533220e0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314ff573533220e0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1677ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314ff573533220e0d0000'), "firstname"=>"Lisandro", "lastname"=>"Bayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2240ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"530314ff573533220e0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314ff573533220e0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2300ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314ff573533220e0e0000'), "firstname"=>"William", "lastname"=>"Howell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3874ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3277ms
Completed 200 OK in 7ms (Views: 6.5ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314ff573533220e0f0000'), "firstname"=>"Zaria", "lastname"=>"Daniel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3878ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314ff573533220e100000'), "firstname"=>"Malinda", "lastname"=>"Casper"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"530314ff573533220e100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314ff573533220e100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2316ms
Completed 200 OK in 5ms (Views: 3.4ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314ff573533220e110000'), "firstname"=>"Will", "lastname"=>"Mayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530314ff573533220e110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314ff573533220e110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3301ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/530314ff573533220e110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314ff573533220e120000'), "firstname"=>"Lexie", "lastname"=>"Fay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4534ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1641ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314ff573533220e130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3550ms
Redirected to http://test.host/admin/clients/530314ff573533220e130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2201ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314ff573533220e140000'), "firstname"=>"Sasha", "lastname"=>"Kulas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3256ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1606ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530314ff573533220e140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314ff573533220e140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2874ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314ff573533220e140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2359ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314ff573533220e150000'), "firstname"=>"Keven", "lastname"=>"Bosco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2566ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530314ff573533220e150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314ff573533220e150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2425ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 10ms (Views: 9.1ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314ff573533220e160000'), "firstname"=>"Christine", "lastname"=>"Ullrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4504ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3463ms
Completed 200 OK in 8ms (Views: 6.7ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314ff573533220e170000'), "firstname"=>"Trenton", "lastname"=>"Corkery"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4091ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 7ms (Views: 6.3ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314ff573533220e180000'), "firstname"=>"Dino", "lastname"=>"Kuphal"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4323ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530314ff573533220e180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314ff573533220e180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2817ms
Completed 200 OK in 6ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314ff573533220e190000'), "firstname"=>"Hermina", "lastname"=>"Dickinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3980ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530314ff573533220e190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314ff573533220e190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2596ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314ff573533220e190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3445ms
Redirected to http://test.host/admin/clients/530314ff573533220e190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314ff573533220e1a0000'), "firstname"=>"Antwon", "lastname"=>"Mertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1202ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2038ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314ff573533220e1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms
Redirected to http://test.host/clients/530314ff573533220e1b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2574ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314ff573533220e1c0000'), "firstname"=>"Erich", "lastname"=>"Larson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3992ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1883ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530314ff573533220e1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314ff573533220e1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2962ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314ff573533220e1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2925ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2150ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314ff573533220e1d0000'), "firstname"=>"Javon", "lastname"=>"Beahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530314ff573533220e1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314ff573533220e1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2473ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314ff573533220e1e0000'), "firstname"=>"Fred", "lastname"=>"McDermott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3402ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4051ms
Completed 200 OK in 40ms (Views: 39.9ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314ff573533220e1f0000'), "firstname"=>"Zula", "lastname"=>"Graham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3822ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314ff573533220e200000'), "firstname"=>"Kristopher", "lastname"=>"Herzog"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530314ff573533220e200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314ff573533220e200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2294ms
Completed 200 OK in 4ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530314ff573533220e210000'), "firstname"=>"Carlee", "lastname"=>"Brown"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3448ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530314ff573533220e210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314ff573533220e210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2476ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530314ff573533220e210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2636ms
Redirected to http://test.host/clients/530314ff573533220e210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314ff573533220e220000'), "name"=>"Arianna Batz", "reference"=>"Vincent Nikolaus", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4657ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1691ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314ff573533220e230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7683ms
Redirected to http://test.host/products/530314ff573533220e230000
Completed 302 Found in 8ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2355ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314ff573533220e240000'), "name"=>"Julien Ernser", "reference"=>"Matilda Pfannerstill", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3366ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1621ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"530314ff573533220e240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314ff573533220e240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2724ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314ff573533220e240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2645ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1738ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314ff573533220e250000'), "name"=>"Lura Walsh", "reference"=>"Moises Schmitt DDS", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"530314ff573533220e250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314ff573533220e250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2382ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.1ms)
Completed 200 OK in 10ms (Views: 8.8ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314ff573533220e260000'), "name"=>"Melyssa Gleichner", "reference"=>"Santa Dare", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4188ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3740ms
Completed 200 OK in 10ms (Views: 9.9ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314ff573533220e270000'), "name"=>"Mrs. Florencio Conn", "reference"=>"Alva Torp", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3547ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3509ms
Completed 200 OK in 3ms (Views: 0.7ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314ff573533220e280000'), "name"=>"Muriel Schamberger", "reference"=>"Dana Gerhold I", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2910ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"530314ff573533220e280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314ff573533220e280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2505ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314ff573533220e290000'), "name"=>"Carli Yost", "reference"=>"Ofelia Nader", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2993ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 8ms (Views: 6.4ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314ff573533220e2b0000'), "name"=>"Elfrieda Gutkowski", "reference"=>"Milo Conn", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4117ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"530314ff573533220e2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314ff573533220e2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2427ms
Completed 200 OK in 5ms (Views: 3.5ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314ff573533220e2c0000'), "name"=>"Emmet Schiller", "reference"=>"Kane Morar", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4223ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1953ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314ff573533220e2d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3591ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1965ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314ff573533220e2e0000'), "name"=>"Viviane Marvin", "reference"=>"Wendy Zemlak", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2114ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"530314ff573533220e2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314ff573533220e2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2596ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314ff573533220e2e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2576ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314ff573533220e2f0000'), "name"=>"Abigayle Rippin", "reference"=>"Ashtyn Koepp", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3516ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 3ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314ff573533220e310000'), "name"=>"Brycen Aufderhar", "reference"=>"Ms. Emmitt Ferry", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4519ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530314ff573533220e310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314ff573533220e310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3375ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314ff573533220e310000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3385ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530314ff573533220e320000'), "name"=>"Dee Pfannerstill V", "reference"=>"Abbie Kertzmann III", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3823ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530314ff573533220e320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314ff573533220e320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3202ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530314ff573533220e320000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3365ms
Redirected to http://test.host/products/530314ff573533220e320000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314ff573533220e330000'), "firstname"=>"Ivy", "lastname"=>"Stroman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4714ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1894ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314ff573533220e340000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3999ms
Redirected to http://test.host/users/530314ff573533220e340000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3191ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314ff573533220e350000'), "firstname"=>"Davion", "lastname"=>"Simonis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4808ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2344ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"530314ff573533220e350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314ff573533220e350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3008ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314ff573533220e350000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3127ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1903ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314ff573533220e360000'), "firstname"=>"Mekhi", "lastname"=>"Emmerich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2483ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"530314ff573533220e360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314ff573533220e360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3354ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.9ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314ff573533220e370000'), "firstname"=>"Eloise", "lastname"=>"Heidenreich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4476ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3718ms
Completed 200 OK in 11ms (Views: 10.1ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314ff573533220e380000'), "firstname"=>"Chet", "lastname"=>"Deckow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3945ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314ff573533220e390000'), "firstname"=>"Brenda", "lastname"=>"West"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4132ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"530314ff573533220e390000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314ff573533220e390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms
Completed 200 OK in 5ms (Views: 3.4ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530314ff573533220e3a0000'), "firstname"=>"Art", "lastname"=>"Cole"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530314ff573533220e3a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530314ff573533220e3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3517ms
Unpermitted parameters: name
Redirected to http://test.host/users/530314ff573533220e3a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6601ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3228ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3404ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3063ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2952ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530359055735334036000000'), "name"=>"Abraham Reichert", "reference"=>"Jamil Sauer", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4604ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1836ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530359055735334036010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3611ms
Redirected to http://test.host/admin/products/530359055735334036010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1591ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530359055735334036020000'), "name"=>"Camryn Casper", "reference"=>"Mr. Oscar Gaylord", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3552ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1826ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"530359055735334036020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530359055735334036020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2478ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530359055735334036020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3003ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1912ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530359055735334036030000'), "name"=>"Emory Kirlin", "reference"=>"Nick Ebert", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2542ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"530359055735334036030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530359055735334036030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2590ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 200 OK in 55ms (Views: 53.5ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530359055735334036040000'), "name"=>"Duane Armstrong PhD", "reference"=>"Liza Littel", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4173ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3674ms
Completed 200 OK in 7ms (Views: 6.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530359065735334036050000'), "name"=>"Mr. Clotilde Carter", "reference"=>"Krystel Okuneva", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4255ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 21ms (Views: 6.0ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530359065735334036080000'), "name"=>"Jamarcus Abernathy", "reference"=>"Jadon Effertz", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4167ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"530359065735334036080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530359065735334036080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2719ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530359065735334036090000'), "name"=>"Dr. Aurelia Kuphal", "reference"=>"Robyn Little", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3986ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530359065735334036090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530359065735334036090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2524ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530359065735334036090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3824ms
Redirected to http://test.host/admin/products/530359065735334036090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5303590657353340360a0000'), "firstname"=>"May", "lastname"=>"Okuneva"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4419ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2060ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5303590657353340360b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4331ms
Redirected to http://test.host/admin/users/5303590657353340360b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1944ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5303590657353340360c0000'), "firstname"=>"Marcella", "lastname"=>"Hartmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3630ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2280ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5303590657353340360c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5303590657353340360c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2954ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5303590657353340360c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3030ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1931ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5303590657353340360d0000'), "firstname"=>"Beverly", "lastname"=>"Halvorson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2510ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5303590657353340360d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5303590657353340360d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2471ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 9ms (Views: 7.4ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5303590657353340360e0000'), "firstname"=>"Nicola", "lastname"=>"Olson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4563ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3174ms
Completed 200 OK in 7ms (Views: 6.5ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5303590657353340360f0000'), "firstname"=>"Lera", "lastname"=>"Nolan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3874ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530359065735334036100000'), "firstname"=>"Bruce", "lastname"=>"Boehm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"530359065735334036100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530359065735334036100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2362ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530359065735334036110000'), "firstname"=>"Mina", "lastname"=>"Shanahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3897ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530359065735334036110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530359065735334036110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3346ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/530359065735334036110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530359065735334036120000'), "firstname"=>"Jazmin", "lastname"=>"Schowalter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4603ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1902ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530359065735334036130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms
Redirected to http://test.host/admin/clients/530359065735334036130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1953ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530359065735334036140000'), "firstname"=>"Mathias", "lastname"=>"D'Amore"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3072ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1817ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530359065735334036140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530359065735334036140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2475ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530359065735334036140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1929ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530359065735334036150000'), "firstname"=>"Ruby", "lastname"=>"Veum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2379ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530359065735334036150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530359065735334036150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2461ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 10ms (Views: 9.0ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530359065735334036160000'), "firstname"=>"Rozella", "lastname"=>"Hudson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8816ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3425ms
Completed 200 OK in 8ms (Views: 6.6ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530359065735334036170000'), "firstname"=>"Shemar", "lastname"=>"Donnelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4520ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 5.9ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530359065735334036180000'), "firstname"=>"Leslie", "lastname"=>"Feeney"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4411ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530359065735334036180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530359065735334036180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2385ms
Completed 200 OK in 6ms (Views: 4.3ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530359065735334036190000'), "firstname"=>"Christop", "lastname"=>"Padberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530359065735334036190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530359065735334036190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530359065735334036190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3148ms
Redirected to http://test.host/admin/clients/530359065735334036190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5303590657353340361a0000'), "firstname"=>"Electa", "lastname"=>"Wuckert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1775ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5303590657353340361b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2986ms
Redirected to http://test.host/clients/5303590657353340361b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1865ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5303590657353340361c0000'), "firstname"=>"Emmet", "lastname"=>"Fisher"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1809ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5303590657353340361c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5303590657353340361c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3702ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5303590657353340361c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2650ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1738ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5303590657353340361d0000'), "firstname"=>"Abdullah", "lastname"=>"Schneider"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2305ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5303590657353340361d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5303590657353340361d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2646ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5303590657353340361e0000'), "firstname"=>"Robin", "lastname"=>"Bayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3669ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4228ms
Completed 200 OK in 41ms (Views: 40.7ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5303590657353340361f0000'), "firstname"=>"Cortney", "lastname"=>"Durgan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4173ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530359065735334036200000'), "firstname"=>"Kiarra", "lastname"=>"Wehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530359065735334036200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530359065735334036200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2720ms
Completed 200 OK in 5ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530359065735334036210000'), "firstname"=>"Henry", "lastname"=>"Gaylord"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3469ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530359065735334036210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530359065735334036210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2588ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530359065735334036210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2671ms
Redirected to http://test.host/clients/530359065735334036210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530359065735334036220000'), "name"=>"Fernando Moore", "reference"=>"Miss Tre Kuhn", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4348ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3483ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530359065735334036230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4184ms
Redirected to http://test.host/products/530359065735334036230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2397ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530359065735334036240000'), "name"=>"Fred Lynch", "reference"=>"Selmer Leffler", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3192ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2271ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"530359065735334036240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530359065735334036240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2946ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530359065735334036240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3049ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2279ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530359065735334036250000'), "name"=>"Dameon Von PhD", "reference"=>"Nettie Jakubowski", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2806ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"530359065735334036250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530359065735334036250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2495ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 9ms (Views: 7.9ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530359065735334036260000'), "name"=>"Moriah Dare", "reference"=>"Gerard Daugherty", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4502ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4610ms
Completed 200 OK in 11ms (Views: 10.4ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530359065735334036270000'), "name"=>"Ms. Myah Kulas", "reference"=>"Kevon Weimann", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3409ms
Completed 200 OK in 2ms (Views: 0.8ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530359065735334036280000'), "name"=>"Darrin Cummerata", "reference"=>"Lessie Flatley", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3265ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"530359065735334036280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530359065735334036280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2584ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530359065735334036290000'), "name"=>"Amya Hintz", "reference"=>"Cheyanne Ferry", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2898ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5303590657353340362b0000'), "name"=>"Elisha Crooks", "reference"=>"Hope Huels", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4754ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5303590657353340362b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5303590657353340362b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2743ms
Completed 200 OK in 5ms (Views: 3.5ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5303590657353340362c0000'), "name"=>"Jeffery Koepp", "reference"=>"Zella McCullough", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9886ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1827ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5303590657353340362d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3347ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1905ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5303590657353340362e0000'), "name"=>"Tomasa Feil", "reference"=>"Melisa Senger", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2819ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5303590657353340362e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5303590657353340362e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2939ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5303590657353340362e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5303590657353340362f0000'), "name"=>"Mac DuBuque IV", "reference"=>"Jordon Ondricka", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3076ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530359065735334036310000'), "name"=>"Stephon Swaniawski", "reference"=>"Derrick Funk", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4465ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530359065735334036310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530359065735334036310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3758ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530359065735334036310000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2923ms
Completed 202 Accepted in 4ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530359065735334036320000'), "name"=>"Elyse Pagac", "reference"=>"Araceli O'Connell", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2989ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530359065735334036320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530359065735334036320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2460ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530359065735334036320000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2734ms
Redirected to http://test.host/products/530359065735334036320000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530359065735334036330000'), "firstname"=>"Rudolph", "lastname"=>"Kirlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4121ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1656ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530359065735334036340000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3628ms
Redirected to http://test.host/users/530359065735334036340000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2113ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530359065735334036350000'), "firstname"=>"Sylvester", "lastname"=>"Jakubowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3469ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1862ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"530359065735334036350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530359065735334036350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530359065735334036350000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2763ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1734ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530359065735334036360000'), "firstname"=>"Florence", "lastname"=>"Klocko"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"530359065735334036360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530359065735334036360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.9ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530359065735334036370000'), "firstname"=>"Alexandre", "lastname"=>"Leffler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4340ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3724ms
Completed 200 OK in 10ms (Views: 9.9ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530359065735334036380000'), "firstname"=>"Drake", "lastname"=>"DuBuque"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.2604ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.4ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530359065735334036390000'), "firstname"=>"Lorna", "lastname"=>"Gaylord"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4372ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"530359065735334036390000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530359065735334036390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5303590657353340363a0000'), "firstname"=>"Margie", "lastname"=>"Wehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4015ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5303590657353340363a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5303590657353340363a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2571ms
Unpermitted parameters: name
Redirected to http://test.host/users/5303590657353340363a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6086ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2711ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2968ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3105ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2981ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3000000'), "name"=>"Evie O'Conner", "reference"=>"Burley Legros", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4607ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1822ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3823ms
Redirected to http://test.host/admin/products/5304b22f57353337b3010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2105ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3020000'), "name"=>"Reanna Zulauf", "reference"=>"Gillian Botsford", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3243ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1770ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5304b22f57353337b3020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304b22f57353337b3020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304b22f57353337b3020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2819ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1875ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3030000'), "name"=>"Jeanette Rice", "reference"=>"Mrs. Andrew Mertz", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2439ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5304b22f57353337b3030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304b22f57353337b3030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2889ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.7ms)
Completed 200 OK in 55ms (Views: 53.4ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3040000'), "name"=>"Granville Macejkovic", "reference"=>"Peyton Murphy", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4423ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3506ms
Completed 200 OK in 7ms (Views: 6.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3050000'), "name"=>"Gladyce Green", "reference"=>"Dr. Brandon Eichmann", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 15.6799ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 20ms (Views: 5.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3080000'), "name"=>"Genoveva Waelchi", "reference"=>"Mr. Conor Mertz", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4167ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5304b22f57353337b3080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304b22f57353337b3080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3090000'), "name"=>"Miss Ford Lakin", "reference"=>"Alysha Will", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4742ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5304b22f57353337b3090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304b22f57353337b3090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3492ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304b22f57353337b3090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3348ms
Redirected to http://test.host/admin/products/5304b22f57353337b3090000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b30a0000'), "firstname"=>"Dewayne", "lastname"=>"Toy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1818ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b30b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3159ms
Redirected to http://test.host/admin/users/5304b22f57353337b30b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2164ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b30c0000'), "firstname"=>"Maximilian", "lastname"=>"Kling"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3159ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1747ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5304b22f57353337b30c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304b22f57353337b30c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2467ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304b22f57353337b30c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2909ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1859ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b30d0000'), "firstname"=>"Novella", "lastname"=>"Bradtke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2449ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5304b22f57353337b30d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304b22f57353337b30d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 9ms (Views: 8.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b30e0000'), "firstname"=>"Piper", "lastname"=>"Huels"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4386ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3229ms
Completed 200 OK in 7ms (Views: 6.3ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b30f0000'), "firstname"=>"Gabrielle", "lastname"=>"Bailey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3456ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3100000'), "firstname"=>"Helmer", "lastname"=>"Zieme"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4030ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5304b22f57353337b3100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304b22f57353337b3100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2719ms
Completed 200 OK in 5ms (Views: 4.0ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3110000'), "firstname"=>"Orlo", "lastname"=>"VonRueden"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4643ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5304b22f57353337b3110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304b22f57353337b3110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3621ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5304b22f57353337b3110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3120000'), "firstname"=>"Greg", "lastname"=>"Botsford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4385ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1860ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4121ms
Redirected to http://test.host/admin/clients/5304b22f57353337b3130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3221ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3140000'), "firstname"=>"Albertha", "lastname"=>"Fadel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3527ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1806ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5304b22f57353337b3140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304b22f57353337b3140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2596ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304b22f57353337b3140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3143ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1933ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3150000'), "firstname"=>"Estell", "lastname"=>"Rau"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2496ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5304b22f57353337b3150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304b22f57353337b3150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.2ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3160000'), "firstname"=>"Angelita", "lastname"=>"Hirthe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4089ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3214ms
Completed 200 OK in 8ms (Views: 6.9ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3170000'), "firstname"=>"Jordon", "lastname"=>"Grady"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4233ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3180000'), "firstname"=>"Claudie", "lastname"=>"Bruen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5304b22f57353337b3180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304b22f57353337b3180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2482ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3190000'), "firstname"=>"Solon", "lastname"=>"Wunsch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.0713ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5304b22f57353337b3190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304b22f57353337b3190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3223ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304b22f57353337b3190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3060ms
Redirected to http://test.host/admin/clients/5304b22f57353337b3190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b31a0000'), "firstname"=>"Gwen", "lastname"=>"Mills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2909ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1825ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b31b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3061ms
Redirected to http://test.host/clients/5304b22f57353337b31b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1915ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b31c0000'), "firstname"=>"Kristy", "lastname"=>"Schneider"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2346ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1696ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5304b22f57353337b31c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304b22f57353337b31c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2384ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304b22f57353337b31c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2555ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1893ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b31d0000'), "firstname"=>"Remington", "lastname"=>"Ferry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2611ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5304b22f57353337b31d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304b22f57353337b31d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b31e0000'), "firstname"=>"Lue", "lastname"=>"Kuvalis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3667ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4995ms
Completed 200 OK in 43ms (Views: 42.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b31f0000'), "firstname"=>"Hortense", "lastname"=>"Gusikowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3817ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.6ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3200000'), "firstname"=>"Gayle", "lastname"=>"Emard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5304b22f57353337b3200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304b22f57353337b3200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2749ms
Completed 200 OK in 5ms (Views: 3.5ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3210000'), "firstname"=>"Elda", "lastname"=>"Schneider"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3950ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5304b22f57353337b3210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304b22f57353337b3210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2567ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304b22f57353337b3210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3493ms
Redirected to http://test.host/clients/5304b22f57353337b3210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3220000'), "name"=>"Noble Morissette", "reference"=>"Chance Ankunding", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3568ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1886ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3484ms
Redirected to http://test.host/products/5304b22f57353337b3230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1944ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3240000'), "name"=>"Lesly Zulauf I", "reference"=>"Gordon Pouros", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3156ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1753ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5304b22f57353337b3240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304b22f57353337b3240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3042ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304b22f57353337b3240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2661ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2404ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3250000'), "name"=>"Vivian Durgan IV", "reference"=>"Una Schuppe", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3843ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5304b22f57353337b3250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304b22f57353337b3250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3260000'), "name"=>"Keira Green", "reference"=>"Marco Wilkinson", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4123ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3859ms
Completed 200 OK in 10ms (Views: 9.9ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3270000'), "name"=>"Amya Von", "reference"=>"Verner Orn", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3729ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4468ms
Completed 200 OK in 3ms (Views: 0.8ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3280000'), "name"=>"Lazaro Homenick", "reference"=>"Matt Nolan", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4192ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5304b22f57353337b3280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304b22f57353337b3280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2725ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3290000'), "name"=>"Noemie Keebler", "reference"=>"Seth Swift", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3014ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.0ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b32b0000'), "name"=>"Hazel Nader", "reference"=>"Meda Sporer", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4181ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5304b22f57353337b32b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304b22f57353337b32b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2514ms
Completed 200 OK in 5ms (Views: 3.5ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b32c0000'), "name"=>"Dr. Ayana Muller", "reference"=>"Miss Angel Gutkowski", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3967ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1757ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b32d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4452ms
Completed 201 Created in 3ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3225ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b32e0000'), "name"=>"Gerard Conn PhD", "reference"=>"Miss Zelda Hilll", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2652ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5304b22f57353337b32e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304b22f57353337b32e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3123ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304b22f57353337b32e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2604ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b32f0000'), "name"=>"Tony Brown II", "reference"=>"Eusebio Roberts", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2722ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3310000'), "name"=>"Sonny Quigley DDS", "reference"=>"Madge Denesik", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4292ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5304b22f57353337b3310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304b22f57353337b3310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2836ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304b22f57353337b3310000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2928ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3320000'), "name"=>"Ms. Rozella Bartoletti", "reference"=>"Mr. Freddy Klein", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2831ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5304b22f57353337b3320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304b22f57353337b3320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2652ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304b22f57353337b3320000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2685ms
Redirected to http://test.host/products/5304b22f57353337b3320000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3330000'), "firstname"=>"Rylan", "lastname"=>"Koelpin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4969ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1918ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3340000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3478ms
Redirected to http://test.host/users/5304b22f57353337b3340000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2036ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3350000'), "firstname"=>"Maida", "lastname"=>"Price"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3148ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1827ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5304b22f57353337b3350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304b22f57353337b3350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2433ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304b22f57353337b3350000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2666ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1838ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3360000'), "firstname"=>"Benjamin", "lastname"=>"Mohr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2794ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5304b22f57353337b3360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304b22f57353337b3360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2522ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.8ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304b22f57353337b3370000'), "firstname"=>"Kenyon", "lastname"=>"Johnson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms
Completed 200 OK in 11ms (Views: 10.5ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304b23057353337b3380000'), "firstname"=>"Myrtie", "lastname"=>"Harvey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3554ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304b23057353337b3390000'), "firstname"=>"Grady", "lastname"=>"Marks"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5304b23057353337b3390000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304b23057353337b3390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2514ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304b23057353337b33a0000'), "firstname"=>"Hattie", "lastname"=>"Jenkins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4217ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5304b23057353337b33a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304b23057353337b33a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3036ms
Unpermitted parameters: name
Redirected to http://test.host/users/5304b23057353337b33a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6715ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3368ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4306ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3188ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3061ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6000000'), "name"=>"Cristobal Schmitt", "reference"=>"Terrell Weimann", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4560ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1803ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3813ms
Redirected to http://test.host/admin/products/5304ddfa57353358a6010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1986ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6020000'), "name"=>"Amira Franecki PhD", "reference"=>"Wallace DuBuque", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3245ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1753ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5304ddfa57353358a6020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304ddfa57353358a6020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2435ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304ddfa57353358a6020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3420ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2302ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6030000'), "name"=>"Dr. Domenic Bednar", "reference"=>"Wilmer Runte", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2982ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5304ddfa57353358a6030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304ddfa57353358a6030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3149ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms)
Completed 200 OK in 54ms (Views: 52.5ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6040000'), "name"=>"Miss Clare Kunde", "reference"=>"Raina Ritchie", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4329ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3224ms
Completed 200 OK in 7ms (Views: 6.7ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6050000'), "name"=>"Dr. Chaim Kreiger", "reference"=>"Lowell Barrows", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 20ms (Views: 6.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6080000'), "name"=>"Scottie Hyatt", "reference"=>"Shemar Luettgen", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4306ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5304ddfa57353358a6080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304ddfa57353358a6080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2659ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6090000'), "name"=>"Audra Orn", "reference"=>"Ervin Flatley", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5304ddfa57353358a6090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304ddfa57353358a6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2610ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304ddfa57353358a6090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3331ms
Redirected to http://test.host/admin/products/5304ddfa57353358a6090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a60a0000'), "firstname"=>"Donna", "lastname"=>"Murphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4049ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1786ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a60b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4280ms
Redirected to http://test.host/admin/users/5304ddfa57353358a60b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3164ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a60c0000'), "firstname"=>"Vesta", "lastname"=>"Barrows"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3370ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1760ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5304ddfa57353358a60c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304ddfa57353358a60c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2384ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304ddfa57353358a60c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0569ms
Redirected to http://test.host/admin/users
Completed 302 Found in 7ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2174ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a60d0000'), "firstname"=>"Ted", "lastname"=>"Collins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2775ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5304ddfa57353358a60d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304ddfa57353358a60d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2557ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a60e0000'), "firstname"=>"Rigoberto", "lastname"=>"Koepp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4094ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3469ms
Completed 200 OK in 7ms (Views: 6.8ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a60f0000'), "firstname"=>"Ryann", "lastname"=>"Grady"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3790ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6100000'), "firstname"=>"Austyn", "lastname"=>"Raynor"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4434ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5304ddfa57353358a6100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304ddfa57353358a6100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2492ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6110000'), "firstname"=>"Magnolia", "lastname"=>"Hauck"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4523ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5304ddfa57353358a6110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304ddfa57353358a6110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3995ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5304ddfa57353358a6110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6120000'), "firstname"=>"Marta", "lastname"=>"Borer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4366ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2052ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms
Redirected to http://test.host/admin/clients/5304ddfa57353358a6130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2411ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6140000'), "firstname"=>"Houston", "lastname"=>"Heaney"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3591ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2455ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5304ddfa57353358a6140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304ddfa57353358a6140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3079ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304ddfa57353358a6140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.3688ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 5ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3426ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6150000'), "firstname"=>"Stanley", "lastname"=>"Kerluke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4371ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5304ddfa57353358a6150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304ddfa57353358a6150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3071ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.4ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6160000'), "firstname"=>"Donna", "lastname"=>"McGlynn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4300ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3453ms
Completed 200 OK in 8ms (Views: 6.6ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6170000'), "firstname"=>"Kobe", "lastname"=>"Lesch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4412ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6180000'), "firstname"=>"Era", "lastname"=>"Schumm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5304ddfa57353358a6180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304ddfa57353358a6180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2476ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6190000'), "firstname"=>"Krista", "lastname"=>"Crooks"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5304ddfa57353358a6190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304ddfa57353358a6190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304ddfa57353358a6190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms
Redirected to http://test.host/admin/clients/5304ddfa57353358a6190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a61a0000'), "firstname"=>"Dena", "lastname"=>"Volkman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3171ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1748ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a61b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4932ms
Redirected to http://test.host/clients/5304ddfa57353358a61b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1990ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a61c0000'), "firstname"=>"Elva", "lastname"=>"Collier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2370ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1695ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5304ddfa57353358a61c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304ddfa57353358a61c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2445ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304ddfa57353358a61c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2537ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1814ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a61d0000'), "firstname"=>"Austen", "lastname"=>"Hackett"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2473ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5304ddfa57353358a61d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304ddfa57353358a61d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a61e0000'), "firstname"=>"Rusty", "lastname"=>"Hickle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3418ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4290ms
Completed 200 OK in 41ms (Views: 40.3ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a61f0000'), "firstname"=>"Kendra", "lastname"=>"Willms"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6200000'), "firstname"=>"Alivia", "lastname"=>"Hoppe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4088ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5304ddfa57353358a6200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304ddfa57353358a6200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms
Completed 200 OK in 5ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6210000'), "firstname"=>"Audrey", "lastname"=>"Wehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3494ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5304ddfa57353358a6210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304ddfa57353358a6210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2560ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304ddfa57353358a6210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2814ms
Redirected to http://test.host/clients/5304ddfa57353358a6210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6220000'), "name"=>"Miss Audreanne Waelchi", "reference"=>"Dillon Sipes II", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4634ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3237ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4145ms
Redirected to http://test.host/products/5304ddfa57353358a6230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1621ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6240000'), "name"=>"Fanny Bartoletti DDS", "reference"=>"Ellen Runte IV", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3248ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1762ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5304ddfa57353358a6240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304ddfa57353358a6240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2577ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304ddfa57353358a6240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2591ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1815ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6250000'), "name"=>"Gilbert Weber", "reference"=>"Miss Minnie Luettgen", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2327ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5304ddfa57353358a6250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304ddfa57353358a6250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2163ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 9ms (Views: 7.9ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6260000'), "name"=>"Ryann Gutmann", "reference"=>"Winona Mertz DDS", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4171ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4776ms
Completed 200 OK in 11ms (Views: 10.6ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6270000'), "name"=>"Addie Gibson", "reference"=>"Carolina Rau", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3816ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3445ms
Completed 200 OK in 2ms (Views: 0.7ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6280000'), "name"=>"America Carter", "reference"=>"Ken Weber I", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3228ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5304ddfa57353358a6280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304ddfa57353358a6280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2618ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a6290000'), "name"=>"Dayana White", "reference"=>"Nestor Cremin", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2651ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 8ms (Views: 6.6ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a62b0000'), "name"=>"Barry Bogisich", "reference"=>"Aletha Feil", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4241ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5304ddfa57353358a62b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304ddfa57353358a62b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2332ms
Completed 200 OK in 5ms (Views: 3.6ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a62c0000'), "name"=>"Paris Harris", "reference"=>"Madie Donnelly", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4131ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1654ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a62d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2933ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1663ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304ddfa57353358a62e0000'), "name"=>"Nicola Weissnat", "reference"=>"Loren Altenwerth I", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2228ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5304ddfa57353358a62e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304ddfa57353358a62e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2445ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304ddfa57353358a62e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2397ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304ddfb57353358a62f0000'), "name"=>"Carolina Hackett", "reference"=>"Bernardo Johnston", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3118ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304ddfb57353358a6310000'), "name"=>"Tianna Nader", "reference"=>"Alberta Mante", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3978ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5304ddfb57353358a6310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304ddfb57353358a6310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304ddfb57353358a6310000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2808ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304ddfb57353358a6320000'), "name"=>"Ms. Peter Little", "reference"=>"Maggie Heaney", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2608ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5304ddfb57353358a6320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304ddfb57353358a6320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2429ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304ddfb57353358a6320000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2717ms
Redirected to http://test.host/products/5304ddfb57353358a6320000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304ddfb57353358a6330000'), "firstname"=>"Abe", "lastname"=>"Green"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4100ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1627ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304ddfb57353358a6340000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3142ms
Redirected to http://test.host/users/5304ddfb57353358a6340000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1878ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304ddfb57353358a6350000'), "firstname"=>"Ebba", "lastname"=>"Lehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1835ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5304ddfb57353358a6350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304ddfb57353358a6350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3833ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304ddfb57353358a6350000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2688ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1706ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304ddfb57353358a6360000'), "firstname"=>"Kyler", "lastname"=>"Ledner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2332ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5304ddfb57353358a6360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304ddfb57353358a6360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304ddfb57353358a6370000'), "firstname"=>"Nestor", "lastname"=>"Fahey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4027ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3886ms
Completed 200 OK in 10ms (Views: 9.8ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304ddfb57353358a6380000'), "firstname"=>"Kiara", "lastname"=>"Fadel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.3ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304ddfb57353358a6390000'), "firstname"=>"Jefferey", "lastname"=>"Gislason"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4176ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5304ddfb57353358a6390000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304ddfb57353358a6390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304ddfb57353358a63a0000'), "firstname"=>"Deonte", "lastname"=>"Kuhn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3845ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5304ddfb57353358a63a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304ddfb57353358a63a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2937ms
Unpermitted parameters: name
Redirected to http://test.host/users/5304ddfb57353358a63a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6695ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2948ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3121ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2410ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2420ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0000000'), "name"=>"Ms. Nikki Roob", "reference"=>"Milton Roob", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4530ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1622ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3683ms
Redirected to http://test.host/admin/products/5304e1205735335aa0010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1766ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0020000'), "name"=>"Jamarcus Klocko II", "reference"=>"Darien Graham", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3159ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1571ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5304e1205735335aa0020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304e1205735335aa0020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2285ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304e1205735335aa0020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3347ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2015ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0030000'), "name"=>"Jordi Pagac", "reference"=>"Miss Antwon Parisian", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2643ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5304e1205735335aa0030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304e1205735335aa0030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 200 OK in 55ms (Views: 53.5ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0040000'), "name"=>"Rae Hegmann Jr.", "reference"=>"Jedidiah Sawayn III", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4778ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms
Completed 200 OK in 7ms (Views: 6.9ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0050000'), "name"=>"Seth Douglas", "reference"=>"Mr. Judah Zieme", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3521ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 21ms (Views: 6.6ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0080000'), "name"=>"Lisette Mante", "reference"=>"Javon Cole Sr.", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4171ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5304e1205735335aa0080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304e1205735335aa0080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2741ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0090000'), "name"=>"Leann Breitenberg", "reference"=>"Nathan Price", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3887ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5304e1205735335aa0090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304e1205735335aa0090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2521ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304e1205735335aa0090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3078ms
Redirected to http://test.host/admin/products/5304e1205735335aa0090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa00a0000'), "firstname"=>"Lorna", "lastname"=>"Olson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3929ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1965ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa00b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4676ms
Redirected to http://test.host/admin/users/5304e1205735335aa00b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1979ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa00c0000'), "firstname"=>"Blanca", "lastname"=>"Witting"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3352ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2006ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5304e1205735335aa00c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304e1205735335aa00c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2926ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304e1205735335aa00c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3461ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2291ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa00d0000'), "firstname"=>"Ashton", "lastname"=>"Swaniawski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2520ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5304e1205735335aa00d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304e1205735335aa00d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa00e0000'), "firstname"=>"Bessie", "lastname"=>"Jacobi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4529ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3209ms
Completed 200 OK in 7ms (Views: 6.4ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa00f0000'), "firstname"=>"Howard", "lastname"=>"Casper"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0100000'), "firstname"=>"Haven", "lastname"=>"Gusikowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7462ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5304e1205735335aa0100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304e1205735335aa0100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2564ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0110000'), "firstname"=>"Jacinthe", "lastname"=>"Kerluke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4111ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5304e1205735335aa0110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304e1205735335aa0110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3405ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5304e1205735335aa0110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0120000'), "firstname"=>"Mack", "lastname"=>"Grimes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4545ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1879ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3457ms
Redirected to http://test.host/admin/clients/5304e1205735335aa0130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1943ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0140000'), "firstname"=>"Izabella", "lastname"=>"Considine"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3223ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1603ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5304e1205735335aa0140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304e1205735335aa0140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2511ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304e1205735335aa0140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2946ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1905ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0150000'), "firstname"=>"Lolita", "lastname"=>"Ernser"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2494ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5304e1205735335aa0150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304e1205735335aa0150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 10ms (Views: 9.0ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0160000'), "firstname"=>"Virgie", "lastname"=>"Doyle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4325ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3398ms
Completed 200 OK in 8ms (Views: 6.5ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0170000'), "firstname"=>"River", "lastname"=>"Monahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.0555ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 5.9ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0180000'), "firstname"=>"Maybell", "lastname"=>"Keeling"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4546ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5304e1205735335aa0180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304e1205735335aa0180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2576ms
Completed 200 OK in 6ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0190000'), "firstname"=>"Garland", "lastname"=>"Ruecker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5304e1205735335aa0190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304e1205735335aa0190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304e1205735335aa0190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3140ms
Redirected to http://test.host/admin/clients/5304e1205735335aa0190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa01a0000'), "firstname"=>"Jena", "lastname"=>"Macejkovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2677ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2207ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa01b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3442ms
Redirected to http://test.host/clients/5304e1205735335aa01b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2241ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa01c0000'), "firstname"=>"Brady", "lastname"=>"Watsica"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2671ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1643ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5304e1205735335aa01c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304e1205735335aa01c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3738ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304e1205735335aa01c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2633ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2069ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa01d0000'), "firstname"=>"Nya", "lastname"=>"Wolf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2470ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5304e1205735335aa01d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304e1205735335aa01d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa01e0000'), "firstname"=>"Virginie", "lastname"=>"Watsica"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3541ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4257ms
Completed 200 OK in 41ms (Views: 40.0ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa01f0000'), "firstname"=>"Hester", "lastname"=>"Sanford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0200000'), "firstname"=>"Darrell", "lastname"=>"Jerde"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8048ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5304e1205735335aa0200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304e1205735335aa0200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2478ms
Completed 200 OK in 5ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0210000'), "firstname"=>"Jarvis", "lastname"=>"Hahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3456ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5304e1205735335aa0210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304e1205735335aa0210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2551ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5304e1205735335aa0210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2827ms
Redirected to http://test.host/clients/5304e1205735335aa0210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0220000'), "name"=>"Stephany Lowe", "reference"=>"Forest Schuster", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4916ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1836ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3617ms
Redirected to http://test.host/products/5304e1205735335aa0230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1936ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0240000'), "name"=>"Ashlynn Ortiz", "reference"=>"Mathew Klein", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3299ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2207ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5304e1205735335aa0240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304e1205735335aa0240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2759ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304e1205735335aa0240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2587ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1781ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0250000'), "name"=>"Stuart O'Kon", "reference"=>"Elbert Cronin", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2549ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5304e1205735335aa0250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304e1205735335aa0250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2500ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0260000'), "name"=>"Ansley Koss", "reference"=>"Louie O'Hara", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4672ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4166ms
Completed 200 OK in 10ms (Views: 9.8ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0270000'), "name"=>"Tamara McCullough II", "reference"=>"Johnathan Kunze", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3635ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3372ms
Completed 200 OK in 2ms (Views: 0.7ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304e1205735335aa0280000'), "name"=>"Aglae Keeling", "reference"=>"Rogelio Brown", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3207ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5304e1205735335aa0280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304e1205735335aa0280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2580ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304e1215735335aa0290000'), "name"=>"Peyton Jacobi", "reference"=>"Sasha Kihn DVM", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2870ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 8ms (Views: 6.6ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304e1215735335aa02b0000'), "name"=>"Dixie Murphy", "reference"=>"Rosalia Sipes", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4315ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5304e1215735335aa02b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304e1215735335aa02b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2914ms
Completed 200 OK in 5ms (Views: 3.6ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304e1215735335aa02c0000'), "name"=>"Rashawn Abernathy", "reference"=>"Vinnie Treutel", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1645ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304e1215735335aa02d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3477ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2124ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304e1215735335aa02e0000'), "name"=>"Mikayla Witting", "reference"=>"Lawson Labadie", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2478ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5304e1215735335aa02e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304e1215735335aa02e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2503ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304e1215735335aa02e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2646ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304e1215735335aa02f0000'), "name"=>"Johnathan DuBuque IV", "reference"=>"Rocky Runte", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2466ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304e1215735335aa0310000'), "name"=>"Jude Moen", "reference"=>"Dario Leannon", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4120ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5304e1215735335aa0310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304e1215735335aa0310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2698ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304e1215735335aa0310000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2933ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5304e1215735335aa0320000'), "name"=>"Ronny Wiza", "reference"=>"Brent Erdman", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2799ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5304e1215735335aa0320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304e1215735335aa0320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2594ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5304e1215735335aa0320000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2950ms
Redirected to http://test.host/products/5304e1215735335aa0320000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304e1215735335aa0330000'), "firstname"=>"Bennett", "lastname"=>"Jacobson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4280ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1851ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304e1215735335aa0340000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3264ms
Redirected to http://test.host/users/5304e1215735335aa0340000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2000ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304e1215735335aa0350000'), "firstname"=>"Michele", "lastname"=>"Upton"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1800ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5304e1215735335aa0350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304e1215735335aa0350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3967ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304e1215735335aa0350000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2782ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1717ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304e1215735335aa0360000'), "firstname"=>"Kolby", "lastname"=>"Jerde"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2354ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5304e1215735335aa0360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304e1215735335aa0360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2412ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.9ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304e1215735335aa0370000'), "firstname"=>"Kane", "lastname"=>"Cormier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3459ms
Completed 200 OK in 10ms (Views: 9.7ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304e1215735335aa0380000'), "firstname"=>"Germaine", "lastname"=>"Pollich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4020ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.3ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304e1215735335aa0390000'), "firstname"=>"Ellis", "lastname"=>"Littel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4756ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5304e1215735335aa0390000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304e1215735335aa0390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2736ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5304e1215735335aa03a0000'), "firstname"=>"Einar", "lastname"=>"Lehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0608ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5304e1215735335aa03a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5304e1215735335aa03a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2624ms
Unpermitted parameters: name
Redirected to http://test.host/users/5304e1215735335aa03a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7035ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 3.2045ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4466ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3090ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3109ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305b51a5735330c51000000'), "name"=>"Oliver Sauer", "reference"=>"Raymundo Gusikowski", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4729ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2335ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305b51a5735330c51010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3866ms
Redirected to http://test.host/admin/products/5305b51a5735330c51010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2018ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305b51a5735330c51020000'), "name"=>"Trystan O'Hara", "reference"=>"Velda Hammes", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3638ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2262ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305b51a5735330c51020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305b51a5735330c51020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3071ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305b51a5735330c51020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3528ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2334ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305b51a5735330c51030000'), "name"=>"Kurtis Willms II", "reference"=>"Carole Howe", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3036ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305b51a5735330c51030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305b51a5735330c51030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3137ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (17.9ms)
Completed 200 OK in 265ms (Views: 263.4ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51040000'), "name"=>"Mrs. Patsy Gaylord", "reference"=>"Joshuah Legros", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4326ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3373ms
Completed 200 OK in 7ms (Views: 6.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51050000'), "name"=>"Mrs. Josefina Cronin", "reference"=>"Destany Weissnat", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3768ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 21ms (Views: 6.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51080000'), "name"=>"Mylene Tromp MD", "reference"=>"Mrs. Asa Stanton", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4367ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305b51b5735330c51080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305b51b5735330c51080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2520ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51090000'), "name"=>"Samir Oberbrunner", "reference"=>"Lonny Collier", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3975ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305b51b5735330c51090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305b51b5735330c51090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2591ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305b51b5735330c51090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3623ms
Redirected to http://test.host/admin/products/5305b51b5735330c51090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c510a0000'), "firstname"=>"Arch", "lastname"=>"Deckow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4120ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1995ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c510b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4211ms
Redirected to http://test.host/admin/users/5305b51b5735330c510b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3101ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c510c0000'), "firstname"=>"Creola", "lastname"=>"Feeney"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3385ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1772ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305b51b5735330c510c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305b51b5735330c510c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305b51b5735330c510c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2907ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1866ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c510d0000'), "firstname"=>"Jalon", "lastname"=>"Schumm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2450ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305b51b5735330c510d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305b51b5735330c510d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2731ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c510e0000'), "firstname"=>"Jaylan", "lastname"=>"Ernser"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0887ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms
Completed 200 OK in 7ms (Views: 6.4ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c510f0000'), "firstname"=>"Dillan", "lastname"=>"Toy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4193ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.9ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51100000'), "firstname"=>"Dorthy", "lastname"=>"Cormier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305b51b5735330c51100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305b51b5735330c51100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2355ms
Completed 200 OK in 5ms (Views: 3.5ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51110000'), "firstname"=>"Hosea", "lastname"=>"Wolff"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3855ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305b51b5735330c51110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305b51b5735330c51110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305b51b5735330c51110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51120000'), "firstname"=>"Xavier", "lastname"=>"Erdman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4462ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1844ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3530ms
Redirected to http://test.host/admin/clients/5305b51b5735330c51130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1957ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51140000'), "firstname"=>"Otho", "lastname"=>"Schmitt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3025ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1774ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305b51b5735330c51140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305b51b5735330c51140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2536ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305b51b5735330c51140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1888ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51150000'), "firstname"=>"Ahmad", "lastname"=>"Rosenbaum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2453ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305b51b5735330c51150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305b51b5735330c51150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 10ms (Views: 9.0ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51160000'), "firstname"=>"Robert", "lastname"=>"Ruecker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8429ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3173ms
Completed 200 OK in 8ms (Views: 6.5ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51170000'), "firstname"=>"Julia", "lastname"=>"O'Reilly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4211ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 6.0ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51180000'), "firstname"=>"Oren", "lastname"=>"O'Kon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4055ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305b51b5735330c51180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305b51b5735330c51180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51190000'), "firstname"=>"Betty", "lastname"=>"Hagenes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3791ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305b51b5735330c51190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305b51b5735330c51190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2609ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305b51b5735330c51190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2976ms
Redirected to http://test.host/admin/clients/5305b51b5735330c51190000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c511a0000'), "firstname"=>"Jeanette", "lastname"=>"Rohan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2642ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1748ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c511b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3123ms
Redirected to http://test.host/clients/5305b51b5735330c511b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1908ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c511c0000'), "firstname"=>"Rachael", "lastname"=>"Gibson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2313ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1615ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305b51b5735330c511c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305b51b5735330c511c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3111ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305b51b5735330c511c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3851ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3215ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c511d0000'), "firstname"=>"Royal", "lastname"=>"Smith"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2433ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305b51b5735330c511d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305b51b5735330c511d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3204ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c511e0000'), "firstname"=>"Colt", "lastname"=>"Zboncak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4097ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4623ms
Completed 200 OK in 42ms (Views: 41.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c511f0000'), "firstname"=>"Bud", "lastname"=>"Johnston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3792ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.6ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51200000'), "firstname"=>"Bert", "lastname"=>"Schinner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3993ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305b51b5735330c51200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305b51b5735330c51200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2776ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51210000'), "firstname"=>"Antwan", "lastname"=>"Reichel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3459ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305b51b5735330c51210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305b51b5735330c51210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2584ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305b51b5735330c51210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2788ms
Redirected to http://test.host/clients/5305b51b5735330c51210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51220000'), "name"=>"Wilfred Kutch", "reference"=>"Alena Bernier Jr.", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4280ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3242ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4419ms
Redirected to http://test.host/products/5305b51b5735330c51230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1950ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51240000'), "name"=>"Adah Yost", "reference"=>"Brandon Boyle", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3138ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2211ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305b51b5735330c51240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305b51b5735330c51240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2995ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305b51b5735330c51240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3265ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2280ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51250000'), "name"=>"Gonzalo Ullrich", "reference"=>"Boris Funk", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3009ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305b51b5735330c51250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305b51b5735330c51250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2972ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51260000'), "name"=>"Donavon Hilll", "reference"=>"Malinda Kub", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4943ms
Completed 200 OK in 11ms (Views: 10.5ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51270000'), "name"=>"Agustina Hintz", "reference"=>"Roger Bradtke", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3768ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3624ms
Completed 200 OK in 3ms (Views: 0.8ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51280000'), "name"=>"Clifford Kuphal", "reference"=>"Josefina Sanford", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3139ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305b51b5735330c51280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305b51b5735330c51280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2599ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51290000'), "name"=>"Mr. Coby Anderson", "reference"=>"Miss Vivianne Veum", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3064ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c512b0000'), "name"=>"Dr. Roselyn Cormier", "reference"=>"Tyreek Aufderhar", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4863ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305b51b5735330c512b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305b51b5735330c512b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3185ms
Completed 200 OK in 5ms (Views: 3.6ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c512c0000'), "name"=>"Margot Cronin", "reference"=>"Colby Rippin", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4057ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1959ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c512d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3085ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1854ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c512e0000'), "name"=>"Mr. Lucius Schowalter", "reference"=>"Tate Morar", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2376ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305b51b5735330c512e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305b51b5735330c512e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2558ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305b51b5735330c512e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2550ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c512f0000'), "name"=>"Hilario Ernser", "reference"=>"Ray Harber", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2626ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51310000'), "name"=>"Jazmyne Wiza", "reference"=>"Darlene Conn Jr.", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305b51b5735330c51310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305b51b5735330c51310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3086ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305b51b5735330c51310000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3521ms
Completed 202 Accepted in 4ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51320000'), "name"=>"Herminia Mitchell", "reference"=>"Mrs. Cheyanne Jakubowski", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3824ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305b51b5735330c51320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305b51b5735330c51320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2638ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305b51b5735330c51320000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2908ms
Redirected to http://test.host/products/5305b51b5735330c51320000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51330000'), "firstname"=>"May", "lastname"=>"Morissette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4411ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1869ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51340000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3296ms
Redirected to http://test.host/users/5305b51b5735330c51340000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2006ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51350000'), "firstname"=>"Stone", "lastname"=>"Marvin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3095ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1763ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305b51b5735330c51350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305b51b5735330c51350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2557ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305b51b5735330c51350000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2602ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2344ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51360000'), "firstname"=>"Chet", "lastname"=>"Mills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2910ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305b51b5735330c51360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305b51b5735330c51360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3904ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 9ms (Views: 7.2ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51370000'), "firstname"=>"Ima", "lastname"=>"Stamm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4075ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3554ms
Completed 200 OK in 10ms (Views: 9.7ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51380000'), "firstname"=>"Rahul", "lastname"=>"Morar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.1892ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.5ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c51390000'), "firstname"=>"Abigayle", "lastname"=>"Beahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4313ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305b51b5735330c51390000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305b51b5735330c51390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305b51b5735330c513a0000'), "firstname"=>"Jean", "lastname"=>"Schuster"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3932ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305b51b5735330c513a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305b51b5735330c513a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2520ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305b51b5735330c513a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6175ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2903ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3912ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3187ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3272ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c364573533130a000000'), "name"=>"Dallas Ledner Sr.", "reference"=>"Mrs. Ewell Rohan", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4606ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1792ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c364573533130a010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4216ms
Redirected to http://test.host/admin/products/5305c364573533130a010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2142ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c364573533130a020000'), "name"=>"Esther McCullough II", "reference"=>"Cynthia Gleason", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3279ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1912ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305c364573533130a020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c364573533130a020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2470ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c364573533130a020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3049ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2318ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c364573533130a030000'), "name"=>"Mr. Cristal Carroll", "reference"=>"Royal Abernathy III", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2991ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305c364573533130a030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c364573533130a030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2858ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.7ms)
Completed 200 OK in 53ms (Views: 51.5ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c364573533130a040000'), "name"=>"Christopher Heidenreich", "reference"=>"Mrs. Bart Carter", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4734ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms
Completed 200 OK in 7ms (Views: 6.9ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c364573533130a050000'), "name"=>"Kamille O'Reilly DDS", "reference"=>"Mr. Bernhard Lueilwitz", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3776ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 20ms (Views: 6.3ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c364573533130a080000'), "name"=>"Jasper Marvin", "reference"=>"Bret Koelpin MD", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4108ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305c364573533130a080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c364573533130a080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c364573533130a090000'), "name"=>"Delphine Grady MD", "reference"=>"Chesley Roob", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3935ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305c364573533130a090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c364573533130a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c364573533130a090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3209ms
Redirected to http://test.host/admin/products/5305c364573533130a090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c364573533130a0a0000'), "firstname"=>"Corbin", "lastname"=>"Satterfield"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3494ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3180ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c364573533130a0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4141ms
Redirected to http://test.host/admin/users/5305c364573533130a0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2512ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c364573533130a0c0000'), "firstname"=>"Benny", "lastname"=>"Jacobs"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3489ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2443ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305c364573533130a0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305c364573533130a0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2732ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305c364573533130a0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3407ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2290ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c364573533130a0d0000'), "firstname"=>"Loy", "lastname"=>"Tromp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2662ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305c364573533130a0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305c364573533130a0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2388ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c364573533130a0e0000'), "firstname"=>"Ladarius", "lastname"=>"Prohaska"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3798ms
Completed 200 OK in 7ms (Views: 7.0ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c364573533130a0f0000'), "firstname"=>"Alexane", "lastname"=>"Brekke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3791ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c364573533130a100000'), "firstname"=>"Maye", "lastname"=>"Spencer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305c364573533130a100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305c364573533130a100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2526ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c364573533130a110000'), "firstname"=>"Krystina", "lastname"=>"McCullough"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3948ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305c364573533130a110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305c364573533130a110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2541ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305c364573533130a110000
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c364573533130a120000'), "firstname"=>"Blair", "lastname"=>"Schiller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4184ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1910ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c364573533130a130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3484ms
Redirected to http://test.host/admin/clients/5305c364573533130a130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1935ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c364573533130a140000'), "firstname"=>"Imelda", "lastname"=>"Koepp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3009ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1733ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305c364573533130a140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305c364573533130a140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2473ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305c364573533130a140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2896ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2387ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c364573533130a150000'), "firstname"=>"Madaline", "lastname"=>"Beatty"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305c364573533130a150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305c364573533130a150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3644ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.4ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c364573533130a160000'), "firstname"=>"Devin", "lastname"=>"Lebsack"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4050ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2846ms
Completed 200 OK in 7ms (Views: 6.4ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c364573533130a170000'), "firstname"=>"Alejandra", "lastname"=>"Hyatt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4514ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.8ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c364573533130a180000'), "firstname"=>"Bailey", "lastname"=>"Goldner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4203ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305c364573533130a180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305c364573533130a180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms
Completed 200 OK in 6ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c364573533130a190000'), "firstname"=>"Angela", "lastname"=>"Kiehn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305c364573533130a190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305c364573533130a190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2455ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305c364573533130a190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 30.4139ms
Redirected to http://test.host/admin/clients/5305c364573533130a190000
Completed 302 Found in 34ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c364573533130a1a0000'), "firstname"=>"Kelvin", "lastname"=>"Kovacek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0260ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2707ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c364573533130a1b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4629ms
Redirected to http://test.host/clients/5305c364573533130a1b0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1990ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c364573533130a1c0000'), "firstname"=>"Rosario", "lastname"=>"King"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2391ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1720ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305c364573533130a1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305c364573533130a1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305c364573533130a1c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2575ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2134ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c364573533130a1d0000'), "firstname"=>"Brendon", "lastname"=>"Veum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2388ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305c364573533130a1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305c364573533130a1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2522ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c364573533130a1e0000'), "firstname"=>"Nia", "lastname"=>"Buckridge"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3561ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4319ms
Completed 200 OK in 11ms (Views: 10.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c364573533130a1f0000'), "firstname"=>"Wilburn", "lastname"=>"Corkery"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.6ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c364573533130a200000'), "firstname"=>"Alvina", "lastname"=>"Murazik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305c364573533130a200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305c364573533130a200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms
Completed 200 OK in 5ms (Views: 3.3ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c364573533130a210000'), "firstname"=>"Buddy", "lastname"=>"Kilback"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4356ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305c364573533130a210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305c364573533130a210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3347ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305c364573533130a210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms
Redirected to http://test.host/clients/5305c364573533130a210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c364573533130a220000'), "name"=>"Christa Koch", "reference"=>"Mrs. Colin Lindgren", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4217ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1769ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c364573533130a230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3355ms
Redirected to http://test.host/products/5305c364573533130a230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1896ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c364573533130a240000'), "name"=>"Dayne Wolff III", "reference"=>"Caleigh Bruen", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3159ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1770ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305c364573533130a240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c364573533130a240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2413ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c364573533130a240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2540ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1817ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c364573533130a250000'), "name"=>"Orland Keebler", "reference"=>"Kristina Rolfson", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3605ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305c364573533130a250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c364573533130a250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3747ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 10ms (Views: 8.4ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c364573533130a260000'), "name"=>"Richie Reynolds", "reference"=>"Mireya Fritsch", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4148ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4009ms
Completed 200 OK in 11ms (Views: 10.0ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c364573533130a270000'), "name"=>"Ellie Wyman", "reference"=>"Omari Hilll Sr.", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3756ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3566ms
Completed 200 OK in 3ms (Views: 0.8ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c364573533130a280000'), "name"=>"Millie Howe", "reference"=>"Ottis Franecki", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4894ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305c364573533130a280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c364573533130a280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3628ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c364573533130a290000'), "name"=>"Mr. Soledad Dach", "reference"=>"Vallie Wolff", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3478ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 40ms (Views: 39.1ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c364573533130a2b0000'), "name"=>"Trenton Daugherty DVM", "reference"=>"Ernestina Klocko", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4253ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305c364573533130a2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c364573533130a2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms
Completed 200 OK in 5ms (Views: 3.7ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c364573533130a2c0000'), "name"=>"Archibald Erdman", "reference"=>"Effie Dooley", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4447ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2601ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c364573533130a2d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4246ms
Completed 201 Created in 3ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1762ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c364573533130a2e0000'), "name"=>"Araceli Kassulke", "reference"=>"Mr. Adella Wunsch", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2807ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305c364573533130a2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c364573533130a2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2787ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c364573533130a2e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2719ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c364573533130a2f0000'), "name"=>"Unique Rodriguez", "reference"=>"Meggie Kertzmann", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3265ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c364573533130a310000'), "name"=>"Lawson Gleason II", "reference"=>"Preston Hodkiewicz Sr.", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4283ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305c364573533130a310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c364573533130a310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3019ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c364573533130a310000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3351ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c364573533130a320000'), "name"=>"Noemi Schaefer", "reference"=>"Angeline Mitchell II", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3112ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305c364573533130a320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c364573533130a320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2986ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c364573533130a320000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3770ms
Redirected to http://test.host/products/5305c364573533130a320000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c364573533130a330000'), "firstname"=>"Wendy", "lastname"=>"Quigley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8667ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2295ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c364573533130a340000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3751ms
Redirected to http://test.host/users/5305c364573533130a340000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2396ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c364573533130a350000'), "firstname"=>"Alayna", "lastname"=>"Emard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3053ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1754ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305c364573533130a350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305c364573533130a350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2834ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305c364573533130a350000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2586ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1812ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c364573533130a360000'), "firstname"=>"Patricia", "lastname"=>"Runolfsdottir"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2420ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305c364573533130a360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305c364573533130a360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2417ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 7.2ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c364573533130a370000'), "firstname"=>"Cassidy", "lastname"=>"O'Keefe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4659ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms
Completed 200 OK in 10ms (Views: 9.8ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c364573533130a380000'), "firstname"=>"Estell", "lastname"=>"Kunze"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c364573533130a390000'), "firstname"=>"Mariam", "lastname"=>"Schmidt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3996ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305c364573533130a390000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305c364573533130a390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c364573533130a3a0000'), "firstname"=>"Shannon", "lastname"=>"Harvey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4745ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305c364573533130a3a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305c364573533130a3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3534ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305c364573533130a3a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6162ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3103ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3601ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2979ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3311ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c9105735331773000000'), "name"=>"Mr. Jaquan Towne", "reference"=>"Mrs. Brody Connelly", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4574ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1921ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c9105735331773010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7831ms
Redirected to http://test.host/admin/products/5305c9105735331773010000
Completed 302 Found in 5ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2092ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c9105735331773020000'), "name"=>"Adolph Schimmel", "reference"=>"Evalyn Bayer PhD", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3264ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1797ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305c9105735331773020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c9105735331773020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2953ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c9105735331773020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3463ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2347ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c9105735331773030000'), "name"=>"Ms. Quinten Erdman", "reference"=>"Tatyana Cruickshank", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3031ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305c9105735331773030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c9105735331773030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3147ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms)
Completed 200 OK in 53ms (Views: 51.6ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c9105735331773040000'), "name"=>"Myah Rogahn", "reference"=>"Hoyt Maggio IV", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4274ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3359ms
Completed 200 OK in 7ms (Views: 6.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c9105735331773050000'), "name"=>"Dwight Collins", "reference"=>"Violette Green", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3619ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 20ms (Views: 6.3ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c9105735331773080000'), "name"=>"Amir Schoen", "reference"=>"Chaya Mitchell", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.5611ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305c9105735331773080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c9105735331773080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2915ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c9105735331773090000'), "name"=>"Miss Ferne Fahey", "reference"=>"Yasmin Bauch V", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4463ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305c9105735331773090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c9105735331773090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2584ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c9105735331773090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3257ms
Redirected to http://test.host/admin/products/5305c9105735331773090000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c91057353317730a0000'), "firstname"=>"Donna", "lastname"=>"Witting"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4240ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1454ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c91057353317730b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3130ms
Redirected to http://test.host/admin/users/5305c91057353317730b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1935ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c91057353317730c0000'), "firstname"=>"Leo", "lastname"=>"Connelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3002ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1738ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305c91057353317730c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305c91057353317730c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2926ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305c91057353317730c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2315ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c91057353317730d0000'), "firstname"=>"Broderick", "lastname"=>"Weber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2750ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305c91057353317730d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305c91057353317730d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2443ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c91057353317730e0000'), "firstname"=>"Twila", "lastname"=>"Monahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4172ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3751ms
Completed 200 OK in 7ms (Views: 6.8ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c91057353317730f0000'), "firstname"=>"Joey", "lastname"=>"Wunsch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3499ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.9ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c9105735331773100000'), "firstname"=>"Serenity", "lastname"=>"Baumbach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305c9105735331773100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305c9105735331773100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2345ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c9105735331773110000'), "firstname"=>"Marielle", "lastname"=>"Nolan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3365ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305c9105735331773110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305c9105735331773110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3316ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305c9105735331773110000
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c9105735331773120000'), "firstname"=>"Mac", "lastname"=>"Gleichner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4954ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1862ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c9105735331773130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3475ms
Redirected to http://test.host/admin/clients/5305c9105735331773130000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2306ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c9105735331773140000'), "firstname"=>"Lewis", "lastname"=>"Crist"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4682ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1860ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305c9105735331773140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305c9105735331773140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3125ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305c9105735331773140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3242ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1899ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c9105735331773150000'), "firstname"=>"Watson", "lastname"=>"Langworth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2465ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305c9105735331773150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305c9105735331773150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.4ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c9105735331773160000'), "firstname"=>"Hershel", "lastname"=>"Oberbrunner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4568ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3204ms
Completed 200 OK in 8ms (Views: 6.8ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c9105735331773170000'), "firstname"=>"Crystel", "lastname"=>"Nikolaus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4193ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c9115735331773180000'), "firstname"=>"Pierce", "lastname"=>"Goldner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4080ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305c9115735331773180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305c9115735331773180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c9115735331773190000'), "firstname"=>"Alford", "lastname"=>"Jaskolski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3836ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305c9115735331773190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305c9115735331773190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3665ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305c9115735331773190000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4875ms
Redirected to http://test.host/admin/clients/5305c9115735331773190000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c91157353317731a0000'), "firstname"=>"Darrion", "lastname"=>"Gislason"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4492ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1848ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c91157353317731b0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4156ms
Redirected to http://test.host/clients/5305c91157353317731b0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1991ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c91157353317731c0000'), "firstname"=>"Lionel", "lastname"=>"Hegmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2437ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1772ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305c91157353317731c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305c91157353317731c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2603ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305c91157353317731c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2613ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1878ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c91157353317731d0000'), "firstname"=>"Luciano", "lastname"=>"Quitzon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2507ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305c91157353317731d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305c91157353317731d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2519ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c91157353317731e0000'), "firstname"=>"Khalil", "lastname"=>"Conroy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3604ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4540ms
Completed 200 OK in 11ms (Views: 10.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c91157353317731f0000'), "firstname"=>"Anastacio", "lastname"=>"Legros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.6ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c9115735331773200000'), "firstname"=>"Nyah", "lastname"=>"Hoppe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3849ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305c9115735331773200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305c9115735331773200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2485ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305c9115735331773210000'), "firstname"=>"Mandy", "lastname"=>"Ankunding"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4082ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305c9115735331773210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305c9115735331773210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3333ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305c9115735331773210000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2684ms
Redirected to http://test.host/clients/5305c9115735331773210000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c9115735331773220000'), "name"=>"Lexie Pagac", "reference"=>"Gerry Murphy I", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4154ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1772ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c9115735331773230000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3471ms
Redirected to http://test.host/products/5305c9115735331773230000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1928ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c9115735331773240000'), "name"=>"Mrs. Elijah Roberts", "reference"=>"Ms. Alden Boehm", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3232ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1766ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305c9115735331773240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c9115735331773240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c9115735331773240000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2577ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1850ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c9115735331773250000'), "name"=>"Dr. Stacy Kirlin", "reference"=>"Cristian Mraz Sr.", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2551ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305c9115735331773250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c9115735331773250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms)
Completed 200 OK in 10ms (Views: 8.7ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c9115735331773260000'), "name"=>"Agustin Daniel DDS", "reference"=>"Maxime O'Keefe", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7473ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3755ms
Completed 200 OK in 11ms (Views: 10.1ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c9115735331773270000'), "name"=>"Miss Emerson Skiles", "reference"=>"Constantin Breitenberg", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3576ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3537ms
Completed 200 OK in 3ms (Views: 0.8ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c9115735331773280000'), "name"=>"Emilia Cummerata", "reference"=>"Dangelo Jacobs PhD", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4467ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305c9115735331773280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c9115735331773280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c9115735331773290000'), "name"=>"Mrs. Estell Stamm", "reference"=>"Lucile Fritsch", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3047ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 39ms (Views: 38.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c91157353317732b0000'), "name"=>"Miss Fritz Harris", "reference"=>"Delaney Langworth", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4263ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305c91157353317732b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c91157353317732b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2568ms
Completed 200 OK in 5ms (Views: 3.7ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c91157353317732c0000'), "name"=>"Roxanne Kuphal", "reference"=>"Mrs. Dannie O'Hara", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1998ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c91157353317732d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4499ms
Completed 201 Created in 3ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1765ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c91157353317732e0000'), "name"=>"Billy Daugherty I", "reference"=>"Mrs. Zola Schulist", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2676ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305c91157353317732e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c91157353317732e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2756ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c91157353317732e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2609ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c91157353317732f0000'), "name"=>"Mrs. Domenica Ruecker", "reference"=>"Reba Schimmel V", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2781ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c9115735331773310000'), "name"=>"Ms. Sister Bayer", "reference"=>"Darrel Jones", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3790ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305c9115735331773310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c9115735331773310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2599ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c9115735331773310000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2882ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305c9115735331773320000'), "name"=>"Jo Ryan DDS", "reference"=>"Paige Huels", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8818ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305c9115735331773320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c9115735331773320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3411ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305c9115735331773320000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3858ms
Redirected to http://test.host/products/5305c9115735331773320000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c9115735331773330000'), "firstname"=>"Vinnie", "lastname"=>"Reilly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4246ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1806ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c9115735331773340000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3308ms
Redirected to http://test.host/users/5305c9115735331773340000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1918ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c9115735331773350000'), "firstname"=>"Barrett", "lastname"=>"Luettgen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2997ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1750ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305c9115735331773350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305c9115735331773350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305c9115735331773350000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2645ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1859ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c9115735331773360000'), "firstname"=>"Hazle", "lastname"=>"Kessler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2453ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305c9115735331773360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305c9115735331773360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c9115735331773370000'), "firstname"=>"Michael", "lastname"=>"O'Kon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3991ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3512ms
Completed 200 OK in 10ms (Views: 9.7ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c9115735331773380000'), "firstname"=>"Adelia", "lastname"=>"Gottlieb"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3516ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c9115735331773390000'), "firstname"=>"Bridgette", "lastname"=>"Heidenreich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4091ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305c9115735331773390000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305c9115735331773390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2534ms
Completed 200 OK in 5ms (Views: 3.8ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305c91157353317733a0000'), "firstname"=>"Marc", "lastname"=>"Mayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4607ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305c91157353317733a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305c91157353317733a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2510ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305c91157353317733a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6487ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3283ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3581ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2956ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2878ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca225735331933000000'), "name"=>"Euna Farrell III", "reference"=>"Santos Connelly", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4538ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1834ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca225735331933010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4171ms
Redirected to http://test.host/admin/products/5305ca225735331933010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2208ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca225735331933020000'), "name"=>"Arnulfo Kihn", "reference"=>"Elfrieda Cormier", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3199ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2212ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305ca225735331933020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca225735331933020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca225735331933020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3056ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1899ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca225735331933030000'), "name"=>"Leon Waters", "reference"=>"Herbert Marvin", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2642ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305ca225735331933030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca225735331933030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2748ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms)
Completed 200 OK in 53ms (Views: 51.8ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca225735331933040000'), "name"=>"Mrs. Stevie McCullough", "reference"=>"Miss Kari Sanford", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4920ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3384ms
Completed 200 OK in 7ms (Views: 6.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca225735331933050000'), "name"=>"Will Zemlak", "reference"=>"Joany Wuckert II", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3609ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 21ms (Views: 6.5ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca225735331933080000'), "name"=>"Jedidiah King", "reference"=>"Miss Amir Lang", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4316ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305ca225735331933080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca225735331933080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2588ms
Completed 200 OK in 5ms (Views: 3.8ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca225735331933090000'), "name"=>"Mrs. Tessie Kilback", "reference"=>"William Hilpert I", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4150ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305ca225735331933090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca225735331933090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca225735331933090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3390ms
Redirected to http://test.host/admin/products/5305ca225735331933090000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca2257353319330a0000'), "firstname"=>"Kellen", "lastname"=>"Bernhard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4210ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2257ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca2257353319330b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4754ms
Redirected to http://test.host/admin/users/5305ca2257353319330b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2058ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca2257353319330c0000'), "firstname"=>"Eugenia", "lastname"=>"Gutkowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3114ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1776ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305ca2257353319330c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca2257353319330c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2492ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca2257353319330c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2928ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1883ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca2257353319330d0000'), "firstname"=>"Roberto", "lastname"=>"Williamson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2432ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305ca2257353319330d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca2257353319330d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 36ms (Views: 35.0ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca2257353319330e0000'), "firstname"=>"Jewell", "lastname"=>"Jacobson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4202ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3304ms
Completed 200 OK in 7ms (Views: 6.7ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca2257353319330f0000'), "firstname"=>"Mylene", "lastname"=>"Bradtke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4340ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.2ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca225735331933100000'), "firstname"=>"Vita", "lastname"=>"Howell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4157ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305ca225735331933100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca225735331933100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2495ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca225735331933110000'), "firstname"=>"Michael", "lastname"=>"Keebler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3930ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305ca225735331933110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca225735331933110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2554ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305ca225735331933110000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ca225735331933120000'), "firstname"=>"Cristal", "lastname"=>"Ward"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1860ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1957ms
Processing by AdministratorsController#create as HTML
Parameters: {"admin"=>{"firstname"=>"Hello"}}
Completed 400 Bad Request in 1ms
-------------------------------------------------
AdministratorsControllerTest: test_should_destroy
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ca225735331933130000'), "firstname"=>"Neil", "lastname"=>"Bauch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3789ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1802ms
Processing by AdministratorsController#destroy as HTML
Parameters: {"id"=>"5305ca225735331933130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305ca225735331933130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305ca225735331933130000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms
Completed 500 Internal Server Error in 4ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ca225735331933140000'), "firstname"=>"Carlee", "lastname"=>"Kohler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3234ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305ca225735331933140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305ca225735331933140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2572ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 9ms (Views: 7.8ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ca225735331933150000'), "firstname"=>"Lina", "lastname"=>"Bartoletti"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4439ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 4.9ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ca225735331933160000'), "firstname"=>"Lucius", "lastname"=>"Gleichner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4185ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305ca225735331933160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305ca225735331933160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms
Completed 200 OK in 5ms (Views: 3.5ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ca225735331933170000'), "firstname"=>"Osvaldo", "lastname"=>"Cremin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3857ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305ca225735331933170000", "admin"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305ca225735331933170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2465ms
Completed 400 Bad Request in 1ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca235735331933180000'), "firstname"=>"Kendall", "lastname"=>"Corwin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4884ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1969ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca235735331933190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3564ms
Redirected to http://test.host/admin/clients/5305ca235735331933190000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2372ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca2357353319331a0000'), "firstname"=>"Adan", "lastname"=>"Hamill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3460ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1848ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305ca2357353319331a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca2357353319331a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2794ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca2357353319331a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2766ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1893ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca2357353319331b0000'), "firstname"=>"Vivianne", "lastname"=>"Kertzmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2429ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305ca2357353319331b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca2357353319331b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2250ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 10ms (Views: 8.5ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca2357353319331c0000'), "firstname"=>"Darlene", "lastname"=>"Pollich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4573ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms
Completed 200 OK in 8ms (Views: 7.2ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca2357353319331d0000'), "firstname"=>"Idella", "lastname"=>"Reilly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4230ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca2357353319331e0000'), "firstname"=>"Hillard", "lastname"=>"King"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4103ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305ca2357353319331e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca2357353319331e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2460ms
Completed 200 OK in 6ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca2357353319331f0000'), "firstname"=>"Coleman", "lastname"=>"Mosciski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5610ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305ca2357353319331f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca2357353319331f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3242ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca2357353319331f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3656ms
Redirected to http://test.host/admin/clients/5305ca2357353319331f0000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca235735331933200000'), "firstname"=>"Gardner", "lastname"=>"Lockman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3201ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2113ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca235735331933210000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3459ms
Redirected to http://test.host/clients/5305ca235735331933210000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2320ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca235735331933220000'), "firstname"=>"Edmund", "lastname"=>"Mayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2362ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1715ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305ca235735331933220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca235735331933220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2411ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca235735331933220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2520ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1791ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca235735331933230000'), "firstname"=>"Bonita", "lastname"=>"Morissette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2396ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305ca235735331933230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca235735331933230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2440ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca235735331933240000'), "firstname"=>"Kale", "lastname"=>"Berge"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4083ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4072ms
Completed 200 OK in 41ms (Views: 40.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca235735331933250000'), "firstname"=>"Dennis", "lastname"=>"Kub"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca235735331933260000'), "firstname"=>"Arielle", "lastname"=>"Kihn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3909ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305ca235735331933260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca235735331933260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3766ms
Completed 200 OK in 5ms (Views: 3.7ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca235735331933270000'), "firstname"=>"Tevin", "lastname"=>"O'Kon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4265ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305ca235735331933270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca235735331933270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3099ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca235735331933270000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3087ms
Redirected to http://test.host/clients/5305ca235735331933270000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca235735331933280000'), "name"=>"Devyn Graham", "reference"=>"Tod Cummings", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3848ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2289ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca235735331933290000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms
Redirected to http://test.host/products/5305ca235735331933290000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1958ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca2357353319332a0000'), "name"=>"Janelle Jones DDS", "reference"=>"Miss Jensen Ebert", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3717ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2400ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305ca2357353319332a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca2357353319332a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3396ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca2357353319332a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3009ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1990ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca2357353319332b0000'), "name"=>"Edna Runte DVM", "reference"=>"Odell Reynolds", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2691ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305ca2357353319332b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca2357353319332b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca2357353319332c0000'), "name"=>"Barney Lynch", "reference"=>"Curtis Hand", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4189ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3723ms
Completed 200 OK in 11ms (Views: 10.1ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca2357353319332d0000'), "name"=>"Ulices Deckow Jr.", "reference"=>"Irwin McClure", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3847ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3442ms
Completed 200 OK in 2ms (Views: 0.7ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca2357353319332e0000'), "name"=>"Daphney Reinger", "reference"=>"Narciso Quigley", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3047ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305ca2357353319332e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca2357353319332e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2572ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca2357353319332f0000'), "name"=>"Kayden Parisian", "reference"=>"Marc Bergnaum V", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2928ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.1ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca235735331933310000'), "name"=>"Olin Brown", "reference"=>"Julia Walsh", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4093ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305ca235735331933310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca235735331933310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms
Completed 200 OK in 5ms (Views: 4.0ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca235735331933320000'), "name"=>"Creola Koepp", "reference"=>"Stephan Blick I", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1929ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca235735331933330000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3326ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1865ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca235735331933340000'), "name"=>"Angelina Adams", "reference"=>"Nichole Durgan", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2431ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305ca235735331933340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca235735331933340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2678ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca235735331933340000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2526ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca235735331933350000'), "name"=>"Antoinette Ward", "reference"=>"Mr. Vernie Upton", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2654ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca235735331933370000'), "name"=>"Melyssa Purdy MD", "reference"=>"Cayla Robel", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3765ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305ca235735331933370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca235735331933370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2599ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca235735331933370000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2842ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca235735331933380000'), "name"=>"Alysson Gutkowski", "reference"=>"Velva Spencer", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2830ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305ca235735331933380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca235735331933380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 31.2302ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca235735331933380000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3788ms
Redirected to http://test.host/products/5305ca235735331933380000
Completed 302 Found in 35ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca235735331933390000'), "firstname"=>"Trisha", "lastname"=>"Herzog"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2124ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca2357353319333a0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms
Redirected to http://test.host/users/5305ca2357353319333a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2429ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca2357353319333b0000'), "firstname"=>"Rhiannon", "lastname"=>"Daugherty"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3458ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2343ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305ca2357353319333b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca2357353319333b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3087ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca2357353319333b0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2911ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1881ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca2357353319333c0000'), "firstname"=>"Anastacio", "lastname"=>"Von"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2709ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305ca2357353319333c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca2357353319333c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2537ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 9ms (Views: 7.8ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca2357353319333d0000'), "firstname"=>"Blanca", "lastname"=>"Veum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4551ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3657ms
Completed 200 OK in 11ms (Views: 10.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca2357353319333e0000'), "firstname"=>"Bertrand", "lastname"=>"West"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3575ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca2357353319333f0000'), "firstname"=>"Elfrieda", "lastname"=>"Armstrong"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4047ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305ca2357353319333f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca2357353319333f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms
Completed 200 OK in 6ms (Views: 4.3ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca235735331933400000'), "firstname"=>"Gaetano", "lastname"=>"Mitchell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4278ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305ca235735331933400000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca235735331933400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2414ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305ca235735331933400000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6239ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3102ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4082ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3481ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3208ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2837ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca43573533195d000000'), "name"=>"Sylvan Mosciski II", "reference"=>"Ashtyn Kuphal", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4539ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1610ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca43573533195d010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.9319ms
Redirected to http://test.host/admin/products/5305ca43573533195d010000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2140ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca43573533195d020000'), "name"=>"Nico Jacobson", "reference"=>"Herminia Deckow", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3305ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1884ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305ca43573533195d020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca43573533195d020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca43573533195d020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2339ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca43573533195d030000'), "name"=>"Mr. Edwina Herzog", "reference"=>"Ines Heathcote", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3047ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305ca43573533195d030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca43573533195d030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2959ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 200 OK in 53ms (Views: 52.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca43573533195d040000'), "name"=>"Elisabeth Satterfield PhD", "reference"=>"Garrick Pouros", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4670ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3318ms
Completed 200 OK in 7ms (Views: 6.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca43573533195d050000'), "name"=>"Dr. Conner Toy", "reference"=>"Abelardo DuBuque", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3584ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 20ms (Views: 6.5ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca43573533195d080000'), "name"=>"Jarret Davis", "reference"=>"Devin Kirlin", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6099ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305ca43573533195d080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca43573533195d080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2663ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca43573533195d090000'), "name"=>"Makenzie Grady", "reference"=>"Miss Tristin Abernathy", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4022ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305ca43573533195d090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca43573533195d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2520ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca43573533195d090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3221ms
Redirected to http://test.host/admin/products/5305ca43573533195d090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca43573533195d0a0000'), "firstname"=>"Ceasar", "lastname"=>"Greenholt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4739ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1806ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca43573533195d0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3206ms
Redirected to http://test.host/admin/users/5305ca43573533195d0b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1924ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca43573533195d0c0000'), "firstname"=>"Jeanette", "lastname"=>"Hansen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3262ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1759ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305ca43573533195d0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca43573533195d0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca43573533195d0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2935ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1845ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca43573533195d0d0000'), "firstname"=>"Lambert", "lastname"=>"Greenholt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2557ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305ca43573533195d0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca43573533195d0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 36ms (Views: 34.6ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca43573533195d0e0000'), "firstname"=>"Erick", "lastname"=>"Ferry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4250ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3534ms
Completed 200 OK in 8ms (Views: 7.4ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca43573533195d0f0000'), "firstname"=>"Christa", "lastname"=>"Runolfsson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3900ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca43573533195d100000'), "firstname"=>"Ambrose", "lastname"=>"Weimann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4156ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305ca43573533195d100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca43573533195d100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2524ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca43573533195d110000'), "firstname"=>"Glenda", "lastname"=>"Vandervort"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3932ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305ca43573533195d110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca43573533195d110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2613ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305ca43573533195d110000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ca43573533195d120000'), "firstname"=>"Kamille", "lastname"=>"Towne"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4407ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1839ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ca43573533195d130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3329ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1909ms
-------------------------------------------------
AdministratorsControllerTest: test_should_destroy
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ca43573533195d140000'), "firstname"=>"Elsie", "lastname"=>"O'Hara"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3088ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1744ms
Processing by AdministratorsController#destroy as HTML
Parameters: {"id"=>"5305ca43573533195d140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305ca43573533195d140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2445ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305ca43573533195d140000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3063ms
Completed 500 Internal Server Error in 4ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ca43573533195d150000'), "firstname"=>"Sandy", "lastname"=>"Langworth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3401ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305ca43573533195d150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305ca43573533195d150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3945ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.3ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d160000'), "firstname"=>"Tracy", "lastname"=>"Casper"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4055ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 4.9ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d170000'), "firstname"=>"Jordi", "lastname"=>"Thiel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305ca44573533195d170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305ca44573533195d170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms
Completed 200 OK in 5ms (Views: 3.5ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d180000'), "firstname"=>"Zelma", "lastname"=>"Bayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3871ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305ca44573533195d180000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305ca44573533195d180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2646ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d190000'), "firstname"=>"Ottilie", "lastname"=>"Macejkovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4345ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1659ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d1a0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms
Redirected to http://test.host/admin/clients/5305ca44573533195d1a0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2134ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d1b0000'), "firstname"=>"Liliane", "lastname"=>"Schmeler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3258ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1893ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305ca44573533195d1b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca44573533195d1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4268ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca44573533195d1b0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5212ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2783ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d1c0000'), "firstname"=>"Darrel", "lastname"=>"Effertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2835ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305ca44573533195d1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca44573533195d1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3056ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 10ms (Views: 8.6ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d1d0000'), "firstname"=>"Lincoln", "lastname"=>"Larkin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4615ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3536ms
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d1e0000'), "firstname"=>"Narciso", "lastname"=>"Gleason"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4361ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.8ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d1f0000'), "firstname"=>"Viviane", "lastname"=>"Daniel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4168ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305ca44573533195d1f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca44573533195d1f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2567ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d200000'), "firstname"=>"Jensen", "lastname"=>"Ebert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3886ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305ca44573533195d200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca44573533195d200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2837ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca44573533195d200000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3427ms
Redirected to http://test.host/admin/clients/5305ca44573533195d200000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d210000'), "firstname"=>"Kaci", "lastname"=>"Carroll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1803ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d220000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3171ms
Redirected to http://test.host/clients/5305ca44573533195d220000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1895ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d230000'), "firstname"=>"Woodrow", "lastname"=>"Muller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2300ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1695ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305ca44573533195d230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca44573533195d230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2427ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca44573533195d230000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2520ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1822ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d240000'), "firstname"=>"Kenyatta", "lastname"=>"Rippin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2561ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305ca44573533195d240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca44573533195d240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2423ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d250000'), "firstname"=>"Natalie", "lastname"=>"Spencer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3492ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3679ms
Completed 200 OK in 41ms (Views: 40.0ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d260000'), "firstname"=>"Cordie", "lastname"=>"Jast"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4200ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d270000'), "firstname"=>"Kieran", "lastname"=>"Sauer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305ca44573533195d270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca44573533195d270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2618ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d280000'), "firstname"=>"Dexter", "lastname"=>"Cruickshank"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305ca44573533195d280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca44573533195d280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2568ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca44573533195d280000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2784ms
Redirected to http://test.host/clients/5305ca44573533195d280000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d290000'), "name"=>"Kieran Yundt", "reference"=>"Fay Feil", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4708ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3218ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d2a0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4291ms
Redirected to http://test.host/products/5305ca44573533195d2a0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1995ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d2b0000'), "name"=>"Miracle Lehner", "reference"=>"Ignacio Bauch Sr.", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3219ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1807ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305ca44573533195d2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca44573533195d2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2682ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca44573533195d2b0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2600ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1855ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d2c0000'), "name"=>"Bart Lynch", "reference"=>"Alycia Funk", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2535ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305ca44573533195d2c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca44573533195d2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d2d0000'), "name"=>"Loyal Kohler", "reference"=>"Samanta Mills", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4189ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4338ms
Completed 200 OK in 11ms (Views: 10.5ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d2e0000'), "name"=>"Billy Runolfsson", "reference"=>"Dolly Waters", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3618ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3627ms
Completed 200 OK in 3ms (Views: 0.7ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d2f0000'), "name"=>"Alexandrea Streich", "reference"=>"Thaddeus Harvey", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3045ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305ca44573533195d2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca44573533195d2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d300000'), "name"=>"Daniela Becker", "reference"=>"Moses Conn", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3060ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 8ms (Views: 6.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d320000'), "name"=>"Hermina Upton DVM", "reference"=>"Heaven Larson", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4379ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305ca44573533195d320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca44573533195d320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2526ms
Completed 200 OK in 5ms (Views: 3.7ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d330000'), "name"=>"Ari Ebert", "reference"=>"Anastasia Beahan", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4013ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1783ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d340000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3176ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1937ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d350000'), "name"=>"Jaida Brekke", "reference"=>"Brenden Crooks V", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2426ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305ca44573533195d350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca44573533195d350000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2699ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca44573533195d350000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2528ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d360000'), "name"=>"Caterina Streich", "reference"=>"Mr. Odessa Swaniawski", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2861ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d380000'), "name"=>"Mr. Eleazar Rice", "reference"=>"Joan Ferry Jr.", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305ca44573533195d380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca44573533195d380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3593ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca44573533195d380000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3071ms
Completed 202 Accepted in 4ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d390000'), "name"=>"Zion Rogahn II", "reference"=>"Andreanne Bahringer", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2736ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305ca44573533195d390000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca44573533195d390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2570ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca44573533195d390000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2914ms
Redirected to http://test.host/products/5305ca44573533195d390000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d3a0000'), "firstname"=>"Amely", "lastname"=>"Zieme"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4267ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1879ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d3b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9415ms
Redirected to http://test.host/users/5305ca44573533195d3b0000
Completed 302 Found in 7ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2511ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d3c0000'), "firstname"=>"Urban", "lastname"=>"Carroll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3862ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2097ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305ca44573533195d3c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca44573533195d3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca44573533195d3c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2615ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1892ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d3d0000'), "firstname"=>"Douglas", "lastname"=>"Swaniawski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2461ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305ca44573533195d3d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca44573533195d3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.9ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d3e0000'), "firstname"=>"Marlen", "lastname"=>"Rowe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4180ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3591ms
Completed 200 OK in 11ms (Views: 10.2ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d3f0000'), "firstname"=>"Gudrun", "lastname"=>"Collins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3892ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d400000'), "firstname"=>"Rossie", "lastname"=>"Crona"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4151ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305ca44573533195d400000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca44573533195d400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2587ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca44573533195d410000'), "firstname"=>"Johann", "lastname"=>"Friesen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3975ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305ca44573533195d410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca44573533195d410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305ca44573533195d410000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6125ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2949ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3393ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3045ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3310ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2887ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988000000'), "name"=>"Ms. Marion Buckridge", "reference"=>"Isai Daniel", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4532ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1801ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4077ms
Redirected to http://test.host/admin/products/5305ca5a5735331988010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2015ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988020000'), "name"=>"Adrianna Hyatt II", "reference"=>"Miss Gerhard Padberg", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3362ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1459ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305ca5a5735331988020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca5a5735331988020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1992ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca5a5735331988020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2581ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1444ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988030000'), "name"=>"Elsa Kuhic", "reference"=>"Sidney Barton", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2049ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305ca5a5735331988030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca5a5735331988030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1958ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.8ms)
Completed 200 OK in 53ms (Views: 52.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988040000'), "name"=>"Jerry DuBuque", "reference"=>"Leanna Donnelly", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4134ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3357ms
Completed 200 OK in 7ms (Views: 6.7ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988050000'), "name"=>"Mr. Cristian Dach", "reference"=>"Mozell Jacobs", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3554ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 21ms (Views: 6.5ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988080000'), "name"=>"Evert O'Hara Jr.", "reference"=>"Richmond Leannon", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8254ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305ca5a5735331988080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca5a5735331988080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988090000'), "name"=>"Eliezer Upton III", "reference"=>"Dortha Bergstrom", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3969ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305ca5a5735331988090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca5a5735331988090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca5a5735331988090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3085ms
Redirected to http://test.host/admin/products/5305ca5a5735331988090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca5a57353319880a0000'), "firstname"=>"Mona", "lastname"=>"Keebler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4712ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1861ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca5a57353319880b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3230ms
Redirected to http://test.host/admin/users/5305ca5a57353319880b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2219ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca5a57353319880c0000'), "firstname"=>"Calista", "lastname"=>"Harber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3586ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1696ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305ca5a57353319880c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca5a57353319880c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2702ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca5a57353319880c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1817ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca5a57353319880d0000'), "firstname"=>"Elliott", "lastname"=>"Friesen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2473ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305ca5a57353319880d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca5a57353319880d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 39ms (Views: 37.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca5a57353319880e0000'), "firstname"=>"Gilberto", "lastname"=>"Zieme"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5646ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4109ms
Completed 200 OK in 8ms (Views: 7.7ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca5a57353319880f0000'), "firstname"=>"Concepcion", "lastname"=>"Abshire"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4047ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.2ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988100000'), "firstname"=>"Carlie", "lastname"=>"Moen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4540ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305ca5a5735331988100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca5a5735331988100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2214ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988110000'), "firstname"=>"Devon", "lastname"=>"Kuhlman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5600ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305ca5a5735331988110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca5a5735331988110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3661ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305ca5a5735331988110000
Completed 302 Found in 3ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988120000'), "firstname"=>"Maida", "lastname"=>"Anderson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4818ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2323ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4085ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2236ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988140000'), "firstname"=>"Zachary", "lastname"=>"Hauck"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3323ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305ca5a5735331988140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305ca5a5735331988140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4095ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.3ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988150000'), "firstname"=>"Mervin", "lastname"=>"Batz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4237ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 4.9ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988160000'), "firstname"=>"Aniya", "lastname"=>"Leffler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305ca5a5735331988160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305ca5a5735331988160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms
Completed 200 OK in 5ms (Views: 3.5ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988170000'), "firstname"=>"Jeremy", "lastname"=>"Pacocha"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4109ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305ca5a5735331988170000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305ca5a5735331988170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3625ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988180000'), "firstname"=>"Kenya", "lastname"=>"Murazik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4659ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1874ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms
Redirected to http://test.host/admin/clients/5305ca5a5735331988190000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1812ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca5a57353319881a0000'), "firstname"=>"Chanel", "lastname"=>"Fay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3825ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2285ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305ca5a57353319881a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca5a57353319881a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3501ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca5a57353319881a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3067ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 28.4997ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca5a57353319881b0000'), "firstname"=>"Francisco", "lastname"=>"Jenkins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3312ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305ca5a57353319881b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca5a57353319881b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3935ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 12ms (Views: 8.6ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca5a57353319881c0000'), "firstname"=>"Haskell", "lastname"=>"Flatley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3289ms
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca5a57353319881d0000'), "firstname"=>"Reanna", "lastname"=>"Abernathy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4307ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.8ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca5a57353319881e0000'), "firstname"=>"Kasey", "lastname"=>"Pagac"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4077ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305ca5a57353319881e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca5a57353319881e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca5a57353319881f0000'), "firstname"=>"Liza", "lastname"=>"Langosh"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305ca5a57353319881f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca5a57353319881f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3882ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca5a57353319881f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3630ms
Redirected to http://test.host/admin/clients/5305ca5a57353319881f0000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988200000'), "firstname"=>"Bethel", "lastname"=>"Barrows"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2835ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1794ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988210000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3008ms
Redirected to http://test.host/clients/5305ca5a5735331988210000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1893ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988220000'), "firstname"=>"Xander", "lastname"=>"Luettgen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2329ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1709ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305ca5a5735331988220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca5a5735331988220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca5a5735331988220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2540ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1844ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988230000'), "firstname"=>"Catharine", "lastname"=>"McClure"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2468ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305ca5a5735331988230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca5a5735331988230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2438ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988240000'), "firstname"=>"Cordell", "lastname"=>"Goyette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3528ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3822ms
Completed 200 OK in 11ms (Views: 10.2ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988250000'), "firstname"=>"Tremaine", "lastname"=>"Gorczany"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3825ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988260000'), "firstname"=>"Mackenzie", "lastname"=>"Brekke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305ca5a5735331988260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca5a5735331988260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988270000'), "firstname"=>"Carmella", "lastname"=>"Erdman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4271ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305ca5a5735331988270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca5a5735331988270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4314ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ca5a5735331988270000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3292ms
Redirected to http://test.host/clients/5305ca5a5735331988270000
Completed 302 Found in 6ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988280000'), "name"=>"Maurine Deckow", "reference"=>"Gerardo Ernser", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4247ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1859ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988290000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3578ms
Redirected to http://test.host/products/5305ca5a5735331988290000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2041ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca5a57353319882a0000'), "name"=>"Dr. Mitchel Carroll", "reference"=>"Lea Will", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3081ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1820ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305ca5a57353319882a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca5a57353319882a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca5a57353319882a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2668ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1887ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca5a57353319882b0000'), "name"=>"Evelyn Kulas", "reference"=>"Sheridan Padberg", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3695ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305ca5a57353319882b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca5a57353319882b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3573ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 10ms (Views: 8.3ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca5a57353319882c0000'), "name"=>"Dr. Drew Douglas", "reference"=>"Kylee Brown", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4204ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3848ms
Completed 200 OK in 10ms (Views: 9.9ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca5a57353319882d0000'), "name"=>"Meaghan Walsh", "reference"=>"Wilton Stehr", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3628ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3758ms
Completed 200 OK in 3ms (Views: 0.8ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca5a57353319882e0000'), "name"=>"George Balistreri", "reference"=>"Selmer Bradtke", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4102ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305ca5a57353319882e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca5a57353319882e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2722ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca5a57353319882f0000'), "name"=>"Lisandro Erdman", "reference"=>"Carson Purdy", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2975ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 7ms (Views: 6.1ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988310000'), "name"=>"Lucio Aufderhar", "reference"=>"Dr. Rhea Schroeder", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4333ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305ca5a5735331988310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca5a5735331988310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2609ms
Completed 200 OK in 5ms (Views: 3.6ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988320000'), "name"=>"Jade Bogan", "reference"=>"Gerhard Lang", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3974ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1819ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988330000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3719ms
Completed 201 Created in 3ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3229ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988340000'), "name"=>"Riley Wiegand", "reference"=>"Kaleb Hudson", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2899ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305ca5a5735331988340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca5a5735331988340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2708ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca5a5735331988340000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2588ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988350000'), "name"=>"Marcus Smith", "reference"=>"Gregory Nitzsche IV", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2814ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988370000'), "name"=>"Jennie McGlynn IV", "reference"=>"Miss Mckayla Hodkiewicz", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305ca5a5735331988370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca5a5735331988370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2572ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca5a5735331988370000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2860ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988380000'), "name"=>"Frances Auer DVM", "reference"=>"Jeffrey Harber", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2688ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305ca5a5735331988380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca5a5735331988380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ca5a5735331988380000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2798ms
Redirected to http://test.host/products/5305ca5a5735331988380000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988390000'), "firstname"=>"Jesus", "lastname"=>"Hane"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4970ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3095ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca5a57353319883a0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3688ms
Redirected to http://test.host/users/5305ca5a57353319883a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2088ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca5a57353319883b0000'), "firstname"=>"Josianne", "lastname"=>"Lockman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3134ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1857ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305ca5a57353319883b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca5a57353319883b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3859ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca5a57353319883b0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3006ms
Redirected to http://test.host/users
Completed 302 Found in 33ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2951ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca5a57353319883c0000'), "firstname"=>"Adrianna", "lastname"=>"Watsica"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2777ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305ca5a57353319883c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca5a57353319883c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2640ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 9ms (Views: 7.3ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca5a57353319883d0000'), "firstname"=>"Geo", "lastname"=>"Pouros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4031ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4314ms
Completed 200 OK in 11ms (Views: 10.8ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca5a57353319883e0000'), "firstname"=>"Zander", "lastname"=>"Jerde"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca5a57353319883f0000'), "firstname"=>"Lynn", "lastname"=>"Heathcote"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4758ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305ca5a57353319883f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca5a57353319883f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ca5a5735331988400000'), "firstname"=>"Mariam", "lastname"=>"Watsica"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4527ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305ca5a5735331988400000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ca5a5735331988400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4184ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305ca5a5735331988400000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6596ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3112ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3302ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2695ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2637ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2089ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e000000'), "name"=>"Ashtyn Buckridge", "reference"=>"Jameson Hudson", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4627ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1822ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4108ms
Redirected to http://test.host/admin/products/5305cb995735331d6e010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1968ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e020000'), "name"=>"Trystan Bode", "reference"=>"Ashlynn Gottlieb I", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3185ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1751ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305cb995735331d6e020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cb995735331d6e020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cb995735331d6e020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2973ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1887ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e030000'), "name"=>"Otilia Kuhn III", "reference"=>"Miss Bert Adams", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2593ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305cb995735331d6e030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cb995735331d6e030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2538ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms)
Completed 200 OK in 54ms (Views: 53.1ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e040000'), "name"=>"Halie Jacobi", "reference"=>"Wilfredo Howell", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4387ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3324ms
Completed 200 OK in 7ms (Views: 6.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e050000'), "name"=>"Celia Bartoletti I", "reference"=>"Fredrick Pagac", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3559ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 21ms (Views: 6.5ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e080000'), "name"=>"Patrick Carroll", "reference"=>"Evangeline Kub", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4278ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305cb995735331d6e080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cb995735331d6e080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2567ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e090000'), "name"=>"Ocie Feeney", "reference"=>"Providenci Auer", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4007ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cb995735331d6e090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cb995735331d6e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cb995735331d6e090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3242ms
Redirected to http://test.host/admin/products/5305cb995735331d6e090000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e0a0000'), "firstname"=>"Elena", "lastname"=>"Bailey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4203ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2159ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4618ms
Redirected to http://test.host/admin/users/5305cb995735331d6e0b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2276ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e0c0000'), "firstname"=>"Hollis", "lastname"=>"Christiansen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3177ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1740ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305cb995735331d6e0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cb995735331d6e0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cb995735331d6e0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2960ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1873ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e0d0000'), "firstname"=>"Pearl", "lastname"=>"Davis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2445ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305cb995735331d6e0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cb995735331d6e0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2586ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 37ms (Views: 35.9ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e0e0000'), "firstname"=>"Annie", "lastname"=>"Prosacco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4172ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms
Completed 200 OK in 8ms (Views: 7.0ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e0f0000'), "firstname"=>"Emmanuel", "lastname"=>"Kovacek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4458ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e100000'), "firstname"=>"Newell", "lastname"=>"Rath"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4143ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305cb995735331d6e100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cb995735331d6e100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e110000'), "firstname"=>"Giovanna", "lastname"=>"Macejkovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2603ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305cb995735331d6e110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cb995735331d6e110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2553ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305cb995735331d6e110000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e120000'), "firstname"=>"Karli", "lastname"=>"Zemlak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4452ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1835ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3409ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1887ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e140000'), "firstname"=>"Destiney", "lastname"=>"Steuber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3009ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305cb995735331d6e140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cb995735331d6e140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.0ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e150000'), "firstname"=>"Brenda", "lastname"=>"Heathcote"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 6ms (Views: 5.5ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e160000'), "firstname"=>"Alysha", "lastname"=>"Klein"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4232ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305cb995735331d6e160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cb995735331d6e160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2482ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e170000'), "firstname"=>"Ewald", "lastname"=>"Langosh"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3945ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305cb995735331d6e170000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cb995735331d6e170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2456ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e180000'), "firstname"=>"Miguel", "lastname"=>"Bergstrom"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4762ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1845ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3382ms
Redirected to http://test.host/admin/clients/5305cb995735331d6e190000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1936ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e1a0000'), "firstname"=>"Federico", "lastname"=>"Eichmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3094ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1737ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305cb995735331d6e1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cb995735331d6e1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2536ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cb995735331d6e1a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3069ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 28.5243ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e1b0000'), "firstname"=>"Flavie", "lastname"=>"Bernhard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3267ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305cb995735331d6e1b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cb995735331d6e1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3486ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms)
Completed 200 OK in 12ms (Views: 9.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e1c0000'), "firstname"=>"Enrique", "lastname"=>"O'Hara"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4336ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3522ms
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e1d0000'), "firstname"=>"Misty", "lastname"=>"Lang"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4353ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 6.5ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e1e0000'), "firstname"=>"Kaley", "lastname"=>"Ward"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4140ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305cb995735331d6e1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cb995735331d6e1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e1f0000'), "firstname"=>"Annabel", "lastname"=>"Bashirian"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3937ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305cb995735331d6e1f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cb995735331d6e1f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cb995735331d6e1f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3127ms
Redirected to http://test.host/admin/clients/5305cb995735331d6e1f0000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e200000'), "firstname"=>"Herminio", "lastname"=>"Terry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2664ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1735ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e210000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2911ms
Redirected to http://test.host/clients/5305cb995735331d6e210000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1837ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e220000'), "firstname"=>"Vicenta", "lastname"=>"Schinner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2395ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1690ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305cb995735331d6e220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cb995735331d6e220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2225ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cb995735331d6e220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2157ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e230000'), "firstname"=>"Amber", "lastname"=>"Dare"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4130ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305cb995735331d6e230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cb995735331d6e230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3283ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e240000'), "firstname"=>"Jack", "lastname"=>"Spinka"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3635ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3642ms
Completed 200 OK in 10ms (Views: 9.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e250000'), "firstname"=>"Declan", "lastname"=>"Stracke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3965ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 4.9ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e260000'), "firstname"=>"Jade", "lastname"=>"Volkman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305cb995735331d6e260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cb995735331d6e260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e270000'), "firstname"=>"Euna", "lastname"=>"Gislason"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4307ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305cb995735331d6e270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cb995735331d6e270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3497ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cb995735331d6e270000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2960ms
Redirected to http://test.host/clients/5305cb995735331d6e270000
Completed 302 Found in 5ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e280000'), "name"=>"Otha Streich", "reference"=>"Mrs. Jeffery Strosin", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4266ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2611ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e290000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4300ms
Redirected to http://test.host/products/5305cb995735331d6e290000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2173ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e2a0000'), "name"=>"Sammy Beahan", "reference"=>"Ignatius Krajcik", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3324ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1797ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305cb995735331d6e2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cb995735331d6e2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2551ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cb995735331d6e2a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2670ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1876ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e2b0000'), "name"=>"Ernest Feest IV", "reference"=>"Ethyl Rempel", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2641ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305cb995735331d6e2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cb995735331d6e2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2529ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 9ms (Views: 8.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e2c0000'), "name"=>"Brooklyn Kuhic", "reference"=>"Mrs. Coleman Ebert", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4220ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4347ms
Completed 200 OK in 11ms (Views: 10.6ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e2d0000'), "name"=>"Mrs. Martin Raynor", "reference"=>"Fiona Swift", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3601ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3385ms
Completed 200 OK in 2ms (Views: 0.7ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e2e0000'), "name"=>"Flo Smitham", "reference"=>"Miss Magnolia Friesen", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3053ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305cb995735331d6e2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cb995735331d6e2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2563ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cb995735331d6e2f0000'), "name"=>"Lilliana Morissette", "reference"=>"Ms. Mervin Medhurst", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2912ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 8ms (Views: 6.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cb9a5735331d6e310000'), "name"=>"Scotty Dickens", "reference"=>"Theo Gislason", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4334ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305cb9a5735331d6e310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cb9a5735331d6e310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2495ms
Completed 200 OK in 5ms (Views: 3.6ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cb9a5735331d6e320000'), "name"=>"Jarrod Lesch", "reference"=>"Andre Rosenbaum", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3855ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1820ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cb9a5735331d6e330000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3110ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1860ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cb9a5735331d6e340000'), "name"=>"Bell Witting", "reference"=>"Nola Maggio", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2437ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305cb9a5735331d6e340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cb9a5735331d6e340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cb9a5735331d6e340000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2570ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cb9a5735331d6e350000'), "name"=>"Ms. Jamel Rutherford", "reference"=>"Watson Mante", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2647ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cb9a5735331d6e370000'), "name"=>"Mrs. Toni Emard", "reference"=>"Marquise Mosciski DVM", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4208ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cb9a5735331d6e370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cb9a5735331d6e370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3577ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cb9a5735331d6e370000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2954ms
Completed 202 Accepted in 4ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cb9a5735331d6e380000'), "name"=>"Laron Mann", "reference"=>"Ms. Crawford Schaden", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cb9a5735331d6e380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cb9a5735331d6e380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2534ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cb9a5735331d6e380000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2750ms
Redirected to http://test.host/products/5305cb9a5735331d6e380000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cb9a5735331d6e390000'), "firstname"=>"Chelsey", "lastname"=>"Emard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3975ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2520ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cb9a5735331d6e3a0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3326ms
Redirected to http://test.host/users/5305cb9a5735331d6e3a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1585ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cb9a5735331d6e3b0000'), "firstname"=>"Tierra", "lastname"=>"Langosh"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3072ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1757ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305cb9a5735331d6e3b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cb9a5735331d6e3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3396ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cb9a5735331d6e3b0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3028ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2878ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cb9a5735331d6e3c0000'), "firstname"=>"Ralph", "lastname"=>"Greenfelder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2805ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305cb9a5735331d6e3c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cb9a5735331d6e3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2640ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 9ms (Views: 7.3ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cb9a5735331d6e3d0000'), "firstname"=>"Domenico", "lastname"=>"Pfannerstill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3588ms
Completed 200 OK in 11ms (Views: 10.1ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cb9a5735331d6e3e0000'), "firstname"=>"Elian", "lastname"=>"Adams"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3560ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cb9a5735331d6e3f0000'), "firstname"=>"Juliet", "lastname"=>"Weimann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4650ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305cb9a5735331d6e3f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cb9a5735331d6e3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2765ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cb9a5735331d6e400000'), "firstname"=>"Sheila", "lastname"=>"Runte"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305cb9a5735331d6e400000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cb9a5735331d6e400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2461ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305cb9a5735331d6e400000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6368ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2895ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2926ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2197ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2927ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e000000'), "name"=>"Elouise Bernhard", "reference"=>"Kendra Stracke Sr.", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4507ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1788ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4343ms
Redirected to http://test.host/admin/products/5305cbe15735331d9e010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2263ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e020000'), "name"=>"Reanna Marks", "reference"=>"Dr. Filomena Gulgowski", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3694ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2252ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305cbe15735331d9e020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbe15735331d9e020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3142ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbe15735331d9e020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3721ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2049ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e030000'), "name"=>"Bertrand Hettinger", "reference"=>"Mr. Clifford Wiegand", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2571ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305cbe15735331d9e030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbe15735331d9e030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2832ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.8ms)
Completed 200 OK in 54ms (Views: 52.7ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e040000'), "name"=>"Halie Marks MD", "reference"=>"Gavin Beier", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4684ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3327ms
Completed 200 OK in 7ms (Views: 6.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e050000'), "name"=>"Magnolia Gutkowski", "reference"=>"Florian Hilll", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3536ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 20ms (Views: 6.5ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e080000'), "name"=>"Chase Langosh", "reference"=>"Mikel Jast", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4227ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305cbe15735331d9e080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbe15735331d9e080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e090000'), "name"=>"Miss Linnie Lind", "reference"=>"Rodger Considine MD", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3969ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cbe15735331d9e090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbe15735331d9e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2479ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbe15735331d9e090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3320ms
Redirected to http://test.host/admin/products/5305cbe15735331d9e090000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e0a0000'), "firstname"=>"Oren", "lastname"=>"Corwin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4221ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2184ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4405ms
Redirected to http://test.host/admin/users/5305cbe15735331d9e0b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1766ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e0c0000'), "firstname"=>"Shad", "lastname"=>"Hirthe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2983ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1561ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305cbe15735331d9e0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cbe15735331d9e0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2874ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cbe15735331d9e0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3125ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1962ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e0d0000'), "firstname"=>"Cortney", "lastname"=>"Abernathy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2552ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305cbe15735331d9e0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cbe15735331d9e0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 37ms (Views: 36.0ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e0e0000'), "firstname"=>"Kailee", "lastname"=>"Welch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4177ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3277ms
Completed 200 OK in 7ms (Views: 6.7ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e0f0000'), "firstname"=>"Kianna", "lastname"=>"Fay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4465ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e100000'), "firstname"=>"Johnson", "lastname"=>"Blanda"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4276ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305cbe15735331d9e100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cbe15735331d9e100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2532ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e110000'), "firstname"=>"Hilbert", "lastname"=>"Anderson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3928ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305cbe15735331d9e110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cbe15735331d9e110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305cbe15735331d9e110000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e120000'), "firstname"=>"Nicolas", "lastname"=>"Weissnat"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4595ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1834ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3386ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2382ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e140000'), "firstname"=>"Christa", "lastname"=>"Leffler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3596ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305cbe15735331d9e140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cbe15735331d9e140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2755ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.0ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e150000'), "firstname"=>"Antwan", "lastname"=>"Christiansen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4378ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 6ms (Views: 5.7ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e160000'), "firstname"=>"Verdie", "lastname"=>"Kulas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8332ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305cbe15735331d9e160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cbe15735331d9e160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms
Completed 200 OK in 5ms (Views: 3.5ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e170000'), "firstname"=>"Sienna", "lastname"=>"Bogisich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305cbe15735331d9e170000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cbe15735331d9e170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e180000'), "firstname"=>"Bill", "lastname"=>"Dach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4444ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1828ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3486ms
Redirected to http://test.host/admin/clients/5305cbe15735331d9e190000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1940ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e1a0000'), "firstname"=>"Kendrick", "lastname"=>"Kovacek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2998ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1890ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305cbe15735331d9e1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cbe15735331d9e1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cbe15735331d9e1a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2918ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3824ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e1b0000'), "firstname"=>"Chester", "lastname"=>"Barrows"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2742ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305cbe15735331d9e1b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cbe15735331d9e1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3424ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms)
Completed 200 OK in 13ms (Views: 9.5ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e1c0000'), "firstname"=>"Micheal", "lastname"=>"Luettgen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4166ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3345ms
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e1d0000'), "firstname"=>"Kenyatta", "lastname"=>"Turner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4560ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 6.1ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e1e0000'), "firstname"=>"Chase", "lastname"=>"Jacobson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305cbe15735331d9e1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cbe15735331d9e1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2601ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e1f0000'), "firstname"=>"Courtney", "lastname"=>"Crona"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3937ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305cbe15735331d9e1f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cbe15735331d9e1f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cbe15735331d9e1f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3140ms
Redirected to http://test.host/admin/clients/5305cbe15735331d9e1f0000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e200000'), "firstname"=>"Murray", "lastname"=>"Ruecker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2667ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1777ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e210000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2950ms
Redirected to http://test.host/clients/5305cbe15735331d9e210000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1842ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e220000'), "firstname"=>"Tiffany", "lastname"=>"Purdy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2323ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1667ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305cbe15735331d9e220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cbe15735331d9e220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3099ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cbe15735331d9e220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3046ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e230000'), "firstname"=>"Darwin", "lastname"=>"Tremblay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2615ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305cbe15735331d9e230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cbe15735331d9e230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e240000'), "firstname"=>"Maxie", "lastname"=>"Stokes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3551ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3658ms
Completed 200 OK in 10ms (Views: 9.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e250000'), "firstname"=>"Chet", "lastname"=>"Bergstrom"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbe15735331d9e260000'), "firstname"=>"Bartholome", "lastname"=>"Yundt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4312ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305cbe15735331d9e260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cbe15735331d9e260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2440ms
Completed 200 OK in 34ms (Views: 33.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbe25735331d9e270000'), "firstname"=>"Ivy", "lastname"=>"O'Kon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4156ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305cbe25735331d9e270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cbe25735331d9e270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3548ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cbe25735331d9e270000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2970ms
Redirected to http://test.host/clients/5305cbe25735331d9e270000
Completed 302 Found in 5ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbe25735331d9e280000'), "name"=>"Mrs. Devyn Adams", "reference"=>"Shany Brakus", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5494ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2150ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbe25735331d9e290000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3661ms
Redirected to http://test.host/products/5305cbe25735331d9e290000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2044ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbe25735331d9e2a0000'), "name"=>"Ms. Casandra Abshire", "reference"=>"Judge Buckridge", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3377ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1786ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305cbe25735331d9e2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbe25735331d9e2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbe25735331d9e2a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2647ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1870ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbe25735331d9e2b0000'), "name"=>"Mr. Yasmine Hammes", "reference"=>"Devin Haley", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2612ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305cbe25735331d9e2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbe25735331d9e2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2522ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 9ms (Views: 8.2ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbe25735331d9e2c0000'), "name"=>"Erica Batz III", "reference"=>"Francesca DuBuque", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4982ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4057ms
Completed 200 OK in 10ms (Views: 10.0ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbe25735331d9e2d0000'), "name"=>"Anthony Stracke IV", "reference"=>"Garry Purdy", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3577ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3376ms
Completed 200 OK in 2ms (Views: 0.7ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbe25735331d9e2e0000'), "name"=>"Leora Thiel", "reference"=>"Dr. Luis Welch", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3101ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305cbe25735331d9e2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbe25735331d9e2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbe25735331d9e2f0000'), "name"=>"Michel Sporer", "reference"=>"Ms. Sarai Kozey", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2877ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 8ms (Views: 6.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbe25735331d9e310000'), "name"=>"Chanelle Klein", "reference"=>"Montana Wuckert", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4167ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305cbe25735331d9e310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbe25735331d9e310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2677ms
Completed 200 OK in 5ms (Views: 3.7ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbe25735331d9e320000'), "name"=>"Dallas West", "reference"=>"Lavonne Littel III", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3816ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1797ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbe25735331d9e330000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3153ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1847ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbe25735331d9e340000'), "name"=>"Mr. Devan Kessler", "reference"=>"Eveline Kassulke", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2393ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305cbe25735331d9e340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbe25735331d9e340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2542ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbe25735331d9e340000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2308ms
Completed 200 OK in 2ms (Views: 0.2ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbe25735331d9e350000'), "name"=>"Chaz Lebsack", "reference"=>"Alva McDermott", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3849ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbe25735331d9e370000'), "name"=>"Mohammed Bogisich", "reference"=>"Ottilie Stamm IV", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4360ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cbe25735331d9e370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbe25735331d9e370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2583ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbe25735331d9e370000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2840ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbe25735331d9e380000'), "name"=>"Waylon Murazik", "reference"=>"Hayden Mosciski", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2685ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cbe25735331d9e380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbe25735331d9e380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbe25735331d9e380000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2754ms
Redirected to http://test.host/products/5305cbe25735331d9e380000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbe25735331d9e390000'), "firstname"=>"Magnolia", "lastname"=>"Franecki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4114ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1806ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbe25735331d9e3a0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3152ms
Redirected to http://test.host/users/5305cbe25735331d9e3a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2186ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbe25735331d9e3b0000'), "firstname"=>"Ewell", "lastname"=>"Homenick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3823ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2769ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305cbe25735331d9e3b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cbe25735331d9e3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3427ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cbe25735331d9e3b0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2754ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2287ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbe25735331d9e3c0000'), "firstname"=>"Madelynn", "lastname"=>"Anderson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2689ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305cbe25735331d9e3c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cbe25735331d9e3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2645ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 9ms (Views: 7.4ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbe25735331d9e3d0000'), "firstname"=>"Broderick", "lastname"=>"West"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4075ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3608ms
Completed 200 OK in 11ms (Views: 10.3ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbe25735331d9e3e0000'), "firstname"=>"Monserrate", "lastname"=>"Hessel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.1ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbe25735331d9e3f0000'), "firstname"=>"Constantin", "lastname"=>"Casper"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0809ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305cbe25735331d9e3f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cbe25735331d9e3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbe25735331d9e400000'), "firstname"=>"Jana", "lastname"=>"Kihn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3840ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305cbe25735331d9e400000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cbe25735331d9e400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2460ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305cbe25735331d9e400000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6842ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3053ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4047ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3031ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3126ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2943ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8000000'), "name"=>"Lorna Harber", "reference"=>"Maude Rath", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4578ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1789ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4102ms
Redirected to http://test.host/admin/products/5305cbf05735331dc8010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1951ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8020000'), "name"=>"Joseph Effertz", "reference"=>"Zita Rohan", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3532ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1753ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305cbf05735331dc8020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2999ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3456ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2333ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8030000'), "name"=>"Cedrick Armstrong", "reference"=>"Daija Goodwin", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3225ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305cbf05735331dc8030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2992ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms)
Completed 200 OK in 54ms (Views: 52.7ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8040000'), "name"=>"Leslie Lueilwitz", "reference"=>"Mrs. Justus Jacobs", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4798ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3303ms
Completed 200 OK in 7ms (Views: 6.7ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8050000'), "name"=>"Rod Ledner IV", "reference"=>"Shawn Kling", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4961ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 21ms (Views: 6.1ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8080000'), "name"=>"Janiya Dietrich", "reference"=>"Ms. Jeremie Metz", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4580ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305cbf05735331dc8080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2563ms
Completed 200 OK in 5ms (Views: 3.9ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8090000'), "name"=>"Sally Jenkins", "reference"=>"Briana Hayes", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4333ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cbf05735331dc8090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3066ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3700ms
Redirected to http://test.host/admin/products/5305cbf05735331dc8090000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc80a0000'), "firstname"=>"Susana", "lastname"=>"Wilkinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4631ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2393ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc80b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4177ms
Redirected to http://test.host/admin/users/5305cbf05735331dc80b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1818ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc80c0000'), "firstname"=>"Pearline", "lastname"=>"Kuhlman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2893ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1579ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305cbf05735331dc80c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cbf05735331dc80c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2366ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cbf05735331dc80c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2775ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1658ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc80d0000'), "firstname"=>"Tabitha", "lastname"=>"Prohaska"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2347ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305cbf05735331dc80d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cbf05735331dc80d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2316ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 37ms (Views: 35.6ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc80e0000'), "firstname"=>"Lon", "lastname"=>"Lakin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4604ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3004ms
Completed 200 OK in 8ms (Views: 7.1ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc80f0000'), "firstname"=>"Wilfred", "lastname"=>"Rogahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3712ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8100000'), "firstname"=>"Hilario", "lastname"=>"Friesen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4244ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305cbf05735331dc8100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2574ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8110000'), "firstname"=>"Karianne", "lastname"=>"McKenzie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305cbf05735331dc8110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2572ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305cbf05735331dc8110000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8120000'), "firstname"=>"Kaci", "lastname"=>"Predovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4488ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1819ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3396ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2465ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8140000'), "firstname"=>"Art", "lastname"=>"Kuhn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3497ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305cbf05735331dc8140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2976ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8150000'), "firstname"=>"Kelli", "lastname"=>"Corkery"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4918ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8160000'), "firstname"=>"Laurence", "lastname"=>"Kilback"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4314ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305cbf05735331dc8160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8170000'), "firstname"=>"Carissa", "lastname"=>"Ritchie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3902ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305cbf05735331dc8170000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2461ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8180000'), "firstname"=>"Savannah", "lastname"=>"Lynch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4708ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1901ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.9251ms
Redirected to http://test.host/admin/clients/5305cbf05735331dc8190000
Completed 302 Found in 5ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2417ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc81a0000'), "firstname"=>"Krystel", "lastname"=>"Homenick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3111ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1753ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305cbf05735331dc81a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cbf05735331dc81a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cbf05735331dc81a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2919ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3929ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc81b0000'), "firstname"=>"Gerson", "lastname"=>"O'Kon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2770ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305cbf05735331dc81b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cbf05735331dc81b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3899ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 13ms (Views: 8.8ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc81c0000'), "firstname"=>"Kennedi", "lastname"=>"Anderson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3246ms
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc81d0000'), "firstname"=>"Margaretta", "lastname"=>"Fay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4256ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc81e0000'), "firstname"=>"Mikayla", "lastname"=>"Mueller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305cbf05735331dc81e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cbf05735331dc81e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc81f0000'), "firstname"=>"Ava", "lastname"=>"Beier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4030ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305cbf05735331dc81f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cbf05735331dc81f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cbf05735331dc81f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms
Redirected to http://test.host/admin/clients/5305cbf05735331dc81f0000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8200000'), "firstname"=>"Davin", "lastname"=>"Fisher"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2700ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1771ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8210000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9039ms
Redirected to http://test.host/clients/5305cbf05735331dc8210000
Completed 302 Found in 7ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2678ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8220000'), "firstname"=>"Jasper", "lastname"=>"Runolfsson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2521ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1709ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305cbf05735331dc8220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2543ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1844ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8230000'), "firstname"=>"Carlee", "lastname"=>"MacGyver"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2434ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305cbf05735331dc8230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8240000'), "firstname"=>"Christiana", "lastname"=>"Green"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3550ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3577ms
Completed 200 OK in 11ms (Views: 9.9ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8250000'), "firstname"=>"Terrill", "lastname"=>"Von"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8260000'), "firstname"=>"Maryjane", "lastname"=>"Simonis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305cbf05735331dc8260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms
Completed 200 OK in 34ms (Views: 32.4ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8270000'), "firstname"=>"Pearlie", "lastname"=>"Stoltenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4154ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305cbf05735331dc8270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3516ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8270000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3148ms
Redirected to http://test.host/clients/5305cbf05735331dc8270000
Completed 302 Found in 5ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8280000'), "name"=>"Kade Powlowski", "reference"=>"Monserrat Hagenes DDS", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4330ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1872ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8290000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3579ms
Redirected to http://test.host/products/5305cbf05735331dc8290000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2085ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc82a0000'), "name"=>"Marcos Kilback", "reference"=>"Brando McClure", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.2282ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2549ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305cbf05735331dc82a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbf05735331dc82a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbf05735331dc82a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2659ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1908ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc82b0000'), "name"=>"Mr. Margarette Leuschke", "reference"=>"Dr. Ivory Runolfsson", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3591ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305cbf05735331dc82b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbf05735331dc82b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4126ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms)
Completed 200 OK in 10ms (Views: 8.6ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc82c0000'), "name"=>"Mr. Carli Schroeder", "reference"=>"Ms. Rod Herzog", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4381ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3728ms
Completed 200 OK in 10ms (Views: 9.8ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc82d0000'), "name"=>"Brice Douglas", "reference"=>"Stone Terry", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3576ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3925ms
Completed 200 OK in 3ms (Views: 0.9ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc82e0000'), "name"=>"Francesca Keeling", "reference"=>"Oran Dach Sr.", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3838ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305cbf05735331dc82e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbf05735331dc82e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2295ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc82f0000'), "name"=>"Reilly Stroman", "reference"=>"Josefa Cormier", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3070ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 7ms (Views: 6.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8310000'), "name"=>"Patsy Veum", "reference"=>"Marielle Cummings", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4112ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305cbf05735331dc8310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms
Completed 200 OK in 5ms (Views: 3.6ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8320000'), "name"=>"Austyn Rath DVM", "reference"=>"Yolanda Schultz", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3955ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1817ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8330000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4056ms
Completed 201 Created in 3ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3183ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8340000'), "name"=>"Ladarius Waelchi", "reference"=>"Miss Clint Turcotte", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2892ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305cbf05735331dc8340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2702ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8340000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2597ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8350000'), "name"=>"Jailyn Muller", "reference"=>"Ceasar Nader", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2671ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8370000'), "name"=>"Waylon Murphy DVM", "reference"=>"Janiya Monahan", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3665ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cbf05735331dc8370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2580ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8370000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2812ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8380000'), "name"=>"Axel Greenholt", "reference"=>"Dr. Abdul Hilll", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2693ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cbf05735331dc8380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8380000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2793ms
Redirected to http://test.host/products/5305cbf05735331dc8380000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8390000'), "firstname"=>"Crystal", "lastname"=>"McGlynn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5302ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2625ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc83a0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.2391ms
Redirected to http://test.host/users/5305cbf05735331dc83a0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1923ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc83b0000'), "firstname"=>"Clinton", "lastname"=>"Morissette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3109ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1717ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305cbf05735331dc83b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cbf05735331dc83b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3609ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cbf05735331dc83b0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2791ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2002ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc83c0000'), "firstname"=>"Davonte", "lastname"=>"Blanda"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2610ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305cbf05735331dc83c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cbf05735331dc83c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2524ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 7.3ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc83d0000'), "firstname"=>"Charley", "lastname"=>"Fadel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4693ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4181ms
Completed 200 OK in 11ms (Views: 10.4ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc83e0000'), "firstname"=>"Laurine", "lastname"=>"Terry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc83f0000'), "firstname"=>"Reba", "lastname"=>"Kiehn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4222ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305cbf05735331dc83f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cbf05735331dc83f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2519ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cbf05735331dc8400000'), "firstname"=>"Ashton", "lastname"=>"Schroeder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4329ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305cbf05735331dc8400000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cbf05735331dc8400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3729ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305cbf05735331dc8400000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6223ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3088ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3350ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2481ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2668ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2568ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3000000'), "name"=>"Mr. Haley Rempel", "reference"=>"Kaylee Stracke", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4651ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1806ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3887ms
Redirected to http://test.host/admin/products/5305cc195735331df3010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1606ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3020000'), "name"=>"Madie Halvorson PhD", "reference"=>"Enola Ryan", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2850ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1353ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305cc195735331df3020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cc195735331df3020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2564ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cc195735331df3020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2806ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2329ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3030000'), "name"=>"Yasmeen Murray", "reference"=>"Linwood Braun", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3023ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305cc195735331df3030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cc195735331df3030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3017ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms)
Completed 200 OK in 53ms (Views: 51.6ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3040000'), "name"=>"Ms. Marcelle Kuphal", "reference"=>"Ahmed Kessler", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4247ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3328ms
Completed 200 OK in 7ms (Views: 6.7ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3050000'), "name"=>"Salvador Shanahan", "reference"=>"Jarrod Zboncak", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3558ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 20ms (Views: 6.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3080000'), "name"=>"Yazmin Murphy", "reference"=>"Dakota Dicki", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4342ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305cc195735331df3080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cc195735331df3080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3090000'), "name"=>"Isom Frami", "reference"=>"Mable Runolfsson", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3972ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cc195735331df3090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cc195735331df3090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2505ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cc195735331df3090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3242ms
Redirected to http://test.host/admin/products/5305cc195735331df3090000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cc195735331df30a0000'), "firstname"=>"Colin", "lastname"=>"Koss"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1854ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cc195735331df30b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4484ms
Redirected to http://test.host/admin/users/5305cc195735331df30b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2244ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cc195735331df30c0000'), "firstname"=>"Tierra", "lastname"=>"Ward"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3463ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1835ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305cc195735331df30c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cc195735331df30c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2572ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cc195735331df30c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2822ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1463ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cc195735331df30d0000'), "firstname"=>"Marjory", "lastname"=>"Koss"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2557ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305cc195735331df30d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cc195735331df30d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2420ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 37ms (Views: 35.9ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cc195735331df30e0000'), "firstname"=>"Fleta", "lastname"=>"Watsica"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4208ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3539ms
Completed 200 OK in 8ms (Views: 7.3ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cc195735331df30f0000'), "firstname"=>"Abagail", "lastname"=>"Predovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4325ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3100000'), "firstname"=>"Brittany", "lastname"=>"Hickle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4125ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305cc195735331df3100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cc195735331df3100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3110000'), "firstname"=>"Pedro", "lastname"=>"Bahringer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4070ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305cc195735331df3110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cc195735331df3110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305cc195735331df3110000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3120000'), "firstname"=>"Elvie", "lastname"=>"McClure"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4531ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1836ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3405ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2366ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3140000'), "firstname"=>"Laverne", "lastname"=>"Goodwin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3531ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305cc195735331df3140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cc195735331df3140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2989ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3150000'), "firstname"=>"Lelia", "lastname"=>"Hodkiewicz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4396ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.2ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3160000'), "firstname"=>"Leann", "lastname"=>"Bode"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4302ms
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3170000'), "firstname"=>"Elbert", "lastname"=>"Waters"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2233ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305cc195735331df3170000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cc195735331df3170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3180000'), "firstname"=>"Preston", "lastname"=>"Treutel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4583ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1844ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3457ms
Redirected to http://test.host/admin/clients/5305cc195735331df3190000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2045ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cc195735331df31a0000'), "firstname"=>"Robb", "lastname"=>"Stoltenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0633ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2313ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305cc195735331df31a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cc195735331df31a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2912ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cc195735331df31a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2941ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1890ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cc195735331df31b0000'), "firstname"=>"Eunice", "lastname"=>"Fritsch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2473ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305cc195735331df31b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cc195735331df31b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2411ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (35.0ms)
Completed 200 OK in 42ms (Views: 40.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cc195735331df31c0000'), "firstname"=>"Helena", "lastname"=>"Gottlieb"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4057ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3637ms
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cc195735331df31d0000'), "firstname"=>"Anahi", "lastname"=>"Deckow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4730ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 6.4ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cc195735331df31e0000'), "firstname"=>"Ova", "lastname"=>"Heidenreich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4320ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305cc195735331df31e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cc195735331df31e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2504ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cc195735331df31f0000'), "firstname"=>"Adriel", "lastname"=>"Hermann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4250ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305cc195735331df31f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cc195735331df31f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2615ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cc195735331df31f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3273ms
Redirected to http://test.host/admin/clients/5305cc195735331df31f0000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3200000'), "firstname"=>"Cole", "lastname"=>"Mertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2321ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1419ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3210000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2855ms
Redirected to http://test.host/clients/5305cc195735331df3210000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1494ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3220000'), "firstname"=>"Jalen", "lastname"=>"Runte"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1866ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1348ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305cc195735331df3220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cc195735331df3220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2524ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cc195735331df3220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7674ms
Redirected to http://test.host/clients
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2715ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3230000'), "firstname"=>"Onie", "lastname"=>"Bashirian"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3091ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305cc195735331df3230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cc195735331df3230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2825ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3240000'), "firstname"=>"Emilio", "lastname"=>"Veum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3570ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3711ms
Completed 200 OK in 10ms (Views: 9.7ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3250000'), "firstname"=>"Alia", "lastname"=>"Wisoky"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3260000'), "firstname"=>"Juanita", "lastname"=>"Hackett"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305cc195735331df3260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cc195735331df3260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2591ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3270000'), "firstname"=>"Florian", "lastname"=>"Satterfield"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3521ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305cc195735331df3270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cc195735331df3270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cc195735331df3270000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2765ms
Redirected to http://test.host/clients/5305cc195735331df3270000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3280000'), "name"=>"Mrs. Paolo Wunsch", "reference"=>"Ms. Camryn Blanda", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4373ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1825ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3290000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3680ms
Redirected to http://test.host/products/5305cc195735331df3290000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2007ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc195735331df32a0000'), "name"=>"Jensen Runte", "reference"=>"Eduardo Cremin DDS", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3292ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1825ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305cc195735331df32a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cc195735331df32a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2663ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cc195735331df32a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1380ms
Redirected to http://test.host/products
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2416ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc195735331df32b0000'), "name"=>"Alba Tillman", "reference"=>"Chet Doyle", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2642ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305cc195735331df32b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cc195735331df32b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2562ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 9ms (Views: 8.2ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc195735331df32c0000'), "name"=>"Devyn Zieme V", "reference"=>"Dr. Terrence Hackett", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4337ms
Completed 200 OK in 11ms (Views: 10.5ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc195735331df32d0000'), "name"=>"Benedict Gislason", "reference"=>"Neil Schaden Sr.", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3682ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3400ms
Completed 200 OK in 2ms (Views: 0.7ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc195735331df32e0000'), "name"=>"Bonita Mohr", "reference"=>"Una Veum", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3052ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305cc195735331df32e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cc195735331df32e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2569ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc195735331df32f0000'), "name"=>"Shany Hintz", "reference"=>"Ms. Jaquelin Abernathy", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2912ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 8ms (Views: 6.6ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3310000'), "name"=>"Arne Dicki I", "reference"=>"Pearlie Barton", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4340ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305cc195735331df3310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cc195735331df3310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2648ms
Completed 200 OK in 5ms (Views: 3.7ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3320000'), "name"=>"Chester Bosco DVM", "reference"=>"Rose Schmeler", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4082ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1585ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3330000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3161ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1877ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3340000'), "name"=>"Maybell Parisian", "reference"=>"Christop Streich", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2633ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305cc195735331df3340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cc195735331df3340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2538ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cc195735331df3340000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2577ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3350000'), "name"=>"Deshawn Lueilwitz", "reference"=>"Ciara Stehr", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2657ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3370000'), "name"=>"Pinkie Willms", "reference"=>"Myriam Marquardt", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3763ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cc195735331df3370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cc195735331df3370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3409ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cc195735331df3370000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2712ms
Completed 202 Accepted in 4ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3380000'), "name"=>"Edison Sipes", "reference"=>"Bradly Pfeffer", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2520ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cc195735331df3380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cc195735331df3380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cc195735331df3380000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2600ms
Redirected to http://test.host/products/5305cc195735331df3380000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3390000'), "firstname"=>"Jeffry", "lastname"=>"Goodwin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3962ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1576ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cc195735331df33a0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3318ms
Redirected to http://test.host/users/5305cc195735331df33a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1680ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cc195735331df33b0000'), "firstname"=>"Lolita", "lastname"=>"Zboncak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9231ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2038ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305cc195735331df33b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cc195735331df33b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3280ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cc195735331df33b0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2285ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1422ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cc195735331df33c0000'), "firstname"=>"Jedidiah", "lastname"=>"Spencer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2150ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305cc195735331df33c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cc195735331df33c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2078ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (34.0ms)
Completed 200 OK in 40ms (Views: 38.6ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cc195735331df33d0000'), "firstname"=>"Omer", "lastname"=>"Bode"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4142ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3685ms
Completed 200 OK in 11ms (Views: 10.3ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cc195735331df33e0000'), "firstname"=>"Nicolas", "lastname"=>"Nader"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4220ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cc195735331df33f0000'), "firstname"=>"Wilfrid", "lastname"=>"Wisoky"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4096ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305cc195735331df33f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cc195735331df33f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cc195735331df3400000'), "firstname"=>"Angelina", "lastname"=>"Jenkins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305cc195735331df3400000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cc195735331df3400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305cc195735331df3400000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6124ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2986ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3276ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2592ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3066ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2621ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cc365735331e14000000'), "firstname"=>"Bryon", "lastname"=>"Bins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4652ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1796ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cc365735331e14010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3931ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1939ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cc365735331e14020000'), "firstname"=>"Beulah", "lastname"=>"Ledner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2996ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305cc365735331e14020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cc365735331e14020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3011ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms)
Completed 200 OK in 52ms (Views: 50.4ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cc365735331e14030000'), "firstname"=>"Geovanny", "lastname"=>"Ruecker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 6ms (Views: 5.8ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cc365735331e14040000'), "firstname"=>"Quincy", "lastname"=>"West"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305cc365735331e14040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cc365735331e14040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2766ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cc365735331e14050000'), "firstname"=>"Beryl", "lastname"=>"Ernser"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4046ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305cc365735331e14050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cc365735331e14050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6672ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2893ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1891ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1554ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1500ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2051ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cc495735331e5a000000'), "firstname"=>"Queen", "lastname"=>"Pouros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4521ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1631ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cc495735331e5a010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4169ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2118ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cc495735331e5a020000'), "firstname"=>"Itzel", "lastname"=>"Hilll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3259ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305cc495735331e5a020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cc495735331e5a020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2834ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 200 OK in 51ms (Views: 49.3ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cc495735331e5a030000'), "firstname"=>"Raven", "lastname"=>"Christiansen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4709ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 6.1ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cc495735331e5a040000'), "firstname"=>"Gust", "lastname"=>"Rogahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4329ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305cc495735331e5a040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cc495735331e5a040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2615ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cc495735331e5a050000'), "firstname"=>"Tania", "lastname"=>"Rath"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3948ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305cc495735331e5a050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cc495735331e5a050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6306ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3572ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2720ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2469ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2440ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3016ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cc5f5735331e82000000'), "firstname"=>"Xavier", "lastname"=>"Morar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5037ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2443ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cc5f5735331e82010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4417ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2465ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cc5f5735331e82020000'), "firstname"=>"Carole", "lastname"=>"Kuphal"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3574ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305cc5f5735331e82020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cc5f5735331e82020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3007ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 200 OK in 51ms (Views: 49.9ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cc5f5735331e82030000'), "firstname"=>"Missouri", "lastname"=>"Zulauf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4318ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 6ms (Views: 5.9ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cc5f5735331e82040000'), "firstname"=>"Sophia", "lastname"=>"Wolff"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4251ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305cc5f5735331e82040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cc5f5735331e82040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cc5f5735331e82050000'), "firstname"=>"Reanna", "lastname"=>"Rodriguez"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.9081ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305cc5f5735331e82050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cc5f5735331e82050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2810ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6911ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3300ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2366ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2069ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1978ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2570ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc645735331ea9000000'), "name"=>"Julia Heathcote Jr.", "reference"=>"Nils Wilkinson II", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4579ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1615ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc645735331ea9010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4042ms
Redirected to http://test.host/admin/products/5305cc645735331ea9010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1960ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc645735331ea9020000'), "name"=>"Mikel Roberts", "reference"=>"Lisette Hegmann", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2960ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1810ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305cc645735331ea9020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cc645735331ea9020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2555ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cc645735331ea9020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1930ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc645735331ea9030000'), "name"=>"Ms. Brandyn Kulas", "reference"=>"Gretchen Runte PhD", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2614ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305cc645735331ea9030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cc645735331ea9030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2588ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 200 OK in 54ms (Views: 52.7ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc645735331ea9040000'), "name"=>"Triston Ortiz", "reference"=>"Alexie Little IV", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8845ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4063ms
Completed 200 OK in 8ms (Views: 7.1ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc645735331ea9050000'), "name"=>"Casey Grady", "reference"=>"Keenan Hartmann V", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3754ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 21ms (Views: 6.1ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc645735331ea9080000'), "name"=>"Ethelyn Gutkowski", "reference"=>"Alexzander Durgan", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4367ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305cc645735331ea9080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cc645735331ea9080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cc645735331ea9090000'), "name"=>"Madalyn Robel", "reference"=>"Camille Sporer", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4002ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cc645735331ea9090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cc645735331ea9090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2596ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cc645735331ea9090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3271ms
Redirected to http://test.host/admin/products/5305cc645735331ea9090000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6300ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3117ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2912ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1757ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2172ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2146ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cc6a5735331ed0000000'), "firstname"=>"Calista", "lastname"=>"Halvorson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4632ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1640ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cc6a5735331ed0010000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4236ms
Redirected to http://test.host/admin/users/5305cc6a5735331ed0010000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2221ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cc6a5735331ed0020000'), "firstname"=>"Ruby", "lastname"=>"Kiehn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3245ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2007ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305cc6a5735331ed0020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cc6a5735331ed0020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2568ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cc6a5735331ed0020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3023ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1977ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cc6a5735331ed0030000'), "firstname"=>"Laron", "lastname"=>"Ziemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2506ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305cc6a5735331ed0030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cc6a5735331ed0030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2372ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 200 OK in 51ms (Views: 49.7ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cc6a5735331ed0040000'), "firstname"=>"Vicky", "lastname"=>"Satterfield"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4412ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3286ms
Completed 200 OK in 7ms (Views: 6.7ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cc6a5735331ed0050000'), "firstname"=>"Elna", "lastname"=>"Howe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3546ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 5.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cc6a5735331ed0060000'), "firstname"=>"Cleta", "lastname"=>"Abernathy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4116ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305cc6a5735331ed0060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cc6a5735331ed0060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2558ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cc6a5735331ed0070000'), "firstname"=>"Hope", "lastname"=>"Kuphal"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305cc6a5735331ed0070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cc6a5735331ed0070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3667ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305cc6a5735331ed0070000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6130ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2947ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2366ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1930ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3274ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2400ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd1c5735331f7c000000'), "name"=>"Kendra Funk", "reference"=>"Hipolito Reichel", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4597ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1775ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd1c5735331f7c010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4183ms
Redirected to http://test.host/admin/products/5305cd1c5735331f7c010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1943ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd1c5735331f7c020000'), "name"=>"Mitchel Pfeffer", "reference"=>"Cynthia Pollich II", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3189ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1745ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305cd1c5735331f7c020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd1c5735331f7c020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd1c5735331f7c020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2964ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2301ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd1c5735331f7c030000'), "name"=>"Wilma Homenick I", "reference"=>"Turner Lockman", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3042ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305cd1c5735331f7c030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd1c5735331f7c030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2967ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms)
Completed 200 OK in 53ms (Views: 52.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd1c5735331f7c040000'), "name"=>"Nat Mayer DVM", "reference"=>"Thora Bogan IV", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4123ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3328ms
Completed 200 OK in 7ms (Views: 6.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd1c5735331f7c050000'), "name"=>"Bryana Feest", "reference"=>"Walker Schneider MD", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3701ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 20ms (Views: 6.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd1c5735331f7c080000'), "name"=>"Margret Schmidt", "reference"=>"Magali Purdy", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4132ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305cd1c5735331f7c080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd1c5735331f7c080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2558ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd1c5735331f7c090000'), "name"=>"Hank Kutch", "reference"=>"Holly Abshire", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3952ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cd1c5735331f7c090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd1c5735331f7c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2563ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd1c5735331f7c090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3197ms
Redirected to http://test.host/admin/products/5305cd1c5735331f7c090000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c0a0000'), "firstname"=>"Alec", "lastname"=>"Walsh"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4251ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2303ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c0b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4809ms
Redirected to http://test.host/admin/users/5305cd1d5735331f7c0b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1900ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c0c0000'), "firstname"=>"Arely", "lastname"=>"Bruen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2972ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1567ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305cd1d5735331f7c0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c0c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2364ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c0c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2752ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1652ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c0d0000'), "firstname"=>"Kenna", "lastname"=>"Hand"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2700ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305cd1d5735331f7c0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2105ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 36ms (Views: 34.7ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c0e0000'), "firstname"=>"Misty", "lastname"=>"Satterfield"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3807ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3564ms
Completed 200 OK in 8ms (Views: 7.5ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c0f0000'), "firstname"=>"Vicenta", "lastname"=>"Reichert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3818ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c100000'), "firstname"=>"Hillard", "lastname"=>"Ritchie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4161ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305cd1d5735331f7c100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2363ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c110000'), "firstname"=>"Erik", "lastname"=>"Toy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3945ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305cd1d5735331f7c110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305cd1d5735331f7c110000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c120000'), "firstname"=>"Shaniya", "lastname"=>"Jakubowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4583ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1701ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3429ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2179ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c140000'), "firstname"=>"Abdul", "lastname"=>"Maggio"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3582ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305cd1d5735331f7c140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2956ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.5ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c150000'), "firstname"=>"Eliseo", "lastname"=>"Bins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4694ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c160000'), "firstname"=>"Ron", "lastname"=>"Hand"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4230ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305cd1d5735331f7c160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms
Completed 200 OK in 5ms (Views: 3.5ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c170000'), "firstname"=>"Hanna", "lastname"=>"Wehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3849ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305cd1d5735331f7c170000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c180000'), "firstname"=>"Zachary", "lastname"=>"Wiegand"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4361ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1813ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3369ms
Redirected to http://test.host/admin/clients/5305cd1d5735331f7c190000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2369ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c1a0000'), "firstname"=>"Orlando", "lastname"=>"Medhurst"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3604ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2199ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305cd1d5735331f7c1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2863ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c1a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3382ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3874ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c1b0000'), "firstname"=>"Taurean", "lastname"=>"Hessel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2992ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305cd1d5735331f7c1b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3669ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 13ms (Views: 8.6ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c1c0000'), "firstname"=>"Adrain", "lastname"=>"Deckow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3286ms
Completed 200 OK in 8ms (Views: 6.9ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c1d0000'), "firstname"=>"Eugenia", "lastname"=>"Toy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4423ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.8ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c1e0000'), "firstname"=>"Greg", "lastname"=>"Nicolas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4156ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305cd1d5735331f7c1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2571ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c1f0000'), "firstname"=>"Clement", "lastname"=>"Barrows"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3877ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305cd1d5735331f7c1f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c1f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2586ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c1f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2290ms
Redirected to http://test.host/admin/clients/5305cd1d5735331f7c1f0000
Completed 302 Found in 7ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c200000'), "firstname"=>"Frederik", "lastname"=>"Wilkinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3874ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2498ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c210000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3058ms
Redirected to http://test.host/clients/5305cd1d5735331f7c210000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1482ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c220000'), "firstname"=>"Elenora", "lastname"=>"Ernser"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1897ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1257ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305cd1d5735331f7c220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2012ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2093ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1412ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c230000'), "firstname"=>"Jules", "lastname"=>"Gottlieb"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2050ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305cd1d5735331f7c230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c240000'), "firstname"=>"Cleo", "lastname"=>"Hand"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3611ms
Completed 200 OK in 11ms (Views: 9.9ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c250000'), "firstname"=>"Colt", "lastname"=>"Boyer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3858ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c260000'), "firstname"=>"Norval", "lastname"=>"Funk"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4118ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305cd1d5735331f7c260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms
Completed 200 OK in 35ms (Views: 33.6ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c270000'), "firstname"=>"Nichole", "lastname"=>"Heidenreich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4136ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305cd1d5735331f7c270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4709ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c270000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3301ms
Redirected to http://test.host/clients/5305cd1d5735331f7c270000
Completed 302 Found in 5ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c280000'), "name"=>"Anne Mills", "reference"=>"Litzy Sauer", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1556ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2015ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c290000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms
Redirected to http://test.host/products/5305cd1d5735331f7c290000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2127ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c2a0000'), "name"=>"Briana DuBuque", "reference"=>"Magdalen Windler DDS", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2064ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305cd1d5735331f7c2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c2a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3083ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c2a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2001ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c2b0000'), "name"=>"Mrs. Bryon Stanton", "reference"=>"Francisco Gaylord MD", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4235ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305cd1d5735331f7c2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2742ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.0ms)
Completed 200 OK in 10ms (Views: 8.6ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c2c0000'), "name"=>"Jay Pfannerstill PhD", "reference"=>"Billy Kautzer", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4223ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3711ms
Completed 200 OK in 10ms (Views: 10.0ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c2d0000'), "name"=>"Karlee Block", "reference"=>"Chelsea Ryan", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3683ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4378ms
Completed 200 OK in 3ms (Views: 0.8ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c2e0000'), "name"=>"Noelia Terry", "reference"=>"Mariano Hamill", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3018ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305cd1d5735331f7c2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c2f0000'), "name"=>"Angelica Kutch", "reference"=>"Jamil Glover", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2859ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 7ms (Views: 6.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c310000'), "name"=>"Mallie Jones", "reference"=>"Mrs. Werner Wolf", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4189ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305cd1d5735331f7c310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2363ms
Completed 200 OK in 5ms (Views: 3.7ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c320000'), "name"=>"Winnifred Stamm", "reference"=>"Theresa Schiller", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4270ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3243ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c330000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4141ms
Completed 201 Created in 3ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1762ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c340000'), "name"=>"Elfrieda McCullough", "reference"=>"Mr. Margie Dooley", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2724ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305cd1d5735331f7c340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2734ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c340000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2628ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c350000'), "name"=>"Mrs. Bailee Lowe", "reference"=>"Joey Little", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3278ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c370000'), "name"=>"Mrs. Roma Ward", "reference"=>"Louie Wisoky Jr.", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4176ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cd1d5735331f7c370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3007ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c370000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3294ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c380000'), "name"=>"Silas Oberbrunner", "reference"=>"Stephon McLaughlin III", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3043ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cd1d5735331f7c380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c380000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.2727ms
Redirected to http://test.host/products/5305cd1d5735331f7c380000
Completed 302 Found in 7ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c390000'), "firstname"=>"Libby", "lastname"=>"Rempel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4365ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1767ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c3a0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms
Redirected to http://test.host/users/5305cd1d5735331f7c3a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2336ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c3b0000'), "firstname"=>"Izabella", "lastname"=>"McKenzie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3556ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2212ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305cd1d5735331f7c3b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3695ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c3b0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3181ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2386ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c3c0000'), "firstname"=>"Phyllis", "lastname"=>"Ziemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3055ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305cd1d5735331f7c3c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2659ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 9ms (Views: 8.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c3d0000'), "firstname"=>"Francesco", "lastname"=>"Mayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4919ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3828ms
Completed 200 OK in 11ms (Views: 10.1ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c3e0000'), "firstname"=>"Cassidy", "lastname"=>"Roberts"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4080ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c3f0000'), "firstname"=>"Kasey", "lastname"=>"Graham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4143ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305cd1d5735331f7c3f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3061ms
Completed 200 OK in 6ms (Views: 4.2ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd1d5735331f7c400000'), "firstname"=>"Ladarius", "lastname"=>"Veum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4620ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305cd1d5735331f7c400000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cd1d5735331f7c400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2964ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305cd1d5735331f7c400000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6449ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3227ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3441ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2682ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2643ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2302ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6000000'), "name"=>"Dolly Russel", "reference"=>"Kylie Price", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4411ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1788ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6010000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4108ms
Redirected to http://test.host/admin/products/5305cd2c5735331fa6010000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1932ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6020000'), "name"=>"Mackenzie Renner", "reference"=>"Heath Wiza", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3093ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1772ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305cd2c5735331fa6020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2961ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6020000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2302ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6030000'), "name"=>"Mrs. Mitchell Shanahan", "reference"=>"Mrs. Hector Mante", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2957ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305cd2c5735331fa6030000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2882ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 200 OK in 53ms (Views: 51.8ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6040000'), "name"=>"Blaze Wehner III", "reference"=>"Wilford Leannon", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4272ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3402ms
Completed 200 OK in 7ms (Views: 6.7ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6050000'), "name"=>"Remington Mosciski", "reference"=>"Mrs. Lela Kuvalis", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3570ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 20ms (Views: 6.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6080000'), "name"=>"Miss Aliyah Nitzsche", "reference"=>"Lukas Ledner", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4179ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305cd2c5735331fa6080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6090000'), "name"=>"Noe Kuhn", "reference"=>"Leonard Boehm", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cd2c5735331fa6090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2520ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6090000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3183ms
Redirected to http://test.host/admin/products/5305cd2c5735331fa6090000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa60a0000'), "firstname"=>"Madalyn", "lastname"=>"Kilback"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4103ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1789ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa60b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4864ms
Redirected to http://test.host/admin/users/5305cd2c5735331fa60b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2208ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa60c0000'), "firstname"=>"Naomie", "lastname"=>"Deckow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2976ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1916ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305cd2c5735331fa60c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa60c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2151ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa60c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2631ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1516ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa60d0000'), "firstname"=>"Lennie", "lastname"=>"Thiel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2514ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305cd2c5735331fa60d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa60d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2057ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 37ms (Views: 36.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa60e0000'), "firstname"=>"Lucie", "lastname"=>"Sauer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4277ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3317ms
Completed 200 OK in 8ms (Views: 7.1ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa60f0000'), "firstname"=>"Shea", "lastname"=>"Stracke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4462ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6100000'), "firstname"=>"Juston", "lastname"=>"Hyatt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4265ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305cd2c5735331fa6100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6100000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6110000'), "firstname"=>"Caterina", "lastname"=>"Ryan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4007ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305cd2c5735331fa6110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2570ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305cd2c5735331fa6110000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6120000'), "firstname"=>"Hyman", "lastname"=>"Torp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4766ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1764ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6130000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3570ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1567ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6140000'), "firstname"=>"Candelario", "lastname"=>"O'Reilly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3100ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305cd2c5735331fa6140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6150000'), "firstname"=>"Yessenia", "lastname"=>"Bernier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4458ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.3ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6160000'), "firstname"=>"Kendall", "lastname"=>"Frami"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4457ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305cd2c5735331fa6160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2893ms
Completed 200 OK in 5ms (Views: 3.5ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6170000'), "firstname"=>"Ari", "lastname"=>"Wolf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3785ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305cd2c5735331fa6170000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2867ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6180000'), "firstname"=>"Valentina", "lastname"=>"Beatty"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4390ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2233ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3803ms
Redirected to http://test.host/admin/clients/5305cd2c5735331fa6190000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2389ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa61a0000'), "firstname"=>"Amalia", "lastname"=>"Green"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3457ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2175ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305cd2c5735331fa61a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa61a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2899ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa61a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3368ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3928ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa61b0000'), "firstname"=>"Marian", "lastname"=>"Klocko"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2747ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305cd2c5735331fa61b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa61b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4291ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 13ms (Views: 9.4ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa61c0000'), "firstname"=>"Elias", "lastname"=>"Kling"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4606ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3773ms
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa61d0000'), "firstname"=>"Eleonore", "lastname"=>"Gleichner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4794ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 5.8ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa61e0000'), "firstname"=>"Stefan", "lastname"=>"Hirthe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305cd2c5735331fa61e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa61e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2458ms
Completed 200 OK in 5ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa61f0000'), "firstname"=>"Vivien", "lastname"=>"Nikolaus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3902ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305cd2c5735331fa61f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa61f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2484ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa61f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3100ms
Redirected to http://test.host/admin/clients/5305cd2c5735331fa61f0000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6200000'), "firstname"=>"Clair", "lastname"=>"Quigley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2719ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2207ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6210000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2986ms
Redirected to http://test.host/clients/5305cd2c5735331fa6210000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2175ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6220000'), "firstname"=>"Jamey", "lastname"=>"Bartell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2844ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2395ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305cd2c5735331fa6220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3792ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2714ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1871ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6230000'), "firstname"=>"Jerrold", "lastname"=>"Cremin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2461ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305cd2c5735331fa6230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2529ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6240000'), "firstname"=>"Kylie", "lastname"=>"Haley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3550ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3596ms
Completed 200 OK in 10ms (Views: 9.7ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6250000'), "firstname"=>"Samanta", "lastname"=>"Renner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3880ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6260000'), "firstname"=>"Sanford", "lastname"=>"Pfannerstill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4123ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305cd2c5735331fa6260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2424ms
Completed 200 OK in 35ms (Views: 33.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6270000'), "firstname"=>"Shyann", "lastname"=>"Schinner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4524ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305cd2c5735331fa6270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3446ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6270000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2972ms
Redirected to http://test.host/clients/5305cd2c5735331fa6270000
Completed 302 Found in 5ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6280000'), "name"=>"Lavina Bahringer", "reference"=>"Myah Swaniawski", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4696ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1845ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6290000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3586ms
Redirected to http://test.host/products/5305cd2c5735331fa6290000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1967ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa62a0000'), "name"=>"Maxime Walsh MD", "reference"=>"Ari McCullough", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3225ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1771ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305cd2c5735331fa62a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa62a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2519ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa62a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2643ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1887ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa62b0000'), "name"=>"Dylan Stiedemann", "reference"=>"Dedric Berge", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2601ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305cd2c5735331fa62b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa62b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.2ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa62c0000'), "name"=>"Michael Stiedemann", "reference"=>"Mr. Marcelo Smith", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4921ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4180ms
Completed 200 OK in 10ms (Views: 9.9ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa62d0000'), "name"=>"Kraig Conn IV", "reference"=>"Americo Legros", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3487ms
Completed 200 OK in 2ms (Views: 0.7ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa62e0000'), "name"=>"Marian Berge", "reference"=>"Loren Reilly", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3080ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305cd2c5735331fa62e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa62e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa62f0000'), "name"=>"Ms. Judson MacGyver", "reference"=>"Marian Watsica", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2983ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 8ms (Views: 6.8ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6310000'), "name"=>"Ms. Dustin Tillman", "reference"=>"Lolita Schmidt I", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4368ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305cd2c5735331fa6310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms
Completed 200 OK in 5ms (Views: 3.6ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6320000'), "name"=>"Ken Heaney", "reference"=>"Leo Kuvalis", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4111ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1804ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6330000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3079ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1682ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6340000'), "name"=>"Mose Zboncak", "reference"=>"Ms. Dell Legros", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7525ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305cd2c5735331fa6340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3239ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6340000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2935ms
Completed 200 OK in 2ms (Views: 0.2ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6350000'), "name"=>"Garland Haley", "reference"=>"Finn Leffler IV", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4612ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6370000'), "name"=>"Modesto Gusikowski", "reference"=>"Ms. Caitlyn Collins", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4093ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cd2c5735331fa6370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2615ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6370000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2866ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6380000'), "name"=>"Dr. Alysa Legros", "reference"=>"Gail Dibbert", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2740ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cd2c5735331fa6380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2513ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6380000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2759ms
Redirected to http://test.host/products/5305cd2c5735331fa6380000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6390000'), "firstname"=>"Chanelle", "lastname"=>"Wiza"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3968ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1835ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa63a0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3494ms
Redirected to http://test.host/users/5305cd2c5735331fa63a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2134ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa63b0000'), "firstname"=>"Earline", "lastname"=>"Johnson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4875ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2251ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305cd2c5735331fa63b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa63b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3426ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa63b0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2635ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1758ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa63c0000'), "firstname"=>"Lee", "lastname"=>"Cremin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2540ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305cd2c5735331fa63c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa63c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2633ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 9ms (Views: 7.3ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa63d0000'), "firstname"=>"Yesenia", "lastname"=>"Leffler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3449ms
Completed 200 OK in 11ms (Views: 10.2ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa63e0000'), "firstname"=>"Clare", "lastname"=>"Hudson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3886ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa63f0000'), "firstname"=>"Cortney", "lastname"=>"Swift"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4480ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305cd2c5735331fa63f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa63f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2510ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cd2c5735331fa6400000'), "firstname"=>"Oswaldo", "lastname"=>"Cummings"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4451ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305cd2c5735331fa6400000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cd2c5735331fa6400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3573ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305cd2c5735331fa6400000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5965ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2948ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3872ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3191ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3208ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2881ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018000000'), "firstname"=>"Fidel", "lastname"=>"Veum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4478ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1778ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4084ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1984ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018020000'), "firstname"=>"Catherine", "lastname"=>"Mann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3031ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305cdb35735332018020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cdb35735332018020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 200 OK in 52ms (Views: 50.4ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018030000'), "firstname"=>"Laron", "lastname"=>"Ziemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4345ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 6ms (Views: 5.8ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018040000'), "firstname"=>"Shawna", "lastname"=>"Cremin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4135ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305cdb35735332018040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cdb35735332018040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2458ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018050000'), "firstname"=>"Rodrigo", "lastname"=>"Volkman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3888ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305cdb35735332018050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cdb35735332018050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018060000'), "name"=>"Kip Dare Sr.", "reference"=>"Stanley Hauck", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4483ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1757ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018070000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8115ms
Redirected to http://test.host/admin/products/5305cdb35735332018070000
Completed 302 Found in 5ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2379ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018080000'), "name"=>"Malinda O'Conner", "reference"=>"Mrs. Amani Quigley", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3226ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1751ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305cdb35735332018080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cdb35735332018080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2467ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cdb35735332018080000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2924ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1881ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018090000'), "name"=>"Effie Strosin", "reference"=>"Zion Murray", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2541ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305cdb35735332018090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cdb35735332018090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 9ms (Views: 7.8ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cdb357353320180a0000'), "name"=>"Ethan Trantow", "reference"=>"Dr. Jaqueline Casper", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3224ms
Completed 200 OK in 7ms (Views: 7.0ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cdb357353320180b0000'), "name"=>"Irwin Champlin", "reference"=>"Mrs. Caroline Kassulke", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4007ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 49ms (Views: 5.9ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cdb357353320180e0000'), "name"=>"Norval Grady", "reference"=>"Asia Rau", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4206ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305cdb357353320180e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cdb357353320180e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms
Completed 200 OK in 5ms (Views: 4.1ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cdb357353320180f0000'), "name"=>"Luz Schneider", "reference"=>"Manley Bashirian II", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4368ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cdb357353320180f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cdb357353320180f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2646ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cdb357353320180f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms
Redirected to http://test.host/admin/products/5305cdb357353320180f0000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018100000'), "firstname"=>"Nannie", "lastname"=>"Lehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0331ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1799ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018110000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3234ms
Redirected to http://test.host/admin/users/5305cdb35735332018110000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1947ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018120000'), "firstname"=>"Joelle", "lastname"=>"Pacocha"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3072ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1742ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305cdb35735332018120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cdb35735332018120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cdb35735332018120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3118ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1932ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018130000'), "firstname"=>"Tiffany", "lastname"=>"Rolfson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4269ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305cdb35735332018130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cdb35735332018130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3465ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018140000'), "firstname"=>"Noe", "lastname"=>"Wolff"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4285ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3244ms
Completed 200 OK in 7ms (Views: 6.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018150000'), "firstname"=>"Ayana", "lastname"=>"Hauck"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3354ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018160000'), "firstname"=>"Bill", "lastname"=>"Champlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4052ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305cdb35735332018160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cdb35735332018160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3347ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018170000'), "firstname"=>"Jean", "lastname"=>"Treutel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3772ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305cdb35735332018170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cdb35735332018170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2330ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305cdb35735332018170000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018180000'), "firstname"=>"Cleve", "lastname"=>"McLaughlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3930ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1769ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3548ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2108ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cdb357353320181a0000'), "firstname"=>"Sandy", "lastname"=>"Towne"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3181ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305cdb357353320181a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cdb357353320181a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2179ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 40ms (Views: 38.8ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cdb357353320181b0000'), "firstname"=>"Carmela", "lastname"=>"Lynch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4756ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cdb357353320181c0000'), "firstname"=>"Ellen", "lastname"=>"Brakus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305cdb357353320181c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cdb357353320181c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2646ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cdb357353320181d0000'), "firstname"=>"Lottie", "lastname"=>"Ward"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305cdb357353320181d0000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cdb357353320181d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2519ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cdb357353320181e0000'), "firstname"=>"Art", "lastname"=>"Abernathy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4562ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1848ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cdb357353320181f0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3611ms
Redirected to http://test.host/admin/clients/5305cdb357353320181f0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2442ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018200000'), "firstname"=>"Alva", "lastname"=>"Conroy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3657ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2250ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305cdb35735332018200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cdb35735332018200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2954ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cdb35735332018200000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3264ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2391ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018210000'), "firstname"=>"Destiney", "lastname"=>"Price"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2676ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305cdb35735332018210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cdb35735332018210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3112ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 10ms (Views: 8.9ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018220000'), "firstname"=>"Jeremie", "lastname"=>"Mueller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4645ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3214ms
Completed 200 OK in 8ms (Views: 6.8ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018230000'), "firstname"=>"Callie", "lastname"=>"Price"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4536ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 6.1ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018240000'), "firstname"=>"Stan", "lastname"=>"Zieme"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4180ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305cdb35735332018240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cdb35735332018240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms
Completed 200 OK in 36ms (Views: 34.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018250000'), "firstname"=>"Dallin", "lastname"=>"Kautzer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305cdb35735332018250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cdb35735332018250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2476ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cdb35735332018250000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3023ms
Redirected to http://test.host/admin/clients/5305cdb35735332018250000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018260000'), "firstname"=>"Henry", "lastname"=>"Kutch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3053ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1929ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018270000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3608ms
Redirected to http://test.host/clients/5305cdb35735332018270000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2575ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018280000'), "firstname"=>"Buddy", "lastname"=>"O'Kon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2766ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1798ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305cdb35735332018280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cdb35735332018280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3572ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cdb35735332018280000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3053ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2051ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018290000'), "firstname"=>"Uriah", "lastname"=>"Bergnaum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2649ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305cdb35735332018290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cdb35735332018290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cdb357353320182a0000'), "firstname"=>"Gust", "lastname"=>"Jast"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3628ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3839ms
Completed 200 OK in 11ms (Views: 10.0ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cdb357353320182b0000'), "firstname"=>"Destiny", "lastname"=>"Wehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cdb357353320182c0000'), "firstname"=>"Fernando", "lastname"=>"Rice"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4118ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305cdb357353320182c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cdb357353320182c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2632ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cdb357353320182d0000'), "firstname"=>"Annie", "lastname"=>"Hilpert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3353ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305cdb357353320182d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cdb357353320182d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2222ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cdb357353320182d0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2313ms
Redirected to http://test.host/clients/5305cdb357353320182d0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cdb357353320182e0000'), "name"=>"Colt Jones", "reference"=>"Javier Runolfsson", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5552ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2577ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cdb357353320182f0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3515ms
Redirected to http://test.host/products/5305cdb357353320182f0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1976ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018300000'), "name"=>"Astrid Bahringer", "reference"=>"Osborne Steuber", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3357ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1799ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305cdb35735332018300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cdb35735332018300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cdb35735332018300000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2719ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1881ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018310000'), "name"=>"Eula Lynch", "reference"=>"Mrs. Phoebe Ebert", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2589ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305cdb35735332018310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cdb35735332018310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018320000'), "name"=>"Margret Auer", "reference"=>"Mr. Pinkie Nikolaus", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4392ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3761ms
Completed 200 OK in 11ms (Views: 10.2ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018330000'), "name"=>"Yvette Terry", "reference"=>"Bill Bergstrom", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3618ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3398ms
Completed 200 OK in 3ms (Views: 0.8ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018340000'), "name"=>"Olga Thompson III", "reference"=>"Miss Lilla Bartoletti", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3076ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305cdb35735332018340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cdb35735332018340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2558ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018350000'), "name"=>"Lynn Frami DVM", "reference"=>"Daija Emard", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4673ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 9ms (Views: 8.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018370000'), "name"=>"Bette McGlynn", "reference"=>"Nicolette Prohaska", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4197ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305cdb35735332018370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cdb35735332018370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2703ms
Completed 200 OK in 5ms (Views: 3.7ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018380000'), "name"=>"Kevon Cruickshank", "reference"=>"Felicity Corkery V", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7131ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1878ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018390000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3230ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1937ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cdb357353320183a0000'), "name"=>"Alize Leannon", "reference"=>"Alycia Dietrich", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2477ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305cdb357353320183a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cdb357353320183a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2637ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cdb357353320183a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2622ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cdb357353320183b0000'), "name"=>"Mr. Rosemarie Jerde", "reference"=>"Miss Alanis Heaney", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2587ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cdb357353320183d0000'), "name"=>"Dr. Dorcas Breitenberg", "reference"=>"Willy Runolfsdottir", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4931ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cdb357353320183d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cdb357353320183d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3502ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cdb357353320183d0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3029ms
Completed 202 Accepted in 4ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cdb357353320183e0000'), "name"=>"Cesar Rau", "reference"=>"Zella Olson", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2823ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cdb357353320183e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cdb357353320183e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2560ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cdb357353320183e0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2783ms
Redirected to http://test.host/products/5305cdb357353320183e0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cdb357353320183f0000'), "firstname"=>"Seth", "lastname"=>"Powlowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4114ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1797ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018400000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3205ms
Redirected to http://test.host/users/5305cdb35735332018400000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1944ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018410000'), "firstname"=>"Eula", "lastname"=>"Fahey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3010ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1740ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305cdb35735332018410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cdb35735332018410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2847ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cdb35735332018410000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2634ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2417ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018420000'), "firstname"=>"Raegan", "lastname"=>"Okuneva"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4054ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305cdb35735332018420000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cdb35735332018420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2652ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018430000'), "firstname"=>"Augustus", "lastname"=>"Dibbert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4140ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3567ms
Completed 200 OK in 10ms (Views: 9.6ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018440000'), "firstname"=>"Scot", "lastname"=>"Hoeger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3470ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.5ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018450000'), "firstname"=>"Emilio", "lastname"=>"Cartwright"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4268ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305cdb35735332018450000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cdb35735332018450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cdb35735332018460000'), "firstname"=>"Anthony", "lastname"=>"Ledner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4044ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305cdb35735332018460000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cdb35735332018460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305cdb35735332018460000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6728ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3498ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3798ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3003ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2872ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3235ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cf665735332584000000'), "firstname"=>"Amy", "lastname"=>"Morar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4927ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2225ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cf665735332584010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3717ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2171ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cf665735332584020000'), "firstname"=>"Geoffrey", "lastname"=>"Johns"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3266ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305cf665735332584020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cf665735332584020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2532ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms)
Completed 200 OK in 54ms (Views: 52.6ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cf665735332584030000'), "firstname"=>"Ole", "lastname"=>"Mante"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4568ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 6ms (Views: 5.2ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cf665735332584040000'), "firstname"=>"Reanna", "lastname"=>"Luettgen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4333ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305cf665735332584040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cf665735332584040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2801ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cf665735332584050000'), "firstname"=>"Celia", "lastname"=>"Hackett"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4368ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305cf665735332584050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cf665735332584050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cf665735332584060000'), "name"=>"Elyssa Labadie", "reference"=>"Kennith Bernier DDS", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4795ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2585ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cf665735332584070000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3967ms
Redirected to http://test.host/admin/products/5305cf665735332584070000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2283ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cf665735332584080000'), "name"=>"Richie Volkman", "reference"=>"Ms. Marjory Fay", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3788ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2383ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305cf665735332584080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cf665735332584080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2925ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cf665735332584080000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3566ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1948ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cf665735332584090000'), "name"=>"Jalon Berge", "reference"=>"Grady Spencer", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2524ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305cf665735332584090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cf665735332584090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2458ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 9ms (Views: 8.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cf6657353325840a0000'), "name"=>"Ryley Harber", "reference"=>"Janet Kerluke", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4198ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3286ms
Completed 200 OK in 7ms (Views: 7.0ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cf6657353325840b0000'), "name"=>"Emiliano Borer", "reference"=>"Ernie Klein", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3906ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 50ms (Views: 6.1ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cf6657353325840e0000'), "name"=>"Samantha White V", "reference"=>"Brannon Kessler", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4263ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305cf6657353325840e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cf6657353325840e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3082ms
Completed 200 OK in 6ms (Views: 4.2ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cf6657353325840f0000'), "name"=>"Lulu Adams", "reference"=>"Green Bins", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4353ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cf6657353325840f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cf6657353325840f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cf6657353325840f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3227ms
Redirected to http://test.host/admin/products/5305cf6657353325840f0000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cf665735332584100000'), "firstname"=>"Shanny", "lastname"=>"Tillman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4376ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1828ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cf665735332584110000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3209ms
Redirected to http://test.host/admin/users/5305cf665735332584110000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1939ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cf665735332584120000'), "firstname"=>"Buck", "lastname"=>"Lesch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3119ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1754ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305cf665735332584120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cf665735332584120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cf665735332584120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2636ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3116ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cf665735332584130000'), "firstname"=>"Ryan", "lastname"=>"Olson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3790ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305cf665735332584130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cf665735332584130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cf665735332584140000'), "firstname"=>"Stanford", "lastname"=>"Ortiz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4023ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3164ms
Completed 200 OK in 7ms (Views: 6.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cf665735332584150000'), "firstname"=>"Faustino", "lastname"=>"Kessler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3405ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.9ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cf665735332584160000'), "firstname"=>"Keshaun", "lastname"=>"Renner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4806ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305cf665735332584160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cf665735332584160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3111ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cf665735332584170000'), "firstname"=>"Demetris", "lastname"=>"Gutmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4016ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305cf665735332584170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cf665735332584170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305cf665735332584170000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cf665735332584180000'), "firstname"=>"Shanelle", "lastname"=>"Dietrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4171ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1793ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cf665735332584190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3288ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1809ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cf6657353325841a0000'), "firstname"=>"Kaleb", "lastname"=>"Hoeger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2915ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305cf6657353325841a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cf6657353325841a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 40ms (Views: 38.9ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cf6657353325841b0000'), "firstname"=>"Mack", "lastname"=>"Okuneva"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4322ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cf6657353325841c0000'), "firstname"=>"Nichole", "lastname"=>"Harris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4105ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305cf6657353325841c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cf6657353325841c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2495ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305cf6657353325841d0000'), "firstname"=>"Lafayette", "lastname"=>"Buckridge"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3932ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305cf6657353325841d0000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305cf6657353325841d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2492ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cf6657353325841e0000'), "firstname"=>"Carter", "lastname"=>"Kuhlman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4687ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1817ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cf6657353325841f0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3395ms
Redirected to http://test.host/admin/clients/5305cf6657353325841f0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1966ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cf665735332584200000'), "firstname"=>"Felton", "lastname"=>"Corkery"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3017ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1783ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305cf665735332584200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cf665735332584200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2633ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cf665735332584200000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3010ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3062ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cf665735332584210000'), "firstname"=>"Zola", "lastname"=>"Stanton"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3575ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305cf665735332584210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cf665735332584210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cf665735332584220000'), "firstname"=>"Abbigail", "lastname"=>"Trantow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3675ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3142ms
Completed 200 OK in 8ms (Views: 6.7ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cf665735332584230000'), "firstname"=>"Amaya", "lastname"=>"Goyette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cf665735332584240000'), "firstname"=>"Stella", "lastname"=>"Cole"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4200ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305cf665735332584240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cf665735332584240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2401ms
Completed 200 OK in 36ms (Views: 35.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cf665735332584250000'), "firstname"=>"Josie", "lastname"=>"Padberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4210ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305cf665735332584250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cf665735332584250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2943ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cf665735332584250000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5055ms
Redirected to http://test.host/admin/clients/5305cf665735332584250000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cf665735332584260000'), "firstname"=>"Crystel", "lastname"=>"Kessler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3761ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1974ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cf665735332584270000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3654ms
Redirected to http://test.host/clients/5305cf665735332584270000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2386ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cf665735332584280000'), "firstname"=>"Earnestine", "lastname"=>"Koss"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2649ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1742ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305cf665735332584280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cf665735332584280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2653ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cf665735332584280000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2214ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1475ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cf665735332584290000'), "firstname"=>"Cecile", "lastname"=>"Harris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2034ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305cf665735332584290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cf665735332584290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2478ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cf6657353325842a0000'), "firstname"=>"Rosario", "lastname"=>"Weber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3477ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4231ms
Completed 200 OK in 11ms (Views: 10.7ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cf6657353325842b0000'), "firstname"=>"Arely", "lastname"=>"Tillman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3702ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.6ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cf6657353325842c0000'), "firstname"=>"Nash", "lastname"=>"Ziemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3863ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305cf6657353325842c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cf6657353325842c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2439ms
Completed 200 OK in 4ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305cf6657353325842d0000'), "firstname"=>"Linnea", "lastname"=>"Medhurst"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3583ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305cf6657353325842d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cf6657353325842d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3495ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305cf6657353325842d0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms
Redirected to http://test.host/clients/5305cf6657353325842d0000
Completed 302 Found in 4ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cf6657353325842e0000'), "name"=>"Miss Nickolas Schoen", "reference"=>"Sherwood Abbott", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4158ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2035ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cf6657353325842f0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3409ms
Redirected to http://test.host/products/5305cf6657353325842f0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2351ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cf665735332584300000'), "name"=>"Madelynn Dickinson", "reference"=>"Tomas Champlin", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3591ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2193ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305cf665735332584300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cf665735332584300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2913ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cf665735332584300000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3046ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2286ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cf665735332584310000'), "name"=>"Mr. Reese O'Conner", "reference"=>"Webster Windler PhD", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2955ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305cf665735332584310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cf665735332584310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2890ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.2ms)
Completed 200 OK in 11ms (Views: 9.2ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cf665735332584320000'), "name"=>"Garett Marvin", "reference"=>"Dr. Gwen Zboncak", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4295ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3796ms
Completed 200 OK in 11ms (Views: 10.0ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cf665735332584330000'), "name"=>"Kaela Senger", "reference"=>"Silas Crooks", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3679ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3475ms
Completed 200 OK in 3ms (Views: 0.8ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cf665735332584340000'), "name"=>"Mr. Jeramy McLaughlin", "reference"=>"Beth Lemke I", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3462ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305cf665735332584340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cf665735332584340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3963ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cf665735332584350000'), "name"=>"Dr. Kyra King", "reference"=>"Mrs. Ernest Legros", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4490ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 10ms (Views: 8.5ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cf665735332584370000'), "name"=>"Abdiel Legros", "reference"=>"Mrs. Darren Parisian", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4186ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305cf665735332584370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cf665735332584370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms
Completed 200 OK in 5ms (Views: 3.7ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cf665735332584380000'), "name"=>"Julio Klein", "reference"=>"Emie Haag", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4189ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2411ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cf665735332584390000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4518ms
Completed 201 Created in 3ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1854ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cf6657353325843a0000'), "name"=>"Pearline Shields", "reference"=>"Sigrid Yost", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2377ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305cf6657353325843a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cf6657353325843a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2439ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cf6657353325843a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6750ms
Completed 200 OK in 3ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cf6657353325843b0000'), "name"=>"Kory McLaughlin Jr.", "reference"=>"Ms. Valentine Funk", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2580ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cf6657353325843d0000'), "name"=>"Greg Ullrich", "reference"=>"Isom Durgan", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3818ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cf6657353325843d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cf6657353325843d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2562ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cf6657353325843d0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3303ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305cf6657353325843e0000'), "name"=>"Ms. Ozella Gaylord", "reference"=>"Jimmie Kuhic", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3175ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305cf6657353325843e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cf6657353325843e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2743ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305cf6657353325843e0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3004ms
Redirected to http://test.host/products/5305cf6657353325843e0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cf6657353325843f0000'), "firstname"=>"Billy", "lastname"=>"Ferry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4334ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1812ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cf665735332584400000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3002ms
Redirected to http://test.host/users/5305cf665735332584400000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1899ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cf665735332584410000'), "firstname"=>"Eliane", "lastname"=>"Carter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2969ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1726ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305cf665735332584410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cf665735332584410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cf665735332584410000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2521ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1802ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cf665735332584420000'), "firstname"=>"Forrest", "lastname"=>"Prosacco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2405ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305cf665735332584420000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cf665735332584420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 200 OK in 8ms (Views: 6.8ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cf665735332584430000'), "firstname"=>"Turner", "lastname"=>"Conn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4400ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4076ms
Completed 200 OK in 11ms (Views: 10.2ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cf665735332584440000'), "firstname"=>"Percy", "lastname"=>"O'Hara"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3597ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cf665735332584450000'), "firstname"=>"Creola", "lastname"=>"Swift"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305cf665735332584450000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cf665735332584450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2418ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305cf665735332584460000'), "firstname"=>"Idell", "lastname"=>"Johns"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5629ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305cf665735332584460000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305cf665735332584460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3773ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305cf665735332584460000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6533ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3005ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3341ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2229ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3446ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3353ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def000000'), "firstname"=>"Brock", "lastname"=>"Predovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4529ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1762ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1940ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def020000'), "firstname"=>"Alexis", "lastname"=>"Green"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3052ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f4bd5735332def020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f4bd5735332def020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms)
Completed 200 OK in 52ms (Views: 51.0ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def030000'), "firstname"=>"Nathan", "lastname"=>"Swift"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4218ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def040000'), "firstname"=>"Jeromy", "lastname"=>"Hamill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4088ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305f4bd5735332def040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f4bd5735332def040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2577ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def050000'), "firstname"=>"Henry", "lastname"=>"Vandervort"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4183ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305f4bd5735332def050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f4bd5735332def050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2607ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def060000'), "name"=>"Kian Bernier", "reference"=>"Allan O'Connell", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4475ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1805ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def070000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3381ms
Redirected to http://test.host/admin/products/5305f4bd5735332def070000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2293ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def080000'), "name"=>"Fabian Kessler Sr.", "reference"=>"Rosalyn Marvin Sr.", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3608ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2023ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305f4bd5735332def080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f4bd5735332def080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2653ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f4bd5735332def080000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3226ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1869ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def090000'), "name"=>"Coby Collier", "reference"=>"Keon Blick", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2545ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305f4bd5735332def090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f4bd5735332def090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2529ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 9ms (Views: 7.8ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def0a0000'), "name"=>"Nikolas Langworth", "reference"=>"Gene Ziemann", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4037ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3219ms
Completed 200 OK in 7ms (Views: 7.0ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def0b0000'), "name"=>"Elza Volkman", "reference"=>"Dr. Carmelo Jerde", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3954ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 50ms (Views: 5.9ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def0e0000'), "name"=>"Mrs. Kelsi Kreiger", "reference"=>"Jordy Olson V", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4270ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305f4bd5735332def0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f4bd5735332def0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2889ms
Completed 200 OK in 6ms (Views: 4.3ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def0f0000'), "name"=>"Deangelo Macejkovic", "reference"=>"Sienna Streich", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4364ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f4bd5735332def0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f4bd5735332def0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f4bd5735332def0f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3398ms
Redirected to http://test.host/admin/products/5305f4bd5735332def0f0000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def100000'), "firstname"=>"Harrison", "lastname"=>"Ledner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4276ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1850ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def110000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3204ms
Redirected to http://test.host/admin/users/5305f4bd5735332def110000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1964ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def120000'), "firstname"=>"Camden", "lastname"=>"Kuvalis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3041ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1751ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305f4bd5735332def120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f4bd5735332def120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2361ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f4bd5735332def120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3095ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2350ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def130000'), "firstname"=>"Nels", "lastname"=>"Donnelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4067ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305f4bd5735332def130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f4bd5735332def130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3451ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 9ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def140000'), "firstname"=>"Bridie", "lastname"=>"Wiegand"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4065ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3124ms
Completed 200 OK in 7ms (Views: 6.3ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def150000'), "firstname"=>"Ike", "lastname"=>"Leannon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def160000'), "firstname"=>"Faustino", "lastname"=>"Thompson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305f4bd5735332def160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f4bd5735332def160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3742ms
Completed 200 OK in 5ms (Views: 3.8ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def170000'), "firstname"=>"Alexandria", "lastname"=>"Harris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3941ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f4bd5735332def170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f4bd5735332def170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2520ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305f4bd5735332def170000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def180000'), "firstname"=>"Delilah", "lastname"=>"Maggio"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1156ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1809ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3217ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1901ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def1a0000'), "firstname"=>"Laverna", "lastname"=>"Stiedemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2992ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f4bd5735332def1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f4bd5735332def1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2915ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 38ms (Views: 36.4ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def1b0000'), "firstname"=>"Rowland", "lastname"=>"Walsh"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4483ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def1c0000'), "firstname"=>"Jadon", "lastname"=>"Swift"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3967ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305f4bd5735332def1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f4bd5735332def1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2409ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def1d0000'), "firstname"=>"Raquel", "lastname"=>"Pouros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305f4bd5735332def1d0000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f4bd5735332def1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2295ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def1e0000'), "firstname"=>"Cordia", "lastname"=>"Romaguera"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4566ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1667ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def1f0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3394ms
Redirected to http://test.host/admin/clients/5305f4bd5735332def1f0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1829ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def200000'), "firstname"=>"Wilber", "lastname"=>"Hahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3491ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1928ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f4bd5735332def200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f4bd5735332def200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f4bd5735332def200000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3039ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2062ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def210000'), "firstname"=>"Lamar", "lastname"=>"Marks"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0808ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f4bd5735332def210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f4bd5735332def210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3305ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.4ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def220000'), "firstname"=>"Deangelo", "lastname"=>"Larkin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4206ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3148ms
Completed 200 OK in 8ms (Views: 6.7ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def230000'), "firstname"=>"Westley", "lastname"=>"Kovacek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4478ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def240000'), "firstname"=>"Marcia", "lastname"=>"Gleason"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f4bd5735332def240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f4bd5735332def240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms
Completed 200 OK in 36ms (Views: 34.4ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def250000'), "firstname"=>"Clyde", "lastname"=>"Krajcik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4277ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f4bd5735332def250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f4bd5735332def250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f4bd5735332def250000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3009ms
Redirected to http://test.host/admin/clients/5305f4bd5735332def250000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def260000'), "firstname"=>"Leopold", "lastname"=>"Zboncak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3460ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1842ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def270000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4662ms
Redirected to http://test.host/clients/5305f4bd5735332def270000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2005ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def280000'), "firstname"=>"Issac", "lastname"=>"Jast"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2497ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1760ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f4bd5735332def280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f4bd5735332def280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2429ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f4bd5735332def280000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2588ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1855ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def290000'), "firstname"=>"Ruthie", "lastname"=>"Pfannerstill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2513ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f4bd5735332def290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f4bd5735332def290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2696ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f4bd5735332def2a0000'), "firstname"=>"Kennith", "lastname"=>"Medhurst"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3627ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3746ms
Completed 200 OK in 11ms (Views: 10.3ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def2b0000'), "firstname"=>"Stella", "lastname"=>"Farrell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3799ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.6ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def2c0000'), "firstname"=>"Melyssa", "lastname"=>"Bechtelar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3987ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f4be5735332def2c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f4be5735332def2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2424ms
Completed 200 OK in 4ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def2d0000'), "firstname"=>"Levi", "lastname"=>"Zemlak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3726ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f4be5735332def2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f4be5735332def2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2408ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f4be5735332def2d0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2866ms
Redirected to http://test.host/clients/5305f4be5735332def2d0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def2e0000'), "name"=>"Jeramie Bartoletti", "reference"=>"Dr. Dovie Ernser", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4212ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1406ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def2f0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3533ms
Redirected to http://test.host/products/5305f4be5735332def2f0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1962ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def300000'), "name"=>"Ayla Zieme", "reference"=>"Jordy Pacocha", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3197ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1779ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305f4be5735332def300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f4be5735332def300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f4be5735332def300000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2593ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1813ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def310000'), "name"=>"Ms. Kade Hilpert", "reference"=>"Taylor Miller", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2555ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305f4be5735332def310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f4be5735332def310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 10ms (Views: 8.5ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def320000'), "name"=>"Ms. Lee Schneider", "reference"=>"Annabell Johns IV", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4456ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3841ms
Completed 200 OK in 11ms (Views: 10.2ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def330000'), "name"=>"Granville Ernser", "reference"=>"Antonette Thiel", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3842ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3493ms
Completed 200 OK in 3ms (Views: 0.8ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def340000'), "name"=>"Thora O'Reilly", "reference"=>"Cleveland Champlin", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3041ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305f4be5735332def340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f4be5735332def340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2696ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def350000'), "name"=>"Lura Schroeder IV", "reference"=>"Antwan Stracke", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4375ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 10ms (Views: 8.5ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def370000'), "name"=>"Kameron Mertz", "reference"=>"Selena Hauck", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4359ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305f4be5735332def370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f4be5735332def370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2569ms
Completed 200 OK in 5ms (Views: 3.7ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def380000'), "name"=>"Rodrigo Rempel", "reference"=>"Roosevelt Schuster", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4033ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1854ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def390000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3251ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1929ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def3a0000'), "name"=>"Dr. Lia Dibbert", "reference"=>"Emerald Huel", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2520ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305f4be5735332def3a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f4be5735332def3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2744ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f4be5735332def3a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2650ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def3b0000'), "name"=>"Vidal Pouros", "reference"=>"Caden Wiza", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2745ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def3d0000'), "name"=>"Constantin Jast", "reference"=>"Maverick Koss", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3909ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f4be5735332def3d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f4be5735332def3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3528ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f4be5735332def3d0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2939ms
Completed 202 Accepted in 4ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def3e0000'), "name"=>"Marcelino Luettgen", "reference"=>"Flossie Wintheiser", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2762ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f4be5735332def3e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f4be5735332def3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f4be5735332def3e0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2804ms
Redirected to http://test.host/products/5305f4be5735332def3e0000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def3f0000'), "firstname"=>"Brandt", "lastname"=>"Greenfelder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4105ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1816ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def400000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3218ms
Redirected to http://test.host/users/5305f4be5735332def400000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1934ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def410000'), "firstname"=>"Alexane", "lastname"=>"Boyer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2985ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1720ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305f4be5735332def410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f4be5735332def410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f4be5735332def410000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2583ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1807ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def420000'), "firstname"=>"Katheryn", "lastname"=>"Nitzsche"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305f4be5735332def420000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f4be5735332def420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3557ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 9ms (Views: 7.1ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def430000'), "firstname"=>"Rosalind", "lastname"=>"Hermiston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3611ms
Completed 200 OK in 10ms (Views: 9.7ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def440000'), "firstname"=>"Lincoln", "lastname"=>"Lynch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3511ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.3ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def450000'), "firstname"=>"Ryann", "lastname"=>"Davis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4588ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305f4be5735332def450000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f4be5735332def450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2403ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f4be5735332def460000'), "firstname"=>"Miracle", "lastname"=>"Parisian"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4082ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f4be5735332def460000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f4be5735332def460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2417ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305f4be5735332def460000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6241ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3101ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3202ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3190ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3086ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f5e35735332f36000000'), "firstname"=>"Roman", "lastname"=>"Armstrong"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5123ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2227ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f5e35735332f36010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3798ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2177ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f5e35735332f36020000'), "firstname"=>"Lela", "lastname"=>"Kub"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3084ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f5e35735332f36020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f5e35735332f36020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 200 OK in 51ms (Views: 50.0ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f5e35735332f36030000'), "firstname"=>"Angelina", "lastname"=>"O'Connell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4235ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 200 OK in 6ms (Views: 5.8ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f5e35735332f36040000'), "firstname"=>"Maxime", "lastname"=>"Toy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4122ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305f5e35735332f36040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f5e35735332f36040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f5e35735332f36050000'), "firstname"=>"Gus", "lastname"=>"McLaughlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3911ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305f5e35735332f36050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f5e35735332f36050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2471ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e35735332f36060000'), "name"=>"Jessie Romaguera", "reference"=>"Unique Paucek", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4337ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1806ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e35735332f36070000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3499ms
Redirected to http://test.host/admin/products/5305f5e35735332f36070000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1947ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36080000'), "name"=>"Fernando Ortiz", "reference"=>"Rico Schmitt II", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3171ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1767ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305f5e45735332f36080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f5e45735332f36080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2719ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f5e45735332f36080000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3155ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2083ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36090000'), "name"=>"Noemy Jenkins", "reference"=>"Jarvis Ullrich", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2546ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305f5e45735332f36090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f5e45735332f36090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 9ms (Views: 7.8ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f360a0000'), "name"=>"Ms. Sincere Herman", "reference"=>"Enrique Rutherford", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 28.1612ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3492ms
Completed 200 OK in 8ms (Views: 7.7ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f360b0000'), "name"=>"Brody Marquardt", "reference"=>"Javonte Walter", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3584ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 22ms (Views: 5.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f360e0000'), "name"=>"Dr. Ali Schuster", "reference"=>"Jace Strosin", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4751ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305f5e45735332f360e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f5e45735332f360e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3591ms
Completed 200 OK in 5ms (Views: 3.8ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f360f0000'), "name"=>"Lavon Pollich V", "reference"=>"Ena Senger", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4005ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f5e45735332f360f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f5e45735332f360f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2594ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f5e45735332f360f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3288ms
Redirected to http://test.host/admin/products/5305f5e45735332f360f0000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36100000'), "firstname"=>"Dameon", "lastname"=>"Bechtelar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4170ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1840ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36110000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms
Redirected to http://test.host/admin/users/5305f5e45735332f36110000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1886ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36120000'), "firstname"=>"Jabari", "lastname"=>"Ryan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2983ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1727ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305f5e45735332f36120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f5e45735332f36120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3661ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f5e45735332f36120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4928ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2233ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36130000'), "firstname"=>"Diana", "lastname"=>"Wolff"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2506ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305f5e45735332f36130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f5e45735332f36130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2336ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36140000'), "firstname"=>"Liliana", "lastname"=>"Howell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4105ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms
Completed 200 OK in 7ms (Views: 6.3ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36150000'), "firstname"=>"Margarette", "lastname"=>"Tillman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3382ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.4ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36160000'), "firstname"=>"Jenifer", "lastname"=>"VonRueden"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4358ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305f5e45735332f36160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f5e45735332f36160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2475ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36170000'), "firstname"=>"Halie", "lastname"=>"Brakus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f5e45735332f36170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f5e45735332f36170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305f5e45735332f36170000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36180000'), "firstname"=>"Kristina", "lastname"=>"Stark"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4150ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1773ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4348ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1992ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f361a0000'), "firstname"=>"Frances", "lastname"=>"Walker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3134ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f5e45735332f361a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f5e45735332f361a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3618ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.6ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f361b0000'), "firstname"=>"Shannon", "lastname"=>"Bosco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4203ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f361c0000'), "firstname"=>"Brent", "lastname"=>"Block"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4063ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305f5e45735332f361c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f5e45735332f361c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2637ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f361d0000'), "firstname"=>"Meta", "lastname"=>"Pouros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3866ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305f5e45735332f361d0000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f5e45735332f361d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2876ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f361e0000'), "firstname"=>"Omari", "lastname"=>"Jenkins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4471ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1823ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f361f0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3321ms
Redirected to http://test.host/admin/clients/5305f5e45735332f361f0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2024ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36200000'), "firstname"=>"Dustin", "lastname"=>"Brakus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6692ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2230ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f5e45735332f36200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f5e45735332f36200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2893ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f5e45735332f36200000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2955ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1865ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36210000'), "firstname"=>"Gilbert", "lastname"=>"Deckow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2439ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f5e45735332f36210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f5e45735332f36210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2372ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (35.2ms)
Completed 200 OK in 42ms (Views: 41.1ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36220000'), "firstname"=>"Preston", "lastname"=>"Dibbert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4233ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3325ms
Completed 200 OK in 8ms (Views: 7.2ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36230000'), "firstname"=>"Eugenia", "lastname"=>"O'Kon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4291ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 6.3ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36240000'), "firstname"=>"Dallas", "lastname"=>"Langworth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4254ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f5e45735332f36240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f5e45735332f36240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2482ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36250000'), "firstname"=>"Kitty", "lastname"=>"Parisian"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3879ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f5e45735332f36250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f5e45735332f36250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2484ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f5e45735332f36250000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2918ms
Redirected to http://test.host/admin/clients/5305f5e45735332f36250000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36260000'), "firstname"=>"Angelo", "lastname"=>"Kuhn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2409ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1763ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36270000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3092ms
Redirected to http://test.host/clients/5305f5e45735332f36270000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1864ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36280000'), "firstname"=>"Tad", "lastname"=>"Doyle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4655ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1998ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f5e45735332f36280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f5e45735332f36280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f5e45735332f36280000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2888ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1965ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36290000'), "firstname"=>"Carolyn", "lastname"=>"Senger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2562ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f5e45735332f36290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f5e45735332f36290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2809ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f362a0000'), "firstname"=>"Isaac", "lastname"=>"Davis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3924ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3571ms
Completed 200 OK in 10ms (Views: 9.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f362b0000'), "firstname"=>"Norene", "lastname"=>"Reichel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3832ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.6ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f362c0000'), "firstname"=>"Krystina", "lastname"=>"Dach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f5e45735332f362c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f5e45735332f362c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2410ms
Completed 200 OK in 4ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f362d0000'), "firstname"=>"Micah", "lastname"=>"Konopelski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3328ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f5e45735332f362d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f5e45735332f362d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f5e45735332f362d0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2559ms
Redirected to http://test.host/clients/5305f5e45735332f362d0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f362e0000'), "name"=>"Josephine Goodwin", "reference"=>"Anabel Keeling", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('5305f5e45735332f362f0000'), "firstname"=>"Eulah", "lastname"=>"Tremblay"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4372ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"managers", :query=>{}} runtime: 0.3801ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36300000'), "name"=>"Markus Robel Jr.", "reference"=>"Anthony Lubowitz III", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('5305f5e45735332f36310000'), "firstname"=>"Melody", "lastname"=>"O'Reilly"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36320000'), "name"=>"Ramona O'Kon", "reference"=>"Zane Abbott", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('5305f5e45735332f36330000'), "firstname"=>"German", "lastname"=>"Cormier"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3975ms
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36340000'), "name"=>"Mario Beatty", "reference"=>"Royal McKenzie", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305f5e45735332f36350000'), "firstname"=>"Deron", "lastname"=>"Gaylord"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36360000'), "name"=>"Wiley Gleason IV", "reference"=>"Chelsie Quitzon", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5305f5e45735332f36370000'), "firstname"=>"Gladys", "lastname"=>"Volkman"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3991ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36380000'), "name"=>"Janessa Labadie", "reference"=>"Alvah Reilly", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4001ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2394ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36390000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms
Redirected to http://test.host/products/5305f5e45735332f36390000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2434ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f363a0000'), "name"=>"Ava Larkin", "reference"=>"Miss Madyson Wilderman", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5330ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2725ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305f5e45735332f363a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f5e45735332f363a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3041ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f5e45735332f363a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2308ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f363b0000'), "name"=>"Margie Hodkiewicz", "reference"=>"Mrs. Eula Hahn", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2586ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305f5e45735332f363b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f5e45735332f363b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2413ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f363c0000'), "name"=>"Antonio Fahey", "reference"=>"Dr. Caleb Hegmann", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4764ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4779ms
Completed 200 OK in 14ms (Views: 13.1ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f363d0000'), "name"=>"Mr. Mittie Emmerich", "reference"=>"Friedrich Bins", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3484ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4200ms
Completed 200 OK in 3ms (Views: 1.0ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f363e0000'), "name"=>"Aliyah Mayert", "reference"=>"Tyler Rosenbaum", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3486ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305f5e45735332f363e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f5e45735332f363e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2988ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f363f0000'), "name"=>"Tom Raynor", "reference"=>"Elyse Lemke", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3347ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36410000'), "name"=>"Madeline Purdy", "reference"=>"Virginie Waters", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4996ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305f5e45735332f36410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f5e45735332f36410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3494ms
Completed 200 OK in 5ms (Views: 3.7ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36420000'), "name"=>"Trent Jacobi", "reference"=>"Maybelle Thiel", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.9656ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1843ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36430000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3167ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2264ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36440000'), "name"=>"Amber Orn", "reference"=>"Mrs. Emmanuelle Davis", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3009ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305f5e45735332f36440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f5e45735332f36440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3004ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f5e45735332f36440000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2827ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36450000'), "name"=>"Cortney Ortiz", "reference"=>"Tiffany Ratke", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2881ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36470000'), "name"=>"Torrey Schimmel", "reference"=>"Newton Gleichner PhD", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4153ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f5e45735332f36470000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f5e45735332f36470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2720ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f5e45735332f36470000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2910ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36480000'), "name"=>"Lucio Goyette", "reference"=>"Sammie Collins Sr.", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2828ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f5e45735332f36480000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f5e45735332f36480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2680ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f5e45735332f36480000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2872ms
Redirected to http://test.host/products/5305f5e45735332f36480000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36490000'), "firstname"=>"Doris", "lastname"=>"Cummerata"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4228ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1828ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f364a0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3229ms
Redirected to http://test.host/users/5305f5e45735332f364a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2010ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f364b0000'), "firstname"=>"Elda", "lastname"=>"Connelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4002ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3281ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305f5e45735332f364b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f5e45735332f364b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3588ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f5e45735332f364b0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2821ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1916ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f364c0000'), "firstname"=>"Ivory", "lastname"=>"Johns"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2395ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305f5e45735332f364c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f5e45735332f364c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2626ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.9ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f364d0000'), "firstname"=>"Anissa", "lastname"=>"Jacobson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4432ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3518ms
Completed 200 OK in 11ms (Views: 10.1ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f364e0000'), "firstname"=>"Vaughn", "lastname"=>"Okuneva"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0164ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f364f0000'), "firstname"=>"Vincenza", "lastname"=>"Schneider"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4083ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305f5e45735332f364f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f5e45735332f364f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2471ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f5e45735332f36500000'), "firstname"=>"Harold", "lastname"=>"Friesen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f5e45735332f36500000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f5e45735332f36500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305f5e45735332f36500000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6543ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3626ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2728ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2857ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2095ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68000000'), "firstname"=>"Fausto", "lastname"=>"Olson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4705ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1790ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3742ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1969ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68020000'), "firstname"=>"Dena", "lastname"=>"West"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3052ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f6425735332f68020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f6425735332f68020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2911ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 200 OK in 52ms (Views: 50.6ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68030000'), "firstname"=>"Brad", "lastname"=>"Brown"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4261ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 6ms (Views: 5.6ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68040000'), "firstname"=>"Verner", "lastname"=>"White"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4118ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305f6425735332f68040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f6425735332f68040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2520ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68050000'), "firstname"=>"Tyree", "lastname"=>"Hegmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3950ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305f6425735332f68050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f6425735332f68050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2471ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68060000'), "name"=>"Mozelle Schumm", "reference"=>"Horacio Beahan", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4601ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1848ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68070000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3497ms
Redirected to http://test.host/admin/products/5305f6425735332f68070000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2179ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68080000'), "name"=>"Alek Hickle", "reference"=>"Otilia Herzog IV", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3521ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2210ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305f6425735332f68080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6425735332f68080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2953ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6425735332f68080000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3512ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2312ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68090000'), "name"=>"Seamus Stanton MD", "reference"=>"Maryjane Lesch", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2981ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305f6425735332f68090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6425735332f68090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2551ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 9ms (Views: 7.8ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f680a0000'), "name"=>"Rosa Hirthe", "reference"=>"Sydnee Leuschke Jr.", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4732ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3522ms
Completed 200 OK in 8ms (Views: 7.3ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f680b0000'), "name"=>"Gavin Wisozk", "reference"=>"Miss Isabell Smitham", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3641ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 20ms (Views: 5.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f680e0000'), "name"=>"Marlen Schoen", "reference"=>"Parker Little", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305f6425735332f680e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6425735332f680e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3397ms
Completed 200 OK in 6ms (Views: 4.1ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f680f0000'), "name"=>"Allan Walter", "reference"=>"Charlie Stamm", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4000ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f6425735332f680f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6425735332f680f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2435ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6425735332f680f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3078ms
Redirected to http://test.host/admin/products/5305f6425735332f680f0000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68100000'), "firstname"=>"Rubye", "lastname"=>"Connelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4136ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1608ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68110000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3041ms
Redirected to http://test.host/admin/users/5305f6425735332f68110000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2153ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68120000'), "firstname"=>"Rita", "lastname"=>"Zulauf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3205ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1868ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305f6425735332f68120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6425735332f68120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2511ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6425735332f68120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3127ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1878ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68130000'), "firstname"=>"Jarvis", "lastname"=>"Greenholt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3917ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305f6425735332f68130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6425735332f68130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3345ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68140000'), "firstname"=>"Mara", "lastname"=>"Berge"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3162ms
Completed 200 OK in 7ms (Views: 6.4ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68150000'), "firstname"=>"Gardner", "lastname"=>"Purdy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3802ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68160000'), "firstname"=>"Annetta", "lastname"=>"Bechtelar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4309ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305f6425735332f68160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6425735332f68160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3952ms
Completed 200 OK in 5ms (Views: 3.8ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68170000'), "firstname"=>"Lyla", "lastname"=>"Volkman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4037ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f6425735332f68170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6425735332f68170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2471ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305f6425735332f68170000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68180000'), "firstname"=>"Janick", "lastname"=>"Ferry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4179ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1741ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4358ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2203ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6425735332f681a0000'), "firstname"=>"Verlie", "lastname"=>"Kuvalis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3384ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f6425735332f681a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f6425735332f681a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2932ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 9ms (Views: 8.0ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6425735332f681b0000'), "firstname"=>"Norbert", "lastname"=>"Shanahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4230ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 4.9ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6425735332f681c0000'), "firstname"=>"Gia", "lastname"=>"Kassulke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4058ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305f6425735332f681c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f6425735332f681c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2455ms
Completed 200 OK in 5ms (Views: 3.5ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6425735332f681d0000'), "firstname"=>"Tatyana", "lastname"=>"Cormier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3967ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305f6425735332f681d0000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f6425735332f681d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2476ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6425735332f681e0000'), "firstname"=>"Wilford", "lastname"=>"Abernathy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4849ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1814ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6425735332f681f0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3289ms
Redirected to http://test.host/admin/clients/5305f6425735332f681f0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1894ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68200000'), "firstname"=>"Harvey", "lastname"=>"Hills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3069ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1721ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f6425735332f68200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6425735332f68200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6425735332f68200000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2934ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1830ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68210000'), "firstname"=>"Kristoffer", "lastname"=>"Ebert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2390ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f6425735332f68210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6425735332f68210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2395ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (34.1ms)
Completed 200 OK in 41ms (Views: 39.7ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68220000'), "firstname"=>"America", "lastname"=>"Langworth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4317ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3317ms
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68230000'), "firstname"=>"Nat", "lastname"=>"Smith"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4197ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 6.2ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68240000'), "firstname"=>"Cicero", "lastname"=>"Bednar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4150ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f6425735332f68240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6425735332f68240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2427ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68250000'), "firstname"=>"Kayleigh", "lastname"=>"Kunze"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f6425735332f68250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6425735332f68250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6425735332f68250000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3150ms
Redirected to http://test.host/admin/clients/5305f6425735332f68250000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68260000'), "firstname"=>"Ford", "lastname"=>"Raynor"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2628ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1705ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68270000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2931ms
Redirected to http://test.host/clients/5305f6425735332f68270000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1826ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68280000'), "firstname"=>"Aniyah", "lastname"=>"Goldner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2341ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1683ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f6425735332f68280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6425735332f68280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2324ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6425735332f68280000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2497ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1801ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68290000'), "firstname"=>"Macie", "lastname"=>"Crooks"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2340ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f6425735332f68290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6425735332f68290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3037ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.5ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6425735332f682a0000'), "firstname"=>"Delores", "lastname"=>"Grant"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3860ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3696ms
Completed 200 OK in 10ms (Views: 9.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6425735332f682b0000'), "firstname"=>"Francesco", "lastname"=>"Pouros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3708ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6425735332f682c0000'), "firstname"=>"Ressie", "lastname"=>"Cormier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f6425735332f682c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6425735332f682c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6425735332f682d0000'), "firstname"=>"Caterina", "lastname"=>"Tillman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3420ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f6425735332f682d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6425735332f682d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2724ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6425735332f682d0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2776ms
Redirected to http://test.host/clients/5305f6425735332f682d0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f682e0000'), "name"=>"Harold Moen", "reference"=>"Chanelle Wilkinson", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5305f6425735332f682f0000'), "firstname"=>"Verlie", "lastname"=>"Johnston"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4403ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"managers", :query=>{}} runtime: 0.3175ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68300000'), "name"=>"Luella Kertzmann", "reference"=>"Lilla Corwin", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305f6425735332f68310000'), "firstname"=>"Marcellus", "lastname"=>"Pacocha"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4069ms
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68320000'), "name"=>"Dixie King", "reference"=>"Laron Bergstrom", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305f6425735332f68330000'), "firstname"=>"Melany", "lastname"=>"Greenholt"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68340000'), "name"=>"Genevieve Beer", "reference"=>"Marc Lang Jr.", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305f6425735332f68350000'), "firstname"=>"Shawn", "lastname"=>"Waters"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4042ms
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68360000'), "name"=>"Lucile Stokes", "reference"=>"Ms. Hettie Konopelski", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305f6425735332f68370000'), "firstname"=>"Eriberto", "lastname"=>"Brown"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5775ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68380000'), "name"=>"Jared Thiel DVM", "reference"=>"Caleb Cummings Sr.", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7181ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2317ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68390000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5183ms
Redirected to http://test.host/products/5305f6425735332f68390000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2409ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f683a0000'), "name"=>"Nadia Hoppe", "reference"=>"Miss Sedrick Halvorson", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3937ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2247ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305f6425735332f683a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6425735332f683a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6425735332f683a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3081ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2308ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f683b0000'), "name"=>"Deshaun Koelpin", "reference"=>"Otho Cremin V", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2573ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305f6425735332f683b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6425735332f683b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2295ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f683c0000'), "name"=>"Gail Conn DVM", "reference"=>"Keyshawn Heller", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4278ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5446ms
Completed 200 OK in 13ms (Views: 12.9ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f683d0000'), "name"=>"Laury Gorczany", "reference"=>"Richmond VonRueden", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3843ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4146ms
Completed 200 OK in 3ms (Views: 1.0ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f683e0000'), "name"=>"Lamont Kessler I", "reference"=>"Kiana Schuster", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3116ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305f6425735332f683e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6425735332f683e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2551ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f683f0000'), "name"=>"Ms. Rhoda Wolf", "reference"=>"Annabell Hackett", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2878ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 8ms (Views: 6.8ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68410000'), "name"=>"Audrey Harris", "reference"=>"Cheyanne Kling", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4658ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305f6425735332f68410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6425735332f68410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2607ms
Completed 200 OK in 5ms (Views: 3.7ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68420000'), "name"=>"Anissa Raynor", "reference"=>"Ms. Keagan Pollich", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1792ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68430000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3304ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1879ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68440000'), "name"=>"Khalil Goyette III", "reference"=>"Dr. Leann Roberts", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2381ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305f6425735332f68440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6425735332f68440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2667ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6425735332f68440000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2506ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68450000'), "name"=>"Chris Skiles", "reference"=>"Gail Adams", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 32.0545ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68470000'), "name"=>"Isobel Frami", "reference"=>"Dr. Destinee Schmitt", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f6425735332f68470000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6425735332f68470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2693ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6425735332f68470000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2901ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68480000'), "name"=>"Dr. Randi Swaniawski", "reference"=>"Domenic Ondricka III", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2812ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f6425735332f68480000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6425735332f68480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2775ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6425735332f68480000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2900ms
Redirected to http://test.host/products/5305f6425735332f68480000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6425735332f68490000'), "firstname"=>"Tony", "lastname"=>"Luettgen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4276ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1809ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6425735332f684a0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms
Redirected to http://test.host/users/5305f6425735332f684a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2311ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6425735332f684b0000'), "firstname"=>"Dora", "lastname"=>"Hayes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3550ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3003ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305f6425735332f684b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6425735332f684b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3465ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6425735332f684b0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2769ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1889ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6425735332f684c0000'), "firstname"=>"Zelda", "lastname"=>"Marks"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2527ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305f6425735332f684c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6425735332f684c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6435735332f684d0000'), "firstname"=>"Eugene", "lastname"=>"Roob"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4107ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3644ms
Completed 200 OK in 10ms (Views: 9.8ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6435735332f684e0000'), "firstname"=>"Wayne", "lastname"=>"Koch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4326ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6435735332f684f0000'), "firstname"=>"Tamia", "lastname"=>"Weissnat"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4179ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305f6435735332f684f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6435735332f684f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6435735332f68500000'), "firstname"=>"Oscar", "lastname"=>"Metz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3870ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f6435735332f68500000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6435735332f68500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305f6435735332f68500000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6449ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3318ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3731ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2731ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2905ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3143ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94000000'), "firstname"=>"Cindy", "lastname"=>"Kemmer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4752ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1782ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3666ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1971ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94020000'), "firstname"=>"Grant", "lastname"=>"Kerluke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3035ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f6965735332f94020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f6965735332f94020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 200 OK in 52ms (Views: 50.9ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94030000'), "firstname"=>"Chyna", "lastname"=>"Schultz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4182ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.1ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94040000'), "firstname"=>"Thurman", "lastname"=>"Botsford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305f6965735332f94040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f6965735332f94040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2536ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94050000'), "firstname"=>"Bianka", "lastname"=>"Bergnaum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3914ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305f6965735332f94050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f6965735332f94050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94060000'), "name"=>"Ms. Daniela Beahan", "reference"=>"Sofia Hagenes Sr.", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4525ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1851ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94070000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3489ms
Redirected to http://test.host/admin/products/5305f6965735332f94070000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2334ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94080000'), "name"=>"Modesta Johns", "reference"=>"Jeanne Jenkins", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3582ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2213ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305f6965735332f94080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6965735332f94080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2915ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6965735332f94080000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2121ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94090000'), "name"=>"Stan Lind", "reference"=>"Dr. Alanna Bahringer", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2746ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305f6965735332f94090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6965735332f94090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2492ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 9ms (Views: 7.8ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f940a0000'), "name"=>"Ms. Amie Kautzer", "reference"=>"Shanny Gerhold", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4603ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3871ms
Completed 200 OK in 8ms (Views: 7.7ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f940b0000'), "name"=>"Evie Murazik", "reference"=>"Adriana Will", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3624ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 21ms (Views: 5.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f940e0000'), "name"=>"Alexie Auer", "reference"=>"Juliana Gulgowski", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4065ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305f6965735332f940e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6965735332f940e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3861ms
Completed 200 OK in 6ms (Views: 4.0ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f940f0000'), "name"=>"Kayli Hickle PhD", "reference"=>"Jayda Shanahan", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4275ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f6965735332f940f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6965735332f940f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2641ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6965735332f940f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3273ms
Redirected to http://test.host/admin/products/5305f6965735332f940f0000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94100000'), "firstname"=>"Emmie", "lastname"=>"Jacobson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4351ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1942ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94110000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3260ms
Redirected to http://test.host/admin/users/5305f6965735332f94110000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2305ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94120000'), "firstname"=>"Alysa", "lastname"=>"Haley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3489ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2259ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305f6965735332f94120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6965735332f94120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6965735332f94120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5034ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3454ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94130000'), "firstname"=>"Eusebio", "lastname"=>"Beer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2926ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305f6965735332f94130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6965735332f94130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2590ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94140000'), "firstname"=>"Margarette", "lastname"=>"Keeling"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4065ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3217ms
Completed 200 OK in 7ms (Views: 6.4ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94150000'), "firstname"=>"Clemens", "lastname"=>"Monahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3416ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.4ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94160000'), "firstname"=>"Caleb", "lastname"=>"Gottlieb"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4291ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305f6965735332f94160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6965735332f94160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2512ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94170000'), "firstname"=>"Jamal", "lastname"=>"Schuster"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3902ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f6965735332f94170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6965735332f94170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305f6965735332f94170000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94180000'), "firstname"=>"Ignacio", "lastname"=>"Zboncak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1781ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4435ms
Redirected to http://test.host/administrator
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2042ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6965735332f941a0000'), "firstname"=>"Alexandrea", "lastname"=>"Dare"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3619ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f6965735332f941a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f6965735332f941a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3591ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 9ms (Views: 7.4ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6965735332f941b0000'), "firstname"=>"Jimmy", "lastname"=>"Kshlerin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6965735332f941c0000'), "firstname"=>"Rhea", "lastname"=>"Schowalter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4170ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305f6965735332f941c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f6965735332f941c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms
Completed 200 OK in 5ms (Views: 3.5ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6965735332f941d0000'), "firstname"=>"Lilian", "lastname"=>"Bednar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3847ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305f6965735332f941d0000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f6965735332f941d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3775ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 3ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6965735332f941e0000'), "firstname"=>"Carlo", "lastname"=>"Schmitt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4636ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1877ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6965735332f941f0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3315ms
Redirected to http://test.host/admin/clients/5305f6965735332f941f0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1949ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94200000'), "firstname"=>"Jermain", "lastname"=>"Koelpin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3008ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1753ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f6965735332f94200000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6965735332f94200000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6965735332f94200000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3001ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1847ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94210000'), "firstname"=>"Ora", "lastname"=>"Dickinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2434ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f6965735332f94210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6965735332f94210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2702ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (35.5ms)
Completed 200 OK in 43ms (Views: 41.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94220000'), "firstname"=>"Dorcas", "lastname"=>"Skiles"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3157ms
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94230000'), "firstname"=>"Chanelle", "lastname"=>"Feeney"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4027ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 6.1ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94240000'), "firstname"=>"Deonte", "lastname"=>"McCullough"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4305ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f6965735332f94240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6965735332f94240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2386ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94250000'), "firstname"=>"Kelli", "lastname"=>"Gutkowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3911ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f6965735332f94250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6965735332f94250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2397ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6965735332f94250000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2765ms
Redirected to http://test.host/admin/clients/5305f6965735332f94250000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94260000'), "firstname"=>"Kareem", "lastname"=>"Bogan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2541ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1574ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94270000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3013ms
Redirected to http://test.host/clients/5305f6965735332f94270000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1668ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94280000'), "firstname"=>"Loraine", "lastname"=>"Beier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2122ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1523ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f6965735332f94280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6965735332f94280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2259ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6965735332f94280000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2358ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1612ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94290000'), "firstname"=>"Stephanie", "lastname"=>"Watsica"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2216ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f6965735332f94290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6965735332f94290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2843ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.6ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6965735332f942a0000'), "firstname"=>"Rod", "lastname"=>"Crona"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3597ms
Completed 200 OK in 10ms (Views: 9.9ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6965735332f942b0000'), "firstname"=>"Kirk", "lastname"=>"Emard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.2ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6965735332f942c0000'), "firstname"=>"Dariana", "lastname"=>"O'Conner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4173ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f6965735332f942c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6965735332f942c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2271ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6965735332f942d0000'), "firstname"=>"Raven", "lastname"=>"Kling"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3393ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f6965735332f942d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6965735332f942d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2445ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6965735332f942d0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2520ms
Redirected to http://test.host/clients/5305f6965735332f942d0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f942e0000'), "name"=>"Keaton Wiza", "reference"=>"Hillard Mayer Sr.", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('5305f6965735332f942f0000'), "firstname"=>"Matt", "lastname"=>"Mraz"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4382ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"managers", :query=>{}} runtime: 0.3218ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94300000'), "name"=>"Rosalind Labadie", "reference"=>"Dangelo Powlowski", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305f6965735332f94310000'), "firstname"=>"Hazel", "lastname"=>"Smith"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3556ms
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94320000'), "name"=>"Russel Bernier Jr.", "reference"=>"Shayne Johnston DVM", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5305f6965735332f94330000'), "firstname"=>"Germaine", "lastname"=>"Upton"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3477ms
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94340000'), "name"=>"Edwina Marquardt", "reference"=>"Foster Smith", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5305f6965735332f94350000'), "firstname"=>"Cornell", "lastname"=>"Larkin"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3326ms
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94360000'), "name"=>"Yessenia Hilpert", "reference"=>"Daniela Borer", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('5305f6965735332f94370000'), "firstname"=>"Brandt", "lastname"=>"Upton"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3900ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94380000'), "name"=>"Guy Bosco", "reference"=>"Caitlyn Weimann", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4255ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1701ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94390000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3853ms
Redirected to http://test.host/products/5305f6965735332f94390000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2554ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f943a0000'), "name"=>"Gabriel Ortiz", "reference"=>"Rosalyn Brown II", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5376ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3286ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305f6965735332f943a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6965735332f943a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3173ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6965735332f943a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3163ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2331ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f943b0000'), "name"=>"Merlin Bartoletti", "reference"=>"Anika Collins", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3021ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305f6965735332f943b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6965735332f943b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2568ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f943c0000'), "name"=>"Mr. Brock Runte", "reference"=>"Ms. Russel Homenick", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4137ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4709ms
Completed 200 OK in 13ms (Views: 12.7ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f943d0000'), "name"=>"Janessa Bashirian", "reference"=>"Jayson Carter", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3864ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4100ms
Completed 200 OK in 3ms (Views: 1.0ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f943e0000'), "name"=>"Peyton Schmitt", "reference"=>"Brooklyn McKenzie", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2157ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305f6965735332f943e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6965735332f943e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3116ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f943f0000'), "name"=>"Delbert Jacobs PhD", "reference"=>"Lazaro Carroll Sr.", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2998ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94410000'), "name"=>"Mr. Emmanuelle Kub", "reference"=>"Jillian DuBuque", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5019ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305f6965735332f94410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6965735332f94410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3722ms
Completed 200 OK in 5ms (Views: 3.6ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94420000'), "name"=>"Robyn Kulas", "reference"=>"Amalia Sanford PhD", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3897ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1801ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94430000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3109ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1875ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94440000'), "name"=>"Haylee Lubowitz", "reference"=>"Mrs. Dawn Carroll", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2417ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305f6965735332f94440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6965735332f94440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2613ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6965735332f94440000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2549ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94450000'), "name"=>"Kennedy Orn", "reference"=>"Bernie Wiegand", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4705ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94470000'), "name"=>"Gardner Hirthe", "reference"=>"Oran Ortiz II", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4193ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f6965735332f94470000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6965735332f94470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4020ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6965735332f94470000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3512ms
Completed 202 Accepted in 4ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94480000'), "name"=>"Chandler Johnson", "reference"=>"Mr. German Pollich", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2850ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f6965735332f94480000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6965735332f94480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2613ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6965735332f94480000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2872ms
Redirected to http://test.host/products/5305f6965735332f94480000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94490000'), "firstname"=>"Fernando", "lastname"=>"Kessler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4462ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1836ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6965735332f944a0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3271ms
Redirected to http://test.host/users/5305f6965735332f944a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2092ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6965735332f944b0000'), "firstname"=>"Denis", "lastname"=>"Hahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3446ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3006ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305f6965735332f944b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6965735332f944b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2625ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6965735332f944b0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2349ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1517ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6965735332f944c0000'), "firstname"=>"Bennett", "lastname"=>"Maggio"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2200ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305f6965735332f944c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6965735332f944c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.8ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6965735332f944d0000'), "firstname"=>"Evelyn", "lastname"=>"Wyman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4060ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3481ms
Completed 200 OK in 10ms (Views: 9.9ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6965735332f944e0000'), "firstname"=>"Pietro", "lastname"=>"Homenick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4208ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6965735332f944f0000'), "firstname"=>"Chanelle", "lastname"=>"Padberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4320ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305f6965735332f944f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6965735332f944f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2516ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6965735332f94500000'), "firstname"=>"Skye", "lastname"=>"MacGyver"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3931ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f6965735332f94500000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6965735332f94500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305f6965735332f94500000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5973ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2715ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2335ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2687ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2574ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf000000'), "firstname"=>"Pattie", "lastname"=>"Goldner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4673ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1786ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3718ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2373ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf020000'), "firstname"=>"Bernie", "lastname"=>"Runolfsson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3136ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f6b95735332fbf020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f6b95735332fbf020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2989ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 200 OK in 53ms (Views: 51.8ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf030000'), "firstname"=>"Adolf", "lastname"=>"Rippin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4212ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.1ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf040000'), "firstname"=>"Isidro", "lastname"=>"Kris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8197ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305f6b95735332fbf040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f6b95735332fbf040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2708ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf050000'), "firstname"=>"Jasen", "lastname"=>"Orn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3873ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305f6b95735332fbf050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f6b95735332fbf050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2543ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf060000'), "name"=>"Lucinda Weber V", "reference"=>"Chester Kiehn", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4515ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1860ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf070000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3498ms
Redirected to http://test.host/admin/products/5305f6b95735332fbf070000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2159ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf080000'), "name"=>"Zaria Goyette", "reference"=>"Devyn Feil", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3381ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1775ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305f6b95735332fbf080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6b95735332fbf080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2936ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6b95735332fbf080000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3516ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1938ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf090000'), "name"=>"Angel Kiehn", "reference"=>"Isaac Kling", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2581ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305f6b95735332fbf090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6b95735332fbf090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2555ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 9ms (Views: 7.8ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf0a0000'), "name"=>"Amelie Bruen", "reference"=>"Boris Hane", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4087ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3729ms
Completed 200 OK in 8ms (Views: 7.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf0b0000'), "name"=>"Lizzie Streich II", "reference"=>"Elvis Kessler", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3653ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 21ms (Views: 5.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf0e0000'), "name"=>"Dr. Jacinthe Boyle", "reference"=>"Terrence Dare", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305f6b95735332fbf0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6b95735332fbf0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3990ms
Completed 200 OK in 6ms (Views: 4.0ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf0f0000'), "name"=>"Leora Abernathy", "reference"=>"Hulda Douglas", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3956ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f6b95735332fbf0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6b95735332fbf0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2577ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6b95735332fbf0f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3277ms
Redirected to http://test.host/admin/products/5305f6b95735332fbf0f0000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf100000'), "firstname"=>"Elena", "lastname"=>"Satterfield"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4315ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1800ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf110000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3075ms
Redirected to http://test.host/admin/users/5305f6b95735332fbf110000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1903ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf120000'), "firstname"=>"Karine", "lastname"=>"Berge"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2987ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1735ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305f6b95735332fbf120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6b95735332fbf120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2729ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6b95735332fbf120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4085ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2890ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf130000'), "firstname"=>"Margarita", "lastname"=>"Carroll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2471ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305f6b95735332fbf130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6b95735332fbf130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2992ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf140000'), "firstname"=>"Sabrina", "lastname"=>"Funk"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4115ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3163ms
Completed 200 OK in 7ms (Views: 6.3ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf150000'), "firstname"=>"Fleta", "lastname"=>"Brakus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3416ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 200 OK in 6ms (Views: 5.6ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf160000'), "firstname"=>"Renee", "lastname"=>"Cremin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4449ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305f6b95735332fbf160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6b95735332fbf160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2521ms
Completed 200 OK in 5ms (Views: 3.8ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf170000'), "firstname"=>"Floy", "lastname"=>"Hessel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7439ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f6b95735332fbf170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6b95735332fbf170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305f6b95735332fbf170000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf180000'), "firstname"=>"Zane", "lastname"=>"O'Reilly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3990ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1814ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4275ms
Redirected to http://test.host/administrator
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2466ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf1a0000'), "firstname"=>"Jade", "lastname"=>"Aufderhar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3658ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f6b95735332fbf1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f6b95735332fbf1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3215ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf1b0000'), "firstname"=>"Fred", "lastname"=>"Gaylord"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4173ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf1c0000'), "firstname"=>"Lily", "lastname"=>"Thiel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4018ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305f6b95735332fbf1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f6b95735332fbf1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2520ms
Completed 200 OK in 5ms (Views: 3.8ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf1d0000'), "firstname"=>"Easter", "lastname"=>"White"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4786ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305f6b95735332fbf1d0000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f6b95735332fbf1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2842ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf1e0000'), "name"=>"Vladimir Goodwin PhD", "reference"=>"Ursula Schamberger", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305f6b95735332fbf1f0000'), "author_name"=>"Gia Cummings", "content"=>["Sunt perferendis iure. Veritatis ipsam fugiat. Nemo et incidunt distinctio. Sed consequatur quod officiis culpa reiciendis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4691ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"comments", :query=>{}} runtime: 0.3363ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf200000'), "name"=>"Alanis Reichel", "reference"=>"Alf Huel", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305f6b95735332fbf210000'), "author_name"=>"Anissa Christiansen", "content"=>["Quis exercitationem quisquam. In et expedita omnis fugit. Et magnam quisquam aliquid. Eos nulla tempora perferendis aut autem distinctio."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"comments", :query=>{}} runtime: 0.2046ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf220000'), "name"=>"Karine Veum Jr.", "reference"=>"Dr. Asa Gulgowski", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305f6b95735332fbf230000'), "author_name"=>"Monroe Crist MD", "content"=>["Odio porro exercitationem. Aut ut quasi dolor facilis ea enim. Quia dolorem et non rerum. Quo nihil tempore pariatur."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3739ms
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf240000'), "name"=>"Miss Lavina Wiegand", "reference"=>"Daisha Hilpert", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305f6b95735332fbf250000'), "author_name"=>"Casper Runte", "content"=>["Et dolores quidem beatae nihil quaerat aut. Blanditiis fuga accusamus. Delectus omnis placeat reprehenderit voluptas ducimus ad amet. Corporis sequi modi ullam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4285ms
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf260000'), "name"=>"Gwen Jacobson V", "reference"=>"Hope Spencer", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305f6b95735332fbf270000'), "author_name"=>"Juanita Paucek", "content"=>["Est numquam nemo ut ipsa optio consequatur. Ut consequatur nostrum velit quia similique nam. Quia sint ut."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4033ms
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf280000'), "name"=>"Marlee Schowalter", "reference"=>"Lilyan Brown", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305f6b95735332fbf290000'), "author_name"=>"Mr. Emma Emard", "content"=>["Vel nihil dolore atque error voluptatem velit. Omnis earum qui iure. Ad numquam est ullam dolor officiis corrupti."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3697ms
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf2a0000'), "name"=>"Carlie Hills", "reference"=>"Dorcas Little", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305f6b95735332fbf2b0000'), "author_name"=>"Bernhard Fay", "content"=>["Et corrupti qui velit consequatur. Est possimus officia suscipit sunt magnam error quis. Illo qui ipsam aut est aspernatur magni. Aut nisi ut eum perferendis eaque sed."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6b95735332fbf2c0000'), "firstname"=>"Rachelle", "lastname"=>"Bosco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4538ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1854ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf2d0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3429ms
Redirected to http://test.host/admin/clients/5305f6ba5735332fbf2d0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1972ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf2e0000'), "firstname"=>"Emilio", "lastname"=>"Lindgren"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2995ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1752ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f6ba5735332fbf2e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2479ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf2e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2941ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1892ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf2f0000'), "firstname"=>"Jacynthe", "lastname"=>"Price"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2449ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f6ba5735332fbf2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2417ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 41ms (Views: 39.7ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf300000'), "firstname"=>"Celestino", "lastname"=>"Hamill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4181ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3285ms
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf310000'), "firstname"=>"Lemuel", "lastname"=>"Schaefer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4249ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 6.2ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf320000'), "firstname"=>"Maribel", "lastname"=>"Daugherty"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4320ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f6ba5735332fbf320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2503ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf330000'), "firstname"=>"Kaylah", "lastname"=>"Kutch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f6ba5735332fbf330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2633ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf330000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3156ms
Redirected to http://test.host/admin/clients/5305f6ba5735332fbf330000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf340000'), "firstname"=>"Claude", "lastname"=>"Wolf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2733ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1794ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf350000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2942ms
Redirected to http://test.host/clients/5305f6ba5735332fbf350000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1868ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf360000'), "firstname"=>"Madison", "lastname"=>"Macejkovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2303ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1707ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f6ba5735332fbf360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2335ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf360000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2538ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1814ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf370000'), "firstname"=>"Mohammad", "lastname"=>"Collins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2380ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f6ba5735332fbf370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2945ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 7ms (Views: 5.6ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf380000'), "firstname"=>"Nova", "lastname"=>"McCullough"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3796ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3718ms
Completed 200 OK in 10ms (Views: 9.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf390000'), "firstname"=>"Shyann", "lastname"=>"Wolff"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3656ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.2ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf3a0000'), "firstname"=>"Reese", "lastname"=>"Homenick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4388ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f6ba5735332fbf3a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2646ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf3b0000'), "firstname"=>"Mariah", "lastname"=>"Zemlak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3458ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f6ba5735332fbf3b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2591ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf3b0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2875ms
Redirected to http://test.host/clients/5305f6ba5735332fbf3b0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf3c0000'), "name"=>"Jedidiah Bins", "reference"=>"Deja Bartell", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('5305f6ba5735332fbf3d0000'), "firstname"=>"Kenya", "lastname"=>"Boyer"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4491ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"managers", :query=>{}} runtime: 0.3329ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf3e0000'), "name"=>"Era Vandervort Jr.", "reference"=>"Thurman Osinski III", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5305f6ba5735332fbf3f0000'), "firstname"=>"Judson", "lastname"=>"Roob"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3794ms
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf400000'), "name"=>"Deon Heaney", "reference"=>"Jany Kuvalis MD", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('5305f6ba5735332fbf410000'), "firstname"=>"Herta", "lastname"=>"Kovacek"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3554ms
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf420000'), "name"=>"Miss Hershel Wuckert", "reference"=>"Makenzie Auer", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5305f6ba5735332fbf430000'), "firstname"=>"Floyd", "lastname"=>"Padberg"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3566ms
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf440000'), "name"=>"Jovanny Eichmann", "reference"=>"Icie Bradtke", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5305f6ba5735332fbf450000'), "firstname"=>"Alana", "lastname"=>"Donnelly"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3661ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf460000'), "name"=>"Shawna Ryan", "reference"=>"Mr. Murl Grady", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4164ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1852ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf470000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3442ms
Redirected to http://test.host/products/5305f6ba5735332fbf470000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2227ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf480000'), "name"=>"Dr. Susanna Kuphal", "reference"=>"Mrs. Tobin Klein", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5010ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2997ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305f6ba5735332fbf480000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2805ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf480000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2736ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1877ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf490000'), "name"=>"Ismael Rosenbaum", "reference"=>"Petra Lueilwitz PhD", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2635ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305f6ba5735332fbf490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2588ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf4a0000'), "name"=>"Ms. Ernest Blanda", "reference"=>"Ellsworth McClure", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5798ms
Completed 200 OK in 17ms (Views: 16.5ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf4b0000'), "name"=>"Otilia VonRueden", "reference"=>"Beau Wehner PhD", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3816ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5395ms
Completed 200 OK in 4ms (Views: 1.4ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf4c0000'), "name"=>"Raphaelle Tremblay", "reference"=>"Peggie Toy", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305f6ba5735332fbf4c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2705ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf4d0000'), "name"=>"Mikel Grant", "reference"=>"Francesca Doyle", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2905ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 8ms (Views: 6.6ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf4f0000'), "name"=>"Jovan Rutherford V", "reference"=>"Georgianna Mosciski", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4286ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305f6ba5735332fbf4f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2853ms
Completed 200 OK in 5ms (Views: 3.7ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf500000'), "name"=>"Gwendolyn O'Hara", "reference"=>"Neva Gibson", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4049ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1817ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf510000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3155ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1866ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf520000'), "name"=>"Rosetta MacGyver PhD", "reference"=>"Mortimer Raynor", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2488ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305f6ba5735332fbf520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3363ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf520000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2745ms
Completed 200 OK in 3ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf530000'), "name"=>"Sheldon Skiles", "reference"=>"Caitlyn Green", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2902ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf550000'), "name"=>"Peyton Stoltenberg", "reference"=>"Mr. Katrine Leannon", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4699ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f6ba5735332fbf550000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2617ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf550000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2949ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf560000'), "name"=>"Robbie Johnson III", "reference"=>"Misty Braun", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2818ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f6ba5735332fbf560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2634ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf560000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3418ms
Redirected to http://test.host/products/5305f6ba5735332fbf560000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf570000'), "firstname"=>"Doris", "lastname"=>"Koelpin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4882ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1885ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf580000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.2870ms
Redirected to http://test.host/users/5305f6ba5735332fbf580000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2663ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf590000'), "firstname"=>"Ida", "lastname"=>"Maggio"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3195ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305f6ba5735332fbf590000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf590000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2765ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1878ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf5a0000'), "firstname"=>"Moses", "lastname"=>"Denesik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2506ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305f6ba5735332fbf5a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2644ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.8ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf5b0000'), "firstname"=>"Samir", "lastname"=>"Steuber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4012ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3519ms
Completed 200 OK in 10ms (Views: 10.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf5c0000'), "firstname"=>"Ottilie", "lastname"=>"Runte"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4363ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf5d0000'), "firstname"=>"Krystal", "lastname"=>"Johnston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4214ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305f6ba5735332fbf5d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6ba5735332fbf5e0000'), "firstname"=>"Easton", "lastname"=>"Sporer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3886ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f6ba5735332fbf5e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6ba5735332fbf5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305f6ba5735332fbf5e0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6530ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2992ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4141ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3232ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3193ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3089ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000000000'), "firstname"=>"Aniya", "lastname"=>"Wilderman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4665ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1652ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3770ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1957ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000020000'), "firstname"=>"Alicia", "lastname"=>"Schimmel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3037ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f6f45735333000020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f6f45735333000020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2521ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 200 OK in 53ms (Views: 51.4ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000030000'), "firstname"=>"Shaun", "lastname"=>"Moore"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4214ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.1ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000040000'), "firstname"=>"Alejandra", "lastname"=>"Kshlerin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4119ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305f6f45735333000040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f6f45735333000040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2771ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000050000'), "firstname"=>"Linda", "lastname"=>"Stiedemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305f6f45735333000050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f6f45735333000050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000060000'), "name"=>"Mr. Ernesto Roberts", "reference"=>"Dudley Romaguera", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4666ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1823ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000070000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3527ms
Redirected to http://test.host/admin/products/5305f6f45735333000070000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2402ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000080000'), "name"=>"Dagmar Feeney", "reference"=>"Mrs. Mariam Ryan", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3394ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1966ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305f6f45735333000080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6f45735333000080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2590ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6f45735333000080000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2913ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1881ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000090000'), "name"=>"Ms. Mervin Jerde", "reference"=>"Christop Donnelly", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2617ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305f6f45735333000090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6f45735333000090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2711ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 9ms (Views: 7.8ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f457353330000a0000'), "name"=>"Estell Schroeder", "reference"=>"Miss Lorenz Hilpert", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4872ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3563ms
Completed 200 OK in 8ms (Views: 7.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f457353330000b0000'), "name"=>"Tabitha Kautzer", "reference"=>"Lyda Torphy", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 20ms (Views: 5.7ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f457353330000e0000'), "name"=>"Mrs. Clint Bednar", "reference"=>"Gisselle Halvorson II", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4252ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305f6f457353330000e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6f457353330000e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2999ms
Completed 200 OK in 6ms (Views: 4.3ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f457353330000f0000'), "name"=>"Jerrell Lebsack", "reference"=>"Dedrick Stiedemann", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4388ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f6f457353330000f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6f457353330000f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2711ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6f457353330000f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3299ms
Redirected to http://test.host/admin/products/5305f6f457353330000f0000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000100000'), "firstname"=>"Jayson", "lastname"=>"Roberts"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4262ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1772ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000110000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3148ms
Redirected to http://test.host/admin/users/5305f6f45735333000110000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1850ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000120000'), "firstname"=>"Rico", "lastname"=>"Schimmel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3104ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1751ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305f6f45735333000120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6f45735333000120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2424ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6f45735333000120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2987ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2175ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000130000'), "firstname"=>"Casey", "lastname"=>"Pouros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305f6f45735333000130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6f45735333000130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3534ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000140000'), "firstname"=>"Will", "lastname"=>"Hessel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4164ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3197ms
Completed 200 OK in 7ms (Views: 6.3ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000150000'), "firstname"=>"Precious", "lastname"=>"Wilkinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3449ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.9ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000160000'), "firstname"=>"Kianna", "lastname"=>"Schiller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305f6f45735333000160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6f45735333000160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3712ms
Completed 200 OK in 5ms (Views: 3.8ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000170000'), "firstname"=>"Eleazar", "lastname"=>"Flatley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f6f45735333000170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6f45735333000170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2342ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305f6f45735333000170000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000180000'), "firstname"=>"Joel", "lastname"=>"Dicki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4210ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1716ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4180ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1936ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6f457353330001a0000'), "firstname"=>"Beau", "lastname"=>"Gutmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3449ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f6f457353330001a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f6f457353330001a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2832ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.9ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6f457353330001b0000'), "firstname"=>"Bud", "lastname"=>"Fadel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4733ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6f457353330001c0000'), "firstname"=>"Bryana", "lastname"=>"Rutherford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4214ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305f6f457353330001c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f6f457353330001c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2625ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f6f457353330001d0000'), "firstname"=>"Margie", "lastname"=>"Paucek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305f6f457353330001d0000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f6f457353330001d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2514ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f457353330001e0000'), "name"=>"Alia Considine", "reference"=>"Uriel Moore", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305f6f457353330001f0000'), "author_name"=>"Mr. Enrico Heathcote", "content"=>["Dolor esse atque sunt cum. Quaerat et et sunt libero eveniet. Quod itaque id aspernatur. Dolorum eaque impedit dolorem est hic voluptas."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4543ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"comments", :query=>{}} runtime: 0.3293ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000200000'), "name"=>"Donny Renner Jr.", "reference"=>"Ferne Gaylord", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305f6f45735333000210000'), "author_name"=>"Mabelle Effertz", "content"=>["Ratione ad et et eligendi est ex nostrum. Sint repudiandae autem aut quo explicabo placeat nisi. Enim aspernatur explicabo. Deleniti explicabo sint distinctio voluptas. Asperiores minima velit voluptas corrupti."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3788ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"comments", :query=>{}} runtime: 0.2416ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000220000'), "name"=>"Heloise Senger", "reference"=>"Isai Ward", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305f6f45735333000230000'), "author_name"=>"Andre Gulgowski DDS", "content"=>["Excepturi dolore non aliquam tempora temporibus. Et consectetur molestiae velit consequatur. Deleniti maxime sapiente nam. Sint nemo quis reprehenderit vitae id. Omnis voluptatem repellat ipsa similique."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4161ms
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000240000'), "name"=>"Uriel Kuhlman", "reference"=>"Solon Tillman", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305f6f45735333000250000'), "author_name"=>"Anita Weissnat Jr.", "content"=>["Qui maiores officia possimus consequatur incidunt. Quia dolores consequatur voluptatibus deserunt. Magni fuga mollitia. Minus vero explicabo suscipit et ullam sint."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305f6f45735333000240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6f45735333000240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3319ms
Completed 200 OK in 8ms (Views: 5.8ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000260000'), "name"=>"Deon Goyette", "reference"=>"Francis Batz V", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305f6f45735333000270000'), "author_name"=>"Garrick Altenwerth", "content"=>["Facilis molestias sapiente. Cumque soluta corporis provident ratione. In eos sunt. Hic amet exercitationem natus. Temporibus sed molestiae."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4590ms
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000280000'), "name"=>"Eudora Bernhard", "reference"=>"Carlee Davis", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305f6f45735333000290000'), "author_name"=>"Nels Beahan", "content"=>["Laudantium fugiat doloremque et esse dolores quod vel. Consequatur est accusantium dolorem alias. Voluptatibus beatae sequi voluptatem. Sunt et nulla in occaecati numquam quidem sit. Earum doloribus deleniti iusto."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3947ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305f6f45735333000280000", "id"=>"5305f6f45735333000290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6f45735333000280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2842ms
Completed 200 OK in 6ms (Views: 3.9ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f457353330002a0000'), "name"=>"Demario Cronin", "reference"=>"Aditya Bergstrom", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305f6f457353330002b0000'), "author_name"=>"Miss Barrett Kuphal", "content"=>["Quia ut tenetur. Fugiat natus tenetur distinctio dolor aut sed consectetur. Odit est similique."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4355ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6f457353330002c0000'), "firstname"=>"Sammie", "lastname"=>"Bradtke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5284ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2254ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6f457353330002d0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4159ms
Redirected to http://test.host/admin/clients/5305f6f457353330002d0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2308ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6f457353330002e0000'), "firstname"=>"Erin", "lastname"=>"Schaden"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2923ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2293ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f6f457353330002e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6f457353330002e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3313ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6f457353330002e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3563ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2588ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6f457353330002f0000'), "firstname"=>"Easton", "lastname"=>"Greenfelder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2607ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f6f457353330002f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6f457353330002f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3007ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.6ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000300000'), "firstname"=>"Veronica", "lastname"=>"Herzog"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4089ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms
Completed 200 OK in 9ms (Views: 7.6ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000310000'), "firstname"=>"Bailee", "lastname"=>"Leuschke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4219ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000320000'), "firstname"=>"Mabelle", "lastname"=>"Collier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4181ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f6f45735333000320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6f45735333000320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3375ms
Completed 200 OK in 6ms (Views: 4.7ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000330000'), "firstname"=>"Florian", "lastname"=>"Yundt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4133ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f6f45735333000330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6f45735333000330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2349ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6f45735333000330000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3075ms
Redirected to http://test.host/admin/clients/5305f6f45735333000330000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000340000'), "firstname"=>"Kristin", "lastname"=>"Lemke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2497ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1552ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000350000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3296ms
Redirected to http://test.host/clients/5305f6f45735333000350000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1965ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000360000'), "firstname"=>"Hilario", "lastname"=>"Nitzsche"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2526ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2269ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f6f45735333000360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6f45735333000360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2899ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6f45735333000360000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2995ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2044ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000370000'), "firstname"=>"Isabel", "lastname"=>"Ward"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2423ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f6f45735333000370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6f45735333000370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2329ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000380000'), "firstname"=>"Wilber", "lastname"=>"Sanford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4494ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3808ms
Completed 200 OK in 11ms (Views: 10.0ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000390000'), "firstname"=>"Jerald", "lastname"=>"Emard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.3683ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 37ms (Views: 36.4ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6f457353330003a0000'), "firstname"=>"Shana", "lastname"=>"Kuphal"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4151ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f6f457353330003a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6f457353330003a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2835ms
Completed 200 OK in 5ms (Views: 3.3ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f6f457353330003b0000'), "firstname"=>"Camylle", "lastname"=>"Beatty"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3978ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f6f457353330003b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6f457353330003b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3368ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f6f457353330003b0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3379ms
Redirected to http://test.host/clients/5305f6f457353330003b0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f457353330003c0000'), "name"=>"Eliza Littel", "reference"=>"Makenzie Fisher", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('5305f6f457353330003d0000'), "firstname"=>"Jasmin", "lastname"=>"Hodkiewicz"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5016ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"managers", :query=>{}} runtime: 0.3349ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f457353330003e0000'), "name"=>"Kurtis Boehm V", "reference"=>"Elza Koelpin", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305f6f457353330003f0000'), "firstname"=>"Robert", "lastname"=>"Will"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000400000'), "name"=>"Lilyan Olson II", "reference"=>"Vinnie Dicki", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('5305f6f45735333000410000'), "firstname"=>"Wilfrid", "lastname"=>"Schowalter"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4024ms
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000420000'), "name"=>"Domenick Reichert", "reference"=>"Allan Legros III", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('5305f6f45735333000430000'), "firstname"=>"Carson", "lastname"=>"Jacobs"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4179ms
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000440000'), "name"=>"Dejon Rowe", "reference"=>"Mrs. Hermann Green", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305f6f45735333000450000'), "firstname"=>"Rick", "lastname"=>"Ward"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4003ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000460000'), "name"=>"Casey Schowalter", "reference"=>"Kailyn Stiedemann", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4118ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1664ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000470000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4352ms
Redirected to http://test.host/products/5305f6f45735333000470000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2235ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000480000'), "name"=>"Ozella Cormier", "reference"=>"Meredith Block", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9369ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2038ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305f6f45735333000480000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6f45735333000480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3114ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6f45735333000480000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2864ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2361ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000490000'), "name"=>"Opal Koepp", "reference"=>"Everett Nienow", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3180ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305f6f45735333000490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6f45735333000490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2587ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f457353330004a0000'), "name"=>"Lenny Nitzsche", "reference"=>"Eden Graham", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4157ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6214ms
Completed 200 OK in 17ms (Views: 16.0ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f457353330004b0000'), "name"=>"Unique Lang", "reference"=>"Annamae Hilll", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3675ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5515ms
Completed 200 OK in 4ms (Views: 1.4ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f457353330004c0000'), "name"=>"Dayton Dibbert", "reference"=>"Elmore Grant", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3103ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305f6f457353330004c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6f457353330004c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3012ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f457353330004d0000'), "name"=>"Jayne Schulist", "reference"=>"Miss Duane Langosh", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4469ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (35.5ms)
Completed 200 OK in 40ms (Views: 38.8ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f457353330004f0000'), "name"=>"Arch Bins", "reference"=>"Daren Dach", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4266ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305f6f457353330004f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6f457353330004f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2720ms
Completed 200 OK in 5ms (Views: 3.8ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000500000'), "name"=>"Ms. Brent Doyle", "reference"=>"Kari Marks DDS", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.2653ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2364ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000510000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4314ms
Completed 201 Created in 3ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3123ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000520000'), "name"=>"Terrence Erdman", "reference"=>"Mallie Harris", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2688ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305f6f45735333000520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6f45735333000520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2692ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6f45735333000520000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2613ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000530000'), "name"=>"Ms. Else Schneider", "reference"=>"Maegan Bogisich", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2709ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000550000'), "name"=>"Eldora Krajcik III", "reference"=>"Arturo Sauer", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3861ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f6f45735333000550000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6f45735333000550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2655ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6f45735333000550000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2918ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000560000'), "name"=>"Mr. Joshua Heller", "reference"=>"Malika Mayert", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2633ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f6f45735333000560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6f45735333000560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2607ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f6f45735333000560000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2809ms
Redirected to http://test.host/products/5305f6f45735333000560000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000570000'), "firstname"=>"Bobbie", "lastname"=>"Towne"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4664ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1676ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000580000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3223ms
Redirected to http://test.host/users/5305f6f45735333000580000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1911ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6f45735333000590000'), "firstname"=>"Elwyn", "lastname"=>"Ondricka"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3007ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1753ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305f6f45735333000590000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6f45735333000590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6f45735333000590000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2561ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1795ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6f457353330005a0000'), "firstname"=>"Viola", "lastname"=>"Bosco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2417ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305f6f457353330005a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6f457353330005a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 200 OK in 8ms (Views: 6.8ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6f557353330005b0000'), "firstname"=>"Faye", "lastname"=>"Mertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4027ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4699ms
Completed 200 OK in 11ms (Views: 10.6ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6f557353330005c0000'), "firstname"=>"Destinee", "lastname"=>"Macejkovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3828ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6f557353330005d0000'), "firstname"=>"Jacky", "lastname"=>"Rohan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305f6f557353330005d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6f557353330005d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2435ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f6f557353330005e0000'), "firstname"=>"Gonzalo", "lastname"=>"Homenick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3999ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f6f557353330005e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f6f557353330005e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3888ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305f6f557353330005e0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6413ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3356ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4100ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2742ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2684ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2589ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f72c573533302c000000'), "firstname"=>"Jamal", "lastname"=>"Klocko"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4707ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1768ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f72c573533302c010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3695ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1765ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f72c573533302c020000'), "firstname"=>"Crystel", "lastname"=>"Hickle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2974ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f72c573533302c020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f72c573533302c020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2457ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms)
Completed 200 OK in 52ms (Views: 50.6ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f72c573533302c030000'), "firstname"=>"Brandon", "lastname"=>"Pagac"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4496ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 6ms (Views: 5.8ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f72c573533302c040000'), "firstname"=>"Zachery", "lastname"=>"Carroll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4475ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305f72c573533302c040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f72c573533302c040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2683ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f72c573533302c050000'), "firstname"=>"Devon", "lastname"=>"Keebler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305f72c573533302c050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f72c573533302c050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2113ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72c573533302c060000'), "name"=>"Taryn Heaney PhD", "reference"=>"Jude Bernier", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4769ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1857ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72c573533302c070000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3450ms
Redirected to http://test.host/admin/products/5305f72c573533302c070000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2419ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72c573533302c080000'), "name"=>"Dr. Austyn Corkery", "reference"=>"Corbin Spinka", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3729ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2259ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305f72c573533302c080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72c573533302c080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2964ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72c573533302c080000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3478ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2312ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72c573533302c090000'), "name"=>"Angie MacGyver IV", "reference"=>"Kory Collins", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2908ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305f72c573533302c090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72c573533302c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2442ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.1ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72c573533302c0a0000'), "name"=>"Murray Ward", "reference"=>"Michaela Sawayn", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5743ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3349ms
Completed 200 OK in 9ms (Views: 8.1ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72c573533302c0b0000'), "name"=>"Earnest Simonis", "reference"=>"Polly Feeney", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3558ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 21ms (Views: 6.1ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c0e0000'), "name"=>"Loyce Will", "reference"=>"Kiel Lindgren IV", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4554ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305f72d573533302c0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72d573533302c0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4564ms
Completed 200 OK in 6ms (Views: 4.4ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c0f0000'), "name"=>"Kristopher Wilkinson", "reference"=>"Damaris Kohler PhD", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4496ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f72d573533302c0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72d573533302c0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2779ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72d573533302c0f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3610ms
Redirected to http://test.host/admin/products/5305f72d573533302c0f0000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c100000'), "firstname"=>"Hadley", "lastname"=>"Hoeger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4317ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2000ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c110000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3312ms
Redirected to http://test.host/admin/users/5305f72d573533302c110000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2001ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c120000'), "firstname"=>"Fabiola", "lastname"=>"Mraz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3405ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1884ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305f72d573533302c120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f72d573533302c120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4254ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f72d573533302c120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3816ms
Redirected to http://test.host/admin/users
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2584ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c130000'), "firstname"=>"Paula", "lastname"=>"Carroll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3225ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305f72d573533302c130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f72d573533302c130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2553ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.3ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c140000'), "firstname"=>"Valerie", "lastname"=>"Howe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3927ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3174ms
Completed 200 OK in 7ms (Views: 6.3ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c150000'), "firstname"=>"Shanie", "lastname"=>"Fay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3271ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 6ms (Views: 5.6ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c160000'), "firstname"=>"Michel", "lastname"=>"Rodriguez"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4078ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305f72d573533302c160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f72d573533302c160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c170000'), "firstname"=>"Rogelio", "lastname"=>"Beier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3851ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f72d573533302c170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f72d573533302c170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2503ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305f72d573533302c170000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c180000'), "firstname"=>"Georgianna", "lastname"=>"Kshlerin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4012ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1795ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4291ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2024ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c1a0000'), "firstname"=>"Hipolito", "lastname"=>"Kovacek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3197ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f72d573533302c1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f72d573533302c1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2755ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c1b0000'), "firstname"=>"Lauren", "lastname"=>"Klocko"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c1c0000'), "firstname"=>"Neal", "lastname"=>"Bogan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4051ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305f72d573533302c1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f72d573533302c1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2478ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c1d0000'), "firstname"=>"Cristina", "lastname"=>"Mohr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4556ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305f72d573533302c1d0000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f72d573533302c1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3499ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c1e0000'), "name"=>"Boyd Cole", "reference"=>"Shaylee Harvey", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305f72d573533302c1f0000'), "author_name"=>"Hyman Zieme", "content"=>["Veritatis possimus labore commodi praesentium. Nesciunt quaerat labore eaque maxime eos. Unde quae odit inventore. Non id asperiores. Ipsam recusandae quibusdam natus non."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4668ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"comments", :query=>{}} runtime: 0.3419ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f72d573533302c1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72d573533302c1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2996ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72d573533302c1e0000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f72d573533302c200000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3504ms
Redirected to http://test.host/products/5305f72d573533302c1e0000/comments/5305f72d573533302c200000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"comments", :query=>{}} runtime: 0.2711ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c210000'), "name"=>"Keyon Pacocha", "reference"=>"Mallory Koepp", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305f72d573533302c220000'), "author_name"=>"Kristofer O'Hara DDS", "content"=>["Numquam atque enim ad eos doloremque. Autem quasi vitae distinctio praesentium. Consequatur repellendus inventore sed eligendi a dolore enim. Ea et nemo ipsam ut quo. Harum soluta fuga dicta quis aut molestiae."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5659ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"comments", :query=>{}} runtime: 0.3334ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305f72d573533302c210000", "id"=>"5305f72d573533302c220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72d573533302c210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3542ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72d573533302c210000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f72d573533302c220000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4370ms
Redirected to http://test.host/products/5305f72d573533302c210000/comments
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"comments", :query=>{}} runtime: 0.2247ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c230000'), "name"=>"Dr. Stephen Waelchi", "reference"=>"Gavin Rath", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305f72d573533302c240000'), "author_name"=>"Enola Grant", "content"=>["Enim voluptas eos ea reiciendis quo sit eius. Natus omnis repellendus eveniet qui eos autem earum. Atque veniam illo dolores rem rerum totam nam. Necessitatibus ipsum aut qui eos porro sed."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3175ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305f72d573533302c230000", "id"=>"5305f72d573533302c240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72d573533302c230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2873ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 10ms (Views: 8.0ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c250000'), "name"=>"Emile Purdy", "reference"=>"Demarcus Metz", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305f72d573533302c260000'), "author_name"=>"Ms. Erick Rippin", "content"=>["Hic voluptas a corrupti sunt iure molestias reiciendis. Nam voluptatum debitis et quidem magnam enim. Aut blanditiis ut laborum. Ipsum cum temporibus dolorem dolorem quia fugiat aut. Libero voluptate est tempore ipsa consectetur ut."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4445ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305f72d573533302c250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72d573533302c250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3192ms
Completed 200 OK in 7ms (Views: 5.0ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c270000'), "name"=>"Oscar McCullough", "reference"=>"Lottie Wehner", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305f72d573533302c280000'), "author_name"=>"Ms. Gayle Mann", "content"=>["Dignissimos et dolor. Omnis recusandae dolores sit. Occaecati aliquam tenetur sit ut deserunt possimus non."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4585ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305f72d573533302c270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72d573533302c270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2755ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c290000'), "name"=>"Stephania Harris", "reference"=>"Mrs. Monserrate Barrows", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305f72d573533302c2a0000'), "author_name"=>"Linda Torp Sr.", "content"=>["Dicta reiciendis aut rerum omnis doloremque. Sapiente molestiae harum numquam eos quos ipsa fugiat. Aut provident aspernatur sapiente quos voluptate est. Inventore quas velit harum voluptates labore. Libero qui ea rem quia sit."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4423ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305f72d573533302c290000", "id"=>"5305f72d573533302c2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72d573533302c290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2773ms
Completed 200 OK in 6ms (Views: 3.9ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c2b0000'), "name"=>"Sven Sanford", "reference"=>"Buddy O'Hara", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305f72d573533302c2c0000'), "author_name"=>"Tad Marquardt", "content"=>["Ab veniam ea. Velit deleniti eius consectetur id unde commodi pariatur. Consequatur dolorum adipisci."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4492ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f72d573533302c2b0000", "id"=>"5305f72d573533302c2c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72d573533302c2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4094ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72d573533302c2b0000'), "comments._id"=>BSON::ObjectId('5305f72d573533302c2c0000')} update={"$set"=>{"comments.$.author_name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4390ms
Redirected to http://test.host/products/5305f72d573533302c2b0000/comments/5305f72d573533302c2c0000
Completed 302 Found in 4ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c2d0000'), "firstname"=>"Twila", "lastname"=>"Kuhic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4535ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2001ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c2e0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8911ms
Redirected to http://test.host/admin/clients/5305f72d573533302c2e0000
Completed 302 Found in 8ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2468ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c2f0000'), "firstname"=>"Camryn", "lastname"=>"Harvey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3190ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1786ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f72d573533302c2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f72d573533302c2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f72d573533302c2f0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3084ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1868ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c300000'), "firstname"=>"Juanita", "lastname"=>"Veum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f72d573533302c300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f72d573533302c300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.4ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c310000'), "firstname"=>"Nels", "lastname"=>"O'Conner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4096ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3314ms
Completed 200 OK in 8ms (Views: 7.2ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c320000'), "firstname"=>"Elnora", "lastname"=>"Hilll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4185ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c330000'), "firstname"=>"Katheryn", "lastname"=>"Carroll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4056ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f72d573533302c330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f72d573533302c330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c340000'), "firstname"=>"Unique", "lastname"=>"Zieme"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f72d573533302c340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f72d573533302c340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3801ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f72d573533302c340000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3333ms
Redirected to http://test.host/admin/clients/5305f72d573533302c340000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c350000'), "firstname"=>"Micheal", "lastname"=>"O'Reilly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2767ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1743ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c360000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3159ms
Redirected to http://test.host/clients/5305f72d573533302c360000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1891ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c370000'), "firstname"=>"Devan", "lastname"=>"Fisher"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2295ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1689ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f72d573533302c370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f72d573533302c370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2447ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f72d573533302c370000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2551ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1815ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c380000'), "firstname"=>"Hiram", "lastname"=>"Davis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2388ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f72d573533302c380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f72d573533302c380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2449ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c390000'), "firstname"=>"Anissa", "lastname"=>"Stark"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3493ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4258ms
Completed 200 OK in 41ms (Views: 40.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c3a0000'), "firstname"=>"Gene", "lastname"=>"Kovacek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3740ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c3b0000'), "firstname"=>"Elda", "lastname"=>"Weissnat"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4027ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f72d573533302c3b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f72d573533302c3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2786ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c3c0000'), "firstname"=>"Juwan", "lastname"=>"Greenholt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3411ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f72d573533302c3c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f72d573533302c3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2601ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f72d573533302c3c0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2569ms
Redirected to http://test.host/clients/5305f72d573533302c3c0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c3d0000'), "name"=>"Lavada Kuhic", "reference"=>"Jake Parker", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5305f72d573533302c3e0000'), "firstname"=>"Ashly", "lastname"=>"Shields"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4550ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"managers", :query=>{}} runtime: 0.3263ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c3f0000'), "name"=>"Mary Grant", "reference"=>"Damien MacGyver IV", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5305f72d573533302c400000'), "firstname"=>"Marques", "lastname"=>"Schimmel"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c410000'), "name"=>"Elena Predovic", "reference"=>"Hester Kilback Jr.", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5305f72d573533302c420000'), "firstname"=>"Freeda", "lastname"=>"Leannon"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c430000'), "name"=>"Kayden Hessel", "reference"=>"Moshe Lindgren", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('5305f72d573533302c440000'), "firstname"=>"German", "lastname"=>"Farrell"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3474ms
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c450000'), "name"=>"Erick Sauer", "reference"=>"Miss Benjamin West", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('5305f72d573533302c460000'), "firstname"=>"Kiera", "lastname"=>"Mertz"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4759ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c470000'), "name"=>"Stanley Rolfson DVM", "reference"=>"Idella Lesch", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4391ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1785ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c480000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3423ms
Redirected to http://test.host/products/5305f72d573533302c480000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1940ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c490000'), "name"=>"Howell Mante", "reference"=>"Noble Aufderhar", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8674ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2278ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305f72d573533302c490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72d573533302c490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2523ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72d573533302c490000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2614ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1852ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c4a0000'), "name"=>"Prince Bednar", "reference"=>"Earnestine Mertz", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2942ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305f72d573533302c4a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72d573533302c4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3672ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 10ms (Views: 8.5ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c4b0000'), "name"=>"Gust Schamberger", "reference"=>"Kaylie Roob", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4242ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5927ms
Completed 200 OK in 51ms (Views: 50.7ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c4c0000'), "name"=>"Tito Grant", "reference"=>"Jeramie Hilpert", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3930ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5414ms
Completed 200 OK in 4ms (Views: 1.5ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c4d0000'), "name"=>"Otho Daniel", "reference"=>"Charles Crooks", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305f72d573533302c4d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72d573533302c4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2895ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c4e0000'), "name"=>"Thalia Corkery", "reference"=>"Keshawn Glover", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3018ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 7ms (Views: 6.3ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c500000'), "name"=>"River Hammes", "reference"=>"Ms. Margaretta O'Conner", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4138ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305f72d573533302c500000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72d573533302c500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3055ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c510000'), "name"=>"Dayne Stokes", "reference"=>"Ezra Schaden", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4643ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1821ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c520000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3366ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1873ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c530000'), "name"=>"Mr. Nannie Murray", "reference"=>"Murl Ebert", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2709ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305f72d573533302c530000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72d573533302c530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2696ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72d573533302c530000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2595ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c540000'), "name"=>"Miss Robin Schneider", "reference"=>"Peter Streich", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2690ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c560000'), "name"=>"Jacky Herzog", "reference"=>"Newton Nitzsche", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3692ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f72d573533302c560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72d573533302c560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2532ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72d573533302c560000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2832ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c570000'), "name"=>"Zora Auer", "reference"=>"Wilma Krajcik", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2775ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f72d573533302c570000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72d573533302c570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3726ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f72d573533302c570000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4489ms
Redirected to http://test.host/products/5305f72d573533302c570000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c580000'), "firstname"=>"Theresia", "lastname"=>"Graham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4266ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1827ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c590000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3217ms
Redirected to http://test.host/users/5305f72d573533302c590000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1953ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c5a0000'), "firstname"=>"Roberto", "lastname"=>"Corwin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3013ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1741ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305f72d573533302c5a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f72d573533302c5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2840ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f72d573533302c5a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2311ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1466ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c5b0000'), "firstname"=>"Ricky", "lastname"=>"D'Amore"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2458ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305f72d573533302c5b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f72d573533302c5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 7.2ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c5c0000'), "firstname"=>"Mae", "lastname"=>"Weissnat"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4399ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3516ms
Completed 200 OK in 10ms (Views: 9.8ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c5d0000'), "firstname"=>"Gayle", "lastname"=>"Wilkinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3625ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c5e0000'), "firstname"=>"Korbin", "lastname"=>"Jast"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305f72d573533302c5e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f72d573533302c5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms
Completed 200 OK in 5ms (Views: 4.1ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f72d573533302c5f0000'), "firstname"=>"Jean", "lastname"=>"Reynolds"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4580ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f72d573533302c5f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f72d573533302c5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2505ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305f72d573533302c5f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6534ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3915ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2465ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3126ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3093ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f7595735333058000000'), "firstname"=>"Jena", "lastname"=>"Schaefer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4719ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1817ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f7595735333058010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1994ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f7595735333058020000'), "firstname"=>"Elvera", "lastname"=>"Leannon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f7595735333058020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f7595735333058020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2526ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 200 OK in 53ms (Views: 51.6ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f7595735333058030000'), "firstname"=>"Jennifer", "lastname"=>"Bernier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4286ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f7595735333058040000'), "firstname"=>"Kaden", "lastname"=>"Kozey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305f7595735333058040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f7595735333058040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2685ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f7595735333058050000'), "firstname"=>"Dave", "lastname"=>"Lesch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4008ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305f7595735333058050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f7595735333058050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2674ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f7595735333058060000'), "name"=>"Johan Rutherford", "reference"=>"Rhoda Klein", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4536ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1870ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f7595735333058070000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3556ms
Redirected to http://test.host/admin/products/5305f7595735333058070000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1936ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f7595735333058080000'), "name"=>"Ernesto Johns DDS", "reference"=>"Miss Gail Hyatt", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3154ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1775ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305f7595735333058080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f7595735333058080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f7595735333058080000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1911ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f7595735333058090000'), "name"=>"Montana Simonis I", "reference"=>"Evan Balistreri IV", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2522ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305f7595735333058090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f7595735333058090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 9ms (Views: 7.8ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75957353330580a0000'), "name"=>"Delfina Schumm I", "reference"=>"Sasha Morar", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4564ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3620ms
Completed 200 OK in 8ms (Views: 7.6ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75957353330580b0000'), "name"=>"Furman Doyle", "reference"=>"Elena Torp", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3685ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 20ms (Views: 5.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75957353330580e0000'), "name"=>"Hershel DuBuque", "reference"=>"Clay Bahringer PhD", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4172ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305f75957353330580e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f75957353330580e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3371ms
Completed 200 OK in 6ms (Views: 4.3ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75957353330580f0000'), "name"=>"Elmer Nader", "reference"=>"Lila Dare", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7349ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f75957353330580f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f75957353330580f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2724ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f75957353330580f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3399ms
Redirected to http://test.host/admin/products/5305f75957353330580f0000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f7595735333058100000'), "firstname"=>"Ashlee", "lastname"=>"Altenwerth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4818ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1878ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f7595735333058110000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3257ms
Redirected to http://test.host/admin/users/5305f7595735333058110000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1935ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f7595735333058120000'), "firstname"=>"Frank", "lastname"=>"Mills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2996ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1663ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305f7595735333058120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f7595735333058120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3867ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f7595735333058120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3143ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1910ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f7595735333058130000'), "firstname"=>"Edwardo", "lastname"=>"Kunze"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2488ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305f7595735333058130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f7595735333058130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2473ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.7ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f7595735333058140000'), "firstname"=>"Magdalena", "lastname"=>"Walsh"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4239ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3175ms
Completed 200 OK in 7ms (Views: 6.3ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f7595735333058150000'), "firstname"=>"Oran", "lastname"=>"Collier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3422ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 200 OK in 6ms (Views: 5.6ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f7595735333058160000'), "firstname"=>"Kaden", "lastname"=>"Larson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4247ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305f7595735333058160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f7595735333058160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f7595735333058170000'), "firstname"=>"Annabelle", "lastname"=>"Kertzmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3637ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f7595735333058170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f7595735333058170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2174ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305f7595735333058170000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f7595735333058180000'), "firstname"=>"Chase", "lastname"=>"Jacobi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4076ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1817ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f7595735333058190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4435ms
Redirected to http://test.host/administrator
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2070ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f75957353330581a0000'), "firstname"=>"Kaelyn", "lastname"=>"Bosco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3168ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f75957353330581a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f75957353330581a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2716ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f75957353330581b0000'), "firstname"=>"Evangeline", "lastname"=>"Daniel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4171ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 4.9ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f75957353330581c0000'), "firstname"=>"Roger", "lastname"=>"Ledner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4208ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305f75957353330581c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f75957353330581c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2505ms
Completed 200 OK in 5ms (Views: 3.7ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f75957353330581d0000'), "firstname"=>"Chad", "lastname"=>"Greenholt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4762ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305f75957353330581d0000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f75957353330581d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2570ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a57353330581e0000'), "name"=>"Kristy Kessler", "reference"=>"Maxwell Block DDS", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305f75a57353330581f0000'), "author_name"=>"Hershel Skiles", "content"=>["Id omnis eaque sit enim facere pariatur numquam. Cupiditate neque ut porro qui optio accusamus. Alias minima dolorem rerum sed aspernatur eaque accusamus. Non expedita velit qui."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4449ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058200000'), "name"=>"Dr. Kiana Kohler", "reference"=>"Camren Oberbrunner", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305f75a5735333058210000'), "author_name"=>"Ricardo Stroman I", "content"=>["Aut recusandae sed accusamus quas consequuntur. Quia ullam dolore commodi vitae. Aut similique quisquam ut corporis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4008ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058220000'), "name"=>"Alaina Becker", "reference"=>"Herbert White", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305f75a5735333058230000'), "author_name"=>"Emmet Herzog", "content"=>["Eum tempora doloribus. Eos ab molestiae ut incidunt. Quia tempore quae molestiae. Est explicabo qui quae est harum maiores."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305f75a5735333058220000", "id"=>"5305f75a5735333058230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f75a5735333058220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 11ms (Views: 8.2ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058240000'), "name"=>"Meredith Eichmann II", "reference"=>"Gay Kuhn DDS", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305f75a5735333058250000'), "author_name"=>"Aracely Nienow", "content"=>["Unde doloribus alias aliquid consequuntur. Mollitia magni accusantium. Officiis omnis non. Et animi possimus ratione earum tempora incidunt."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4518ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305f75a5735333058240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f75a5735333058240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2867ms
Completed 200 OK in 6ms (Views: 4.4ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058260000'), "name"=>"Ward Crona", "reference"=>"Miss Jocelyn McGlynn", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305f75a5735333058270000'), "author_name"=>"Allene Kunze MD", "content"=>["Vero laboriosam ipsum quia sequi. Numquam eveniet exercitationem. Voluptas eos amet."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4305ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305f75a5735333058260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f75a5735333058260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2650ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.0ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058280000'), "name"=>"Ara Witting", "reference"=>"Noe Konopelski", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305f75a5735333058290000'), "author_name"=>"Michaela Torphy", "content"=>["Voluptatem architecto exercitationem laborum excepturi consequuntur voluptate. Aperiam temporibus maxime dolores perspiciatis nam eum. Maiores et mollitia deleniti illum eum debitis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5258ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305f75a5735333058280000", "id"=>"5305f75a5735333058290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f75a5735333058280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3789ms
Completed 200 OK in 6ms (Views: 3.9ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a57353330582a0000'), "name"=>"Mr. Halle Predovic", "reference"=>"Letha Strosin", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305f75a57353330582b0000'), "author_name"=>"Zoila Murazik MD", "content"=>["Omnis blanditiis ut. Dicta veritatis sapiente repellendus et. Esse tempore ipsum vel debitis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0469ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f75a57353330582a0000", "id"=>"5305f75a57353330582b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f75a57353330582a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2895ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f75a57353330582a0000'), "comments._id"=>BSON::ObjectId('5305f75a57353330582b0000')} update={"$set"=>{"comments.$.author_name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4881ms
Redirected to http://test.host/products/5305f75a57353330582a0000/comments/5305f75a57353330582b0000
Completed 302 Found in 4ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f75a57353330582c0000'), "firstname"=>"Graham", "lastname"=>"Schaefer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4617ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1872ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f75a57353330582d0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3892ms
Redirected to http://test.host/admin/clients/5305f75a57353330582d0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2459ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f75a57353330582e0000'), "firstname"=>"Asa", "lastname"=>"Gerlach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3429ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2039ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f75a57353330582e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f75a57353330582e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f75a57353330582e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2979ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1883ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f75a57353330582f0000'), "firstname"=>"Elenor", "lastname"=>"Tremblay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2526ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f75a57353330582f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f75a57353330582f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.4ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058300000'), "firstname"=>"Julia", "lastname"=>"Roob"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3714ms
Completed 200 OK in 8ms (Views: 7.3ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058310000'), "firstname"=>"Madonna", "lastname"=>"Swaniawski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4404ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058320000'), "firstname"=>"Devyn", "lastname"=>"Howell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4047ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f75a5735333058320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f75a5735333058320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3234ms
Completed 200 OK in 6ms (Views: 4.7ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058330000'), "firstname"=>"Adriel", "lastname"=>"Dare"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4307ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f75a5735333058330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f75a5735333058330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2344ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f75a5735333058330000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms
Redirected to http://test.host/admin/clients/5305f75a5735333058330000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058340000'), "firstname"=>"Arlo", "lastname"=>"Rippin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2318ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1403ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058350000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2550ms
Redirected to http://test.host/clients/5305f75a5735333058350000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1466ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058360000'), "firstname"=>"Barbara", "lastname"=>"Gibson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2385ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1711ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f75a5735333058360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f75a5735333058360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2430ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f75a5735333058360000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2594ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1812ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058370000'), "firstname"=>"Berenice", "lastname"=>"King"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2432ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f75a5735333058370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f75a5735333058370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.3ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058380000'), "firstname"=>"Cecil", "lastname"=>"Schoen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4361ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4453ms
Completed 200 OK in 42ms (Views: 41.5ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058390000'), "firstname"=>"Alfred", "lastname"=>"Wolf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3811ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f75a57353330583a0000'), "firstname"=>"Yvette", "lastname"=>"Schimmel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2081ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f75a57353330583a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f75a57353330583a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2804ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f75a57353330583b0000'), "firstname"=>"Jennyfer", "lastname"=>"Gaylord"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3484ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f75a57353330583b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f75a57353330583b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f75a57353330583b0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2799ms
Redirected to http://test.host/clients/5305f75a57353330583b0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a57353330583c0000'), "name"=>"Lorenzo Emard", "reference"=>"Mrs. Roosevelt Howell", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('5305f75a57353330583d0000'), "firstname"=>"Albin", "lastname"=>"Weimann"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4404ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"managers", :query=>{}} runtime: 0.3338ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a57353330583e0000'), "name"=>"Ellie Armstrong", "reference"=>"Mrs. Beth Stark", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('5305f75a57353330583f0000'), "firstname"=>"Aurore", "lastname"=>"Cruickshank"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3731ms
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058400000'), "name"=>"Daryl Will MD", "reference"=>"Mrs. Jerald Jenkins", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('5305f75a5735333058410000'), "firstname"=>"Darlene", "lastname"=>"Goyette"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3613ms
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058420000'), "name"=>"Monique Hudson", "reference"=>"Saige Roob DVM", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('5305f75a5735333058430000'), "firstname"=>"Ambrose", "lastname"=>"Blanda"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3491ms
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058440000'), "name"=>"Otilia Beier", "reference"=>"Araceli Rath", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5305f75a5735333058450000'), "firstname"=>"Rico", "lastname"=>"Reinger"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3547ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058460000'), "name"=>"Kamren Gleason", "reference"=>"William Quitzon", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4056ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2603ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058470000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4401ms
Redirected to http://test.host/products/5305f75a5735333058470000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1959ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058480000'), "name"=>"Zelma Stroman", "reference"=>"Meggie Ledner", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3184ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1796ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305f75a5735333058480000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f75a5735333058480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f75a5735333058480000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2549ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1842ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058490000'), "name"=>"Vernie Hudson III", "reference"=>"Emilia Prosacco MD", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2499ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305f75a5735333058490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f75a5735333058490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a57353330584a0000'), "name"=>"Bernadette Ortiz", "reference"=>"Dr. Webster Roob", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4125ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6651ms
Completed 200 OK in 50ms (Views: 49.8ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a57353330584b0000'), "name"=>"Lysanne Schamberger", "reference"=>"Deja Wisozk", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4214ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5585ms
Completed 200 OK in 4ms (Views: 1.4ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a57353330584c0000'), "name"=>"Kadin Gutmann", "reference"=>"Clare Hills V", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3266ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305f75a57353330584c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f75a57353330584c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2706ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a57353330584d0000'), "name"=>"Maci Brown", "reference"=>"Norma Gorczany", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3018ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 7ms (Views: 6.3ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a57353330584f0000'), "name"=>"Elenora Lemke", "reference"=>"Nikita Jerde", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4177ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305f75a57353330584f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f75a57353330584f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2892ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058500000'), "name"=>"Domenico Renner V", "reference"=>"Alanna Kerluke", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4396ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1862ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058510000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3295ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1928ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058520000'), "name"=>"Conor Barton I", "reference"=>"Dr. Emery Kuphal", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2479ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305f75a5735333058520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f75a5735333058520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2597ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f75a5735333058520000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2575ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058530000'), "name"=>"Zora O'Keefe", "reference"=>"Mrs. Shania Purdy", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2788ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058550000'), "name"=>"Zachariah Armstrong", "reference"=>"Clifton O'Kon", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3733ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f75a5735333058550000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f75a5735333058550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2562ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f75a5735333058550000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2853ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058560000'), "name"=>"Craig Sanford", "reference"=>"Serenity Ferry", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3468ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f75a5735333058560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f75a5735333058560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3692ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f75a5735333058560000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2871ms
Redirected to http://test.host/products/5305f75a5735333058560000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058570000'), "firstname"=>"Joey", "lastname"=>"Jacobs"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3876ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1930ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058580000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5103ms
Redirected to http://test.host/users/5305f75a5735333058580000
Completed 302 Found in 7ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2386ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f75a5735333058590000'), "firstname"=>"Shyanne", "lastname"=>"Ernser"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3534ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2068ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305f75a5735333058590000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f75a5735333058590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2504ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f75a5735333058590000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3116ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2106ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f75a57353330585a0000'), "firstname"=>"Jonathan", "lastname"=>"Gerhold"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2669ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305f75a57353330585a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f75a57353330585a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3556ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 9ms (Views: 6.9ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f75a57353330585b0000'), "firstname"=>"Emie", "lastname"=>"Hermiston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3914ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3406ms
Completed 200 OK in 10ms (Views: 9.7ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f75a57353330585c0000'), "firstname"=>"Telly", "lastname"=>"Little"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3793ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.4ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f75a57353330585d0000'), "firstname"=>"Hilbert", "lastname"=>"Torp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4884ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305f75a57353330585d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f75a57353330585d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f75a57353330585e0000'), "firstname"=>"Moises", "lastname"=>"Klocko"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4001ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f75a57353330585e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f75a57353330585e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305f75a57353330585e0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6728ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3576ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4348ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3228ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3304ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2446ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f76a5735333083000000'), "firstname"=>"Lura", "lastname"=>"Legros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4677ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1676ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f76a5735333083010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3718ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2469ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f76a5735333083020000'), "firstname"=>"Tom", "lastname"=>"Cronin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6533ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f76a5735333083020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f76a5735333083020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2673ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.1ms)
Completed 200 OK in 54ms (Views: 52.6ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f76a5735333083030000'), "firstname"=>"Stefanie", "lastname"=>"Ward"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4241ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.3ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f76a5735333083040000'), "firstname"=>"Myrtie", "lastname"=>"Schmitt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4132ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305f76a5735333083040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f76a5735333083040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2979ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f76a5735333083050000'), "firstname"=>"Jackie", "lastname"=>"Champlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305f76a5735333083050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f76a5735333083050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3178ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 3ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76a5735333083060000'), "name"=>"Mozelle Waters MD", "reference"=>"Dario Wolff", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4849ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2401ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76a5735333083070000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4247ms
Redirected to http://test.host/admin/products/5305f76a5735333083070000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2450ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76a5735333083080000'), "name"=>"Randall Funk", "reference"=>"Eriberto Altenwerth", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3678ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2254ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305f76a5735333083080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f76a5735333083080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3273ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f76a5735333083080000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3105ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1920ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76a5735333083090000'), "name"=>"Omari Champlin", "reference"=>"Maia Mante", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2682ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305f76a5735333083090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f76a5735333083090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2704ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 9ms (Views: 8.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76a57353330830a0000'), "name"=>"Katharina Hand I", "reference"=>"Miss Hermann Daugherty", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4873ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4013ms
Completed 200 OK in 8ms (Views: 7.9ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76a57353330830b0000'), "name"=>"Sophia Robel", "reference"=>"Paige Harvey", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4210ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 20ms (Views: 5.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76a57353330830e0000'), "name"=>"Elyse Ullrich I", "reference"=>"Mr. Jaunita Wunsch", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4396ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305f76a57353330830e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f76a57353330830e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3645ms
Completed 200 OK in 6ms (Views: 4.3ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76a57353330830f0000'), "name"=>"Elnora Koepp Jr.", "reference"=>"Miss Owen Schaefer", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4146ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f76a57353330830f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f76a57353330830f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2716ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f76a57353330830f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3426ms
Redirected to http://test.host/admin/products/5305f76a57353330830f0000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f76a5735333083100000'), "firstname"=>"Abelardo", "lastname"=>"Lueilwitz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4217ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1828ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f76a5735333083110000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3214ms
Redirected to http://test.host/admin/users/5305f76a5735333083110000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1748ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f76a5735333083120000'), "firstname"=>"Selena", "lastname"=>"Leffler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3044ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1864ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305f76a5735333083120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f76a5735333083120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f76a5735333083120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4960ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2743ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f76a5735333083130000'), "firstname"=>"Torrance", "lastname"=>"Watsica"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2867ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305f76a5735333083130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f76a5735333083130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2644ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f76a5735333083140000'), "firstname"=>"Makayla", "lastname"=>"Sawayn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4309ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3162ms
Completed 200 OK in 7ms (Views: 6.3ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f76a5735333083150000'), "firstname"=>"Presley", "lastname"=>"Zemlak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3447ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 6ms (Views: 5.5ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f76a5735333083160000'), "firstname"=>"Nestor", "lastname"=>"Klocko"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4342ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305f76a5735333083160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f76a5735333083160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2689ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f76a5735333083170000'), "firstname"=>"Ellis", "lastname"=>"Parker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f76a5735333083170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f76a5735333083170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2613ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305f76a5735333083170000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f76a5735333083180000'), "firstname"=>"Enola", "lastname"=>"Fisher"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4000ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1798ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4212ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2026ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f76b57353330831a0000'), "firstname"=>"Electa", "lastname"=>"Torp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3221ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f76b57353330831a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f76b57353330831a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2720ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.2ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f76b57353330831b0000'), "firstname"=>"Ewald", "lastname"=>"Greenholt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4168ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f76b57353330831c0000'), "firstname"=>"Moriah", "lastname"=>"Hyatt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4096ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305f76b57353330831c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f76b57353330831c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms
Completed 200 OK in 5ms (Views: 3.8ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f76b57353330831d0000'), "firstname"=>"Savannah", "lastname"=>"Stanton"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4806ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305f76b57353330831d0000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f76b57353330831d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b57353330831e0000'), "name"=>"Aurore Bartell Sr.", "reference"=>"Clarabelle Brekke", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305f76b57353330831f0000'), "author_name"=>"Ms. Martine Kuhn", "content"=>["Beatae voluptatibus tempore qui consequuntur. Est et dolore provident consequuntur consequatur. Aut sapiente ut."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4487ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083200000'), "name"=>"Miss Kaylie Wehner", "reference"=>"Terrance Ondricka", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305f76b5735333083210000'), "author_name"=>"Laurianne Schiller", "content"=>["Libero ullam labore quia occaecati. Est amet quia minima sunt est modi. Aspernatur aut et eligendi qui in sequi. Sapiente ducimus quos in velit et officiis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3686ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083220000'), "name"=>"Jess Thiel", "reference"=>"Barry Rohan", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305f76b5735333083230000'), "author_name"=>"Mrs. Deon Harber", "content"=>["Ut voluptatem sed omnis consequatur omnis beatae autem. Nesciunt saepe porro reprehenderit architecto corrupti pariatur consequatur. Molestiae architecto ut nisi voluptates voluptatem."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2773ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305f76b5735333083220000", "id"=>"5305f76b5735333083230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f76b5735333083220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3015ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 8.1ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083240000'), "name"=>"Maurice Welch", "reference"=>"Constance Koepp", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305f76b5735333083250000'), "author_name"=>"Dr. Rodrigo Hand", "content"=>["Reprehenderit ea et. Nam aut hic similique repellat et officia. Autem omnis voluptatem maiores odio optio occaecati. Voluptas rerum ipsa alias. Debitis nulla quos maiores."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4600ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305f76b5735333083240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f76b5735333083240000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2837ms
Completed 200 OK in 6ms (Views: 4.3ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083260000'), "name"=>"Maxie Towne", "reference"=>"Marian Kertzmann", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305f76b5735333083270000'), "author_name"=>"Tate Weimann", "content"=>["Dignissimos facilis voluptatum libero saepe. Placeat minus possimus fugiat consequuntur architecto aut. Corrupti omnis quisquam ducimus."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4293ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305f76b5735333083260000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f76b5735333083260000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2663ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.1ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083280000'), "name"=>"Russel Gutmann", "reference"=>"Doris Johnston", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305f76b5735333083290000'), "author_name"=>"Ms. Ila Jaskolski", "content"=>["Quos quam quaerat debitis aut maiores. Maxime quia voluptates natus perferendis quis. Tempora id quia optio autem ut. Ut qui magni nemo vel ipsa facilis. Provident et enim ex."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4794ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305f76b5735333083280000", "id"=>"5305f76b5735333083290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f76b5735333083280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3979ms
Completed 200 OK in 7ms (Views: 4.0ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b57353330832a0000'), "name"=>"Haleigh Kunde I", "reference"=>"Remington Prohaska", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305f76b57353330832b0000'), "author_name"=>"Liam Douglas", "content"=>["Quisquam exercitationem doloremque illo aut nesciunt. Aspernatur corporis odit. Sit sint repellendus et dolores incidunt quia tenetur. Sequi provident odit et assumenda sapiente dolor."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.6784ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f76b57353330832a0000", "id"=>"5305f76b57353330832b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f76b57353330832a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3048ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f76b57353330832a0000'), "comments._id"=>BSON::ObjectId('5305f76b57353330832b0000')} update={"$set"=>{"comments.$.author_name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4805ms
Redirected to http://test.host/products/5305f76b57353330832a0000/comments/5305f76b57353330832b0000
Completed 302 Found in 4ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f76b57353330832c0000'), "firstname"=>"Kallie", "lastname"=>"Kreiger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4548ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1908ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f76b57353330832d0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3818ms
Redirected to http://test.host/admin/clients/5305f76b57353330832d0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2056ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f76b57353330832e0000'), "firstname"=>"Maureen", "lastname"=>"Thiel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3155ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1819ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f76b57353330832e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f76b57353330832e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2798ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f76b57353330832e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3049ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1925ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f76b57353330832f0000'), "firstname"=>"Daniela", "lastname"=>"Dickinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2526ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f76b57353330832f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f76b57353330832f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2686ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.5ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083300000'), "firstname"=>"Logan", "lastname"=>"Corkery"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4150ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3377ms
Completed 200 OK in 9ms (Views: 7.5ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083310000'), "firstname"=>"Einar", "lastname"=>"Parker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7306ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083320000'), "firstname"=>"Danial", "lastname"=>"Koelpin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4043ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f76b5735333083320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f76b5735333083320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms
Completed 200 OK in 6ms (Views: 4.7ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083330000'), "firstname"=>"Darwin", "lastname"=>"Friesen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4463ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f76b5735333083330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f76b5735333083330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f76b5735333083330000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3224ms
Redirected to http://test.host/admin/clients/5305f76b5735333083330000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083340000'), "firstname"=>"Emmanuelle", "lastname"=>"Bode"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2800ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1793ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083350000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2992ms
Redirected to http://test.host/clients/5305f76b5735333083350000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1887ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083360000'), "firstname"=>"Douglas", "lastname"=>"Romaguera"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2366ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1835ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f76b5735333083360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f76b5735333083360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2444ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f76b5735333083360000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2566ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1838ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083370000'), "firstname"=>"Althea", "lastname"=>"Schulist"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2430ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f76b5735333083370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f76b5735333083370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083380000'), "firstname"=>"Freeman", "lastname"=>"Berge"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3531ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4179ms
Completed 200 OK in 43ms (Views: 41.7ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083390000'), "firstname"=>"Marcelina", "lastname"=>"Block"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4714ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f76b57353330833a0000'), "firstname"=>"Susie", "lastname"=>"Gorczany"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.2758ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f76b57353330833a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f76b57353330833a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2984ms
Completed 200 OK in 5ms (Views: 3.3ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f76b57353330833b0000'), "firstname"=>"Anne", "lastname"=>"Breitenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f76b57353330833b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f76b57353330833b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2712ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f76b57353330833b0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2868ms
Redirected to http://test.host/clients/5305f76b57353330833b0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b57353330833c0000'), "name"=>"Dan Schneider", "reference"=>"Darron Robel", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('5305f76b57353330833d0000'), "firstname"=>"Roselyn", "lastname"=>"Rohan"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4692ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"managers", :query=>{}} runtime: 0.3358ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b57353330833e0000'), "name"=>"Leif Stamm", "reference"=>"Merle Roberts", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5305f76b57353330833f0000'), "firstname"=>"Wayne", "lastname"=>"Davis"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4009ms
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083400000'), "name"=>"Keira Bartoletti I", "reference"=>"Else Kerluke", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('5305f76b5735333083410000'), "firstname"=>"Stephon", "lastname"=>"Koelpin"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3771ms
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083420000'), "name"=>"Miss Randall Mraz", "reference"=>"Enrico Walsh", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('5305f76b5735333083430000'), "firstname"=>"Baby", "lastname"=>"Reynolds"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3516ms
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083440000'), "name"=>"Fausto Anderson", "reference"=>"Estevan Howe II", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305f76b5735333083450000'), "firstname"=>"Rebeka", "lastname"=>"Bruen"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3548ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083460000'), "name"=>"Ms. Kariane Wolff", "reference"=>"Miss Toby Bayer", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4501ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2509ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083470000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4482ms
Redirected to http://test.host/products/5305f76b5735333083470000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1980ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083480000'), "name"=>"Clovis Wolf", "reference"=>"Clay Wunsch", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3233ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1792ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305f76b5735333083480000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f76b5735333083480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2550ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f76b5735333083480000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2611ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1900ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083490000'), "name"=>"Nettie Ward III", "reference"=>"Lina Graham", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2581ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305f76b5735333083490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f76b5735333083490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b57353330834a0000'), "name"=>"Brandon Haag", "reference"=>"Erling Kilback I", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6883ms
Completed 200 OK in 51ms (Views: 50.6ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b57353330834b0000'), "name"=>"Manuela Weimann", "reference"=>"Haskell Schaefer", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4306ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5763ms
Completed 200 OK in 4ms (Views: 1.5ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b57353330834c0000'), "name"=>"Lavina Padberg", "reference"=>"General Conroy", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3324ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305f76b57353330834c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f76b57353330834c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2895ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b57353330834d0000'), "name"=>"Adaline Wolff", "reference"=>"Lily Feeney PhD", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3039ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 7ms (Views: 6.3ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b57353330834f0000'), "name"=>"Cary Jacobson", "reference"=>"Zane Thiel", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4159ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305f76b57353330834f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f76b57353330834f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3066ms
Completed 200 OK in 6ms (Views: 4.4ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083500000'), "name"=>"Mr. Collin Berge", "reference"=>"Johnnie Reichel Jr.", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4361ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1860ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083510000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1981ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083520000'), "name"=>"Eryn Jenkins", "reference"=>"Laura Toy", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2464ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305f76b5735333083520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f76b5735333083520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2626ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f76b5735333083520000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2616ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083530000'), "name"=>"Leone Gleason", "reference"=>"Octavia Larson", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2926ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083550000'), "name"=>"Marcelina Gorczany", "reference"=>"Marina Rolfson", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3730ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f76b5735333083550000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f76b5735333083550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2899ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f76b5735333083550000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2941ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083560000'), "name"=>"Peyton Hegmann", "reference"=>"Miss Rodger Green", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f76b5735333083560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f76b5735333083560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3539ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f76b5735333083560000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2642ms
Redirected to http://test.host/products/5305f76b5735333083560000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083570000'), "firstname"=>"Macy", "lastname"=>"Casper"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4928ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2662ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083580000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3952ms
Redirected to http://test.host/users/5305f76b5735333083580000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2418ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f76b5735333083590000'), "firstname"=>"Jake", "lastname"=>"Erdman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3521ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2036ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305f76b5735333083590000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f76b5735333083590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3362ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f76b5735333083590000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2477ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2368ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f76b57353330835a0000'), "firstname"=>"Sabina", "lastname"=>"Eichmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4010ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305f76b57353330835a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f76b57353330835a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2877ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.9ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f76b57353330835b0000'), "firstname"=>"Adan", "lastname"=>"Runte"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4059ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms
Completed 200 OK in 10ms (Views: 9.8ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f76b57353330835c0000'), "firstname"=>"Kirk", "lastname"=>"Brakus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3616ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.5ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f76b57353330835d0000'), "firstname"=>"Bernard", "lastname"=>"Weber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4492ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305f76b57353330835d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f76b57353330835d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2564ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f76b57353330835e0000'), "firstname"=>"Eldora", "lastname"=>"Koss"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4156ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f76b57353330835e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f76b57353330835e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2551ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305f76b57353330835e0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6402ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3247ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2441ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2570ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2301ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f78057353330ad000000'), "firstname"=>"Rosalia", "lastname"=>"Schultz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4778ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1797ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f78057353330ad010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3761ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1981ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f78057353330ad020000'), "firstname"=>"Constantin", "lastname"=>"Farrell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3015ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f78057353330ad020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f78057353330ad020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2463ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 200 OK in 52ms (Views: 50.6ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f78057353330ad030000'), "firstname"=>"Dario", "lastname"=>"Ondricka"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5050ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 6ms (Views: 5.6ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f78057353330ad040000'), "firstname"=>"Sonia", "lastname"=>"Glover"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305f78057353330ad040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f78057353330ad040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2526ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f78057353330ad050000'), "firstname"=>"Roosevelt", "lastname"=>"Bahringer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3883ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305f78057353330ad050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f78057353330ad050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2510ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78057353330ad060000'), "name"=>"Yazmin Maggio", "reference"=>"Chanel Baumbach II", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4791ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1908ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78057353330ad070000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.0852ms
Redirected to http://test.host/admin/products/5305f78057353330ad070000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2164ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78057353330ad080000'), "name"=>"Marilyne Klocko", "reference"=>"Jake Kshlerin", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3430ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1759ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305f78057353330ad080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78057353330ad080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78057353330ad080000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2951ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1865ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78057353330ad090000'), "name"=>"Reuben Von", "reference"=>"Dr. Miracle Little", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305f78057353330ad090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78057353330ad090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 9ms (Views: 7.8ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78057353330ad0a0000'), "name"=>"Mrs. Amani Wunsch", "reference"=>"Margaret Price MD", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4594ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3457ms
Completed 200 OK in 8ms (Views: 7.7ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78057353330ad0b0000'), "name"=>"Marjory Lubowitz", "reference"=>"Mrs. Ora Kohler", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 20ms (Views: 5.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78057353330ad0e0000'), "name"=>"Dr. Doyle Quitzon", "reference"=>"Victor Dickens", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4185ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305f78057353330ad0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78057353330ad0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3252ms
Completed 200 OK in 6ms (Views: 4.2ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78057353330ad0f0000'), "name"=>"Ms. Antonio Kuhlman", "reference"=>"Aniya Willms PhD", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4378ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f78057353330ad0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78057353330ad0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2655ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78057353330ad0f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3344ms
Redirected to http://test.host/admin/products/5305f78057353330ad0f0000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f78057353330ad100000'), "firstname"=>"Ricky", "lastname"=>"Klocko"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3332ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1812ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f78057353330ad110000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3170ms
Redirected to http://test.host/admin/users/5305f78057353330ad110000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1879ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f78057353330ad120000'), "firstname"=>"Vaughn", "lastname"=>"Lindgren"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2966ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1750ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305f78057353330ad120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f78057353330ad120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2984ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f78057353330ad120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4247ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3170ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f78057353330ad130000'), "firstname"=>"Fidel", "lastname"=>"Becker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305f78057353330ad130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f78057353330ad130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f78057353330ad140000'), "firstname"=>"Conner", "lastname"=>"Huels"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3162ms
Completed 200 OK in 7ms (Views: 6.3ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f78057353330ad150000'), "firstname"=>"Phyllis", "lastname"=>"Jakubowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3415ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f78057353330ad160000'), "firstname"=>"Edwina", "lastname"=>"Kling"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4691ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305f78057353330ad160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f78057353330ad160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f78057353330ad170000'), "firstname"=>"Ayla", "lastname"=>"Greenholt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f78057353330ad170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f78057353330ad170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2632ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305f78057353330ad170000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad180000'), "firstname"=>"Nyah", "lastname"=>"Mohr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3953ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1779ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4296ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1996ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad1a0000'), "firstname"=>"Rick", "lastname"=>"Hodkiewicz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3205ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f78157353330ad1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f78157353330ad1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.6ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad1b0000'), "firstname"=>"Lupe", "lastname"=>"Renner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4184ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad1c0000'), "firstname"=>"Aubree", "lastname"=>"Macejkovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305f78157353330ad1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f78157353330ad1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2644ms
Completed 200 OK in 5ms (Views: 3.5ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad1d0000'), "firstname"=>"Roxane", "lastname"=>"Wehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3855ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305f78157353330ad1d0000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f78157353330ad1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad1e0000'), "name"=>"Maude Bogan", "reference"=>"Melvin Orn", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305f78157353330ad1f0000'), "author_name"=>"Loma Lynch", "content"=>["Consequatur architecto harum. Quis tempore optio error repellendus voluptatem ut. Autem dolores doloremque. Modi nemo velit consectetur."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4732ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2136ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f78157353330ad1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2845ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad1e0000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f78157353330ad200000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3373ms
Redirected to http://test.host/products/5305f78157353330ad1e0000/comments/5305f78157353330ad200000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2678ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad210000'), "name"=>"Ms. Solon Schamberger", "reference"=>"Felicity Bins", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305f78157353330ad220000'), "author_name"=>"Ahmad Blanda", "content"=>["Quos autem odit et et ipsa. Voluptatum ratione minima atque distinctio iusto dolorem. Non nesciunt fugiat. Neque ea sequi. Numquam vel magni voluptas."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3701ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2028ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305f78157353330ad210000", "id"=>"5305f78157353330ad220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad210000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f78157353330ad220000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms
Redirected to http://test.host/products/5305f78157353330ad210000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2027ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad230000'), "name"=>"Danny Kozey", "reference"=>"Angelita Kemmer", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305f78157353330ad240000'), "author_name"=>"Wilhelmine Russel", "content"=>["Et nostrum sint est deserunt. Incidunt deserunt qui doloremque rem aut nam odit. Ex saepe iste dignissimos. Molestias rerum sed porro in assumenda minus ipsum. Aspernatur pariatur aut voluptatum quis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4275ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305f78157353330ad230000", "id"=>"5305f78157353330ad240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4066ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 10ms (Views: 7.5ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad250000'), "name"=>"Mr. Odell Langosh", "reference"=>"Damion Bednar", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305f78157353330ad260000'), "author_name"=>"Eloy Ondricka V", "content"=>["Nihil saepe nobis. Sint quia doloribus. Quam eos ea aut odio laudantium dicta. Aut corrupti incidunt ut temporibus nostrum quaerat. Aliquam iste perspiciatis voluptatem facere distinctio asperiores velit."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4354ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305f78157353330ad250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms
Completed 200 OK in 6ms (Views: 4.3ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad270000'), "name"=>"Jammie Emmerich", "reference"=>"Maxine Brakus", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305f78157353330ad280000'), "author_name"=>"Ona Crona", "content"=>["Sapiente eaque dicta. Sunt odit aut labore inventore quia ullam commodi. Velit eum quis itaque odit molestiae earum ut. Provident est eius."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4232ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305f78157353330ad270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2642ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 200 OK in 7ms (Views: 5.6ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad290000'), "name"=>"Mrs. Vickie Raynor", "reference"=>"Mr. Kaitlin Anderson", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305f78157353330ad2a0000'), "author_name"=>"Jodie Schneider", "content"=>["Nostrum repellendus vel tenetur labore ea temporibus. Mollitia facilis perspiciatis qui voluptatibus. Sint temporibus fugit doloremque est. Velit quia quo ut cupiditate non doloribus. Consequatur fugit nihil nesciunt."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4405ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305f78157353330ad290000", "id"=>"5305f78157353330ad2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms
Completed 200 OK in 6ms (Views: 3.9ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad2b0000'), "name"=>"Myah Hilll", "reference"=>"Ms. Rowena Dickinson", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305f78157353330ad2c0000'), "author_name"=>"Kali Mann", "content"=>["Occaecati maxime repellendus voluptatem consequuntur. Exercitationem dolores enim delectus. Blanditiis reprehenderit at et eaque assumenda."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0608ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f78157353330ad2b0000", "id"=>"5305f78157353330ad2c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2661ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad2b0000'), "comments._id"=>BSON::ObjectId('5305f78157353330ad2c0000')} update={"$set"=>{"comments.$.author_name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms
Redirected to http://test.host/products/5305f78157353330ad2b0000/comments/5305f78157353330ad2c0000
Completed 302 Found in 4ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad2d0000'), "firstname"=>"Zakary", "lastname"=>"Bechtelar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4577ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1837ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad2e0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3430ms
Redirected to http://test.host/admin/clients/5305f78157353330ad2e0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1991ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad2f0000'), "firstname"=>"Icie", "lastname"=>"Gulgowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3105ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1750ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f78157353330ad2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f78157353330ad2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2491ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f78157353330ad2f0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3404ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2044ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad300000'), "firstname"=>"Marian", "lastname"=>"Buckridge"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4582ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f78157353330ad300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f78157353330ad300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4007ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 10ms (Views: 8.5ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad310000'), "firstname"=>"Charles", "lastname"=>"Jacobson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4051ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3388ms
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad320000'), "firstname"=>"Okey", "lastname"=>"Pacocha"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6954ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.8ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad330000'), "firstname"=>"Jody", "lastname"=>"Kuhic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4171ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f78157353330ad330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f78157353330ad330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2465ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad340000'), "firstname"=>"Luella", "lastname"=>"Kuphal"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3871ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f78157353330ad340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f78157353330ad340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2834ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f78157353330ad340000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3621ms
Redirected to http://test.host/admin/clients/5305f78157353330ad340000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad350000'), "firstname"=>"Sarai", "lastname"=>"Cronin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2313ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad360000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3551ms
Redirected to http://test.host/clients/5305f78157353330ad360000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2365ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad370000'), "firstname"=>"Lauren", "lastname"=>"Wilkinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2630ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1925ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f78157353330ad370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f78157353330ad370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f78157353330ad370000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2539ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1813ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad380000'), "firstname"=>"Hollis", "lastname"=>"Maggio"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2390ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f78157353330ad380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f78157353330ad380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2429ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad390000'), "firstname"=>"Kamren", "lastname"=>"Mertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3465ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms
Completed 200 OK in 43ms (Views: 42.3ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad3a0000'), "firstname"=>"Ethel", "lastname"=>"Renner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3776ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad3b0000'), "firstname"=>"Araceli", "lastname"=>"Waelchi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8159ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f78157353330ad3b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f78157353330ad3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad3c0000'), "firstname"=>"Jaqueline", "lastname"=>"Monahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3329ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f78157353330ad3c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f78157353330ad3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2529ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f78157353330ad3c0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2770ms
Redirected to http://test.host/clients/5305f78157353330ad3c0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad3d0000'), "name"=>"Mrs. Jabari Berge", "reference"=>"Rene Prosacco", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('5305f78157353330ad3e0000'), "firstname"=>"Harmony", "lastname"=>"Smith"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4567ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"managers", :query=>{}} runtime: 0.3314ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad3f0000'), "name"=>"Conrad Howe", "reference"=>"Mrs. Kody Bogan", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('5305f78157353330ad400000'), "firstname"=>"Palma", "lastname"=>"O'Reilly"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3665ms
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad410000'), "name"=>"Ettie Borer V", "reference"=>"Lauren Ruecker", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('5305f78157353330ad420000'), "firstname"=>"Tyra", "lastname"=>"Kris"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3346ms
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad430000'), "name"=>"Grace Tillman", "reference"=>"Jeramy Jones", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5305f78157353330ad440000'), "firstname"=>"Destini", "lastname"=>"Kub"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5136ms
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad450000'), "name"=>"Joey Hilll", "reference"=>"Lula Bergstrom", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5305f78157353330ad460000'), "firstname"=>"Aisha", "lastname"=>"Wisoky"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4401ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad470000'), "name"=>"Margaret Kessler", "reference"=>"Elza Grady IV", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1814ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad480000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3508ms
Redirected to http://test.host/products/5305f78157353330ad480000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1900ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad490000'), "name"=>"Zena Walsh", "reference"=>"Sally Schamberger DVM", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3111ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1759ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305f78157353330ad490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2461ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad490000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2569ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1811ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad4a0000'), "name"=>"Retta Hyatt", "reference"=>"Joanie Streich Jr.", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2504ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305f78157353330ad4a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2743ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.9ms)
Completed 200 OK in 10ms (Views: 8.8ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad4b0000'), "name"=>"Miss Kristy Wiegand", "reference"=>"Meghan O'Conner II", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4082ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5778ms
Completed 200 OK in 51ms (Views: 50.6ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad4c0000'), "name"=>"Briana Gutmann", "reference"=>"Giovani Rath DVM", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4521ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5704ms
Completed 200 OK in 4ms (Views: 1.5ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad4d0000'), "name"=>"Ms. Destiny Collins", "reference"=>"Allan Schmeler", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3184ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305f78157353330ad4d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3143ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad4e0000'), "name"=>"Mrs. Euna Kris", "reference"=>"Wilfrid Walsh", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3429ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 7ms (Views: 6.3ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad500000'), "name"=>"Tyler Erdman", "reference"=>"Mr. Jeanette Hessel", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4576ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305f78157353330ad500000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2676ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad510000'), "name"=>"Elisabeth Quigley III", "reference"=>"Lonie Thompson", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4196ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1835ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad520000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3122ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1853ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad530000'), "name"=>"Gerard Zieme", "reference"=>"Mr. Hertha Moore", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2446ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305f78157353330ad530000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2556ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad530000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2985ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad540000'), "name"=>"Anissa Stark", "reference"=>"Kari Purdy", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad560000'), "name"=>"Leone Lynch", "reference"=>"Dashawn Walter I", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4152ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f78157353330ad560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2998ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad560000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3307ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad570000'), "name"=>"Winfield Hermiston", "reference"=>"Major Rippin", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3620ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f78157353330ad570000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3748ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f78157353330ad570000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2972ms
Redirected to http://test.host/products/5305f78157353330ad570000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad580000'), "firstname"=>"Bryce", "lastname"=>"Kshlerin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4306ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1789ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad590000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5321ms
Redirected to http://test.host/users/5305f78157353330ad590000
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2366ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad5a0000'), "firstname"=>"Leone", "lastname"=>"Wuckert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2243ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305f78157353330ad5a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f78157353330ad5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2965ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f78157353330ad5a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3347ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2393ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad5b0000'), "firstname"=>"Mike", "lastname"=>"Hauck"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2551ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305f78157353330ad5b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f78157353330ad5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 9ms (Views: 7.1ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad5c0000'), "firstname"=>"Amie", "lastname"=>"Gleason"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4198ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3576ms
Completed 200 OK in 10ms (Views: 9.7ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad5d0000'), "firstname"=>"Elnora", "lastname"=>"Stamm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3530ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad5e0000'), "firstname"=>"Stephanie", "lastname"=>"Cartwright"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4867ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305f78157353330ad5e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f78157353330ad5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3331ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f78157353330ad5f0000'), "firstname"=>"Kaitlin", "lastname"=>"Bauch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4025ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f78157353330ad5f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f78157353330ad5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2574ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305f78157353330ad5f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6262ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3221ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4630ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3034ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2716ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f7fb57353330c4000000'), "name"=>"Ms. Frederik Stracke", "reference"=>"Vladimir Torp", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305f7fb57353330c4010000'), "author_name"=>"Carmel Hermiston", "content"=>["Quia eum quas dolore ducimus vero dolorem. Cupiditate et omnis recusandae dolor quisquam et. Itaque cumque qui. Aut sit magni. Aut qui non."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4725ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f7fb57353330c4000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2100ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f7fb57353330c4000000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f7fb57353330c4000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3234ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f7fb57353330c4000000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f7fb57353330c4020000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3390ms
Redirected to http://test.host/products/5305f7fb57353330c4000000/comments/5305f7fb57353330c4020000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f7fb57353330c4000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2842ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f7fb57353330c4030000'), "name"=>"Ms. Reina King", "reference"=>"Yoshiko Kuhic DVM", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305f7fb57353330c4040000'), "author_name"=>"Wilton Koss II", "content"=>["Fugit et repudiandae praesentium quasi vel est. Laboriosam qui sequi deleniti. Sed quis sequi nobis nostrum pariatur. Enim eos molestiae aut. Explicabo vero est."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3689ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f7fb57353330c4030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2444ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305f7fb57353330c4030000", "id"=>"5305f7fb57353330c4040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f7fb57353330c4030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3189ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f7fb57353330c4030000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f7fb57353330c4040000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms
Redirected to http://test.host/products/5305f7fb57353330c4030000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f7fb57353330c4030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f7fb57353330c4050000'), "name"=>"Oran Kshlerin", "reference"=>"Clifford Muller II", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305f7fb57353330c4060000'), "author_name"=>"Miss Evie Kuhic", "content"=>["Quia culpa voluptatum tenetur blanditiis qui aliquam ullam. Delectus totam rem consequuntur consequatur dolorum. Repellendus voluptas enim accusantium velit. Provident similique est."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3632ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305f7fb57353330c4050000", "id"=>"5305f7fb57353330c4060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f7fb57353330c4050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2982ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.1ms)
Completed 200 OK in 53ms (Views: 51.3ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f7fb57353330c4070000'), "name"=>"Lois Larkin", "reference"=>"Titus Pacocha", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305f7fb57353330c4080000'), "author_name"=>"Noah Yundt", "content"=>["Officia maxime voluptate nobis fugiat labore. Aliquam quos dolor. Ut exercitationem ea. Exercitationem porro velit sit odio est et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5013ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305f7fb57353330c4070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f7fb57353330c4070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms
Completed 200 OK in 6ms (Views: 4.6ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f7fc57353330c4090000'), "name"=>"Ezekiel Effertz", "reference"=>"Mrs. Collin Murphy", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305f7fc57353330c40a0000'), "author_name"=>"Miss Jannie Kuhn", "content"=>["Quod odit in non eum molestiae. Rerum expedita error. Vel earum totam dolores. Corporis culpa aut error molestiae. Culpa in modi assumenda iure enim et et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4353ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305f7fc57353330c4090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f7fc57353330c4090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2805ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.1ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f7fc57353330c40b0000'), "name"=>"Theresia Schiller", "reference"=>"Veda Sipes", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305f7fc57353330c40c0000'), "author_name"=>"Breanna Quigley MD", "content"=>["Dolor maiores illo facere aliquid. Qui similique adipisci praesentium quo eos est molestiae. Unde eos iure molestiae est dolorum praesentium non."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4399ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305f7fc57353330c40b0000", "id"=>"5305f7fc57353330c40c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f7fc57353330c40b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3127ms
Completed 200 OK in 7ms (Views: 4.3ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f7fc57353330c40d0000'), "name"=>"Lurline Hyatt III", "reference"=>"Hilton Maggio", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305f7fc57353330c40e0000'), "author_name"=>"Amiya Lemke MD", "content"=>["Tempora non magni voluptatem excepturi. Neque voluptas beatae corporis velit quas et ad. Omnis sed nesciunt."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4531ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f7fc57353330c40d0000", "id"=>"5305f7fc57353330c40e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f7fc57353330c40d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2786ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f7fc57353330c40d0000'), "comments._id"=>BSON::ObjectId('5305f7fc57353330c40e0000')} update={"$set"=>{"comments.$.author_name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4177ms
Redirected to http://test.host/products/5305f7fc57353330c40d0000/comments/5305f7fc57353330c40e0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6796ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3797ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4083ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3055ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2964ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2909ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f82657353330f3000000'), "name"=>"Camden Schroeder", "reference"=>"Brendon Hettinger", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305f82657353330f3010000'), "author_name"=>"Charlie Watsica", "content"=>["Et minus quam ut nemo dolorum. Qui numquam saepe delectus optio tempore error voluptatem. Aut at ad commodi deleniti laudantium sunt distinctio. Eveniet nostrum nobis soluta aperiam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4840ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82657353330f3000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2064ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f82657353330f3000000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82657353330f3000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3207ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82657353330f3000000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f82657353330f3020000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3421ms
Redirected to http://test.host/products/5305f82657353330f3000000/comments/5305f82657353330f3020000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82657353330f3000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2840ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f82657353330f3030000'), "name"=>"Micaela Jacobi", "reference"=>"Kevin Treutel DDS", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305f82657353330f3040000'), "author_name"=>"Mr. Lafayette Marquardt", "content"=>["Ea eum eaque aut ullam. Tenetur et laboriosam fugiat cum officia. Dolor veritatis nihil omnis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3733ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82657353330f3030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2070ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305f82657353330f3030000", "id"=>"5305f82657353330f3040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82657353330f3030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2641ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82657353330f3030000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f82657353330f3040000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3441ms
Redirected to http://test.host/products/5305f82657353330f3030000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82657353330f3030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1954ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f82657353330f3050000'), "name"=>"Gussie McLaughlin", "reference"=>"Kameron Jerde", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305f82657353330f3060000'), "author_name"=>"Joan Dickens", "content"=>["Ut voluptatum praesentium vitae quae repellendus. Possimus numquam assumenda animi repudiandae. Eligendi magnam molestiae aut voluptatibus sunt. Dolore vitae ipsum nostrum eius modi tempore. Ut dolorem dicta eum quia assumenda deleniti."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3088ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305f82657353330f3050000", "id"=>"5305f82657353330f3060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82657353330f3050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3035ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.8ms)
Completed 200 OK in 55ms (Views: 53.2ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f82657353330f3070000'), "name"=>"Tia Block III", "reference"=>"Emma O'Hara", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305f82657353330f3080000'), "author_name"=>"Ms. Caden Hartmann", "content"=>["Nostrum minima ad eveniet voluptas vel ex. In a ullam sit facilis nihil aut. Quaerat hic omnis quo aliquid aut nisi est."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4587ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305f82657353330f3070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82657353330f3070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2746ms
Completed 200 OK in 6ms (Views: 4.5ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f82657353330f3090000'), "name"=>"Jameson Stokes", "reference"=>"Sven Flatley", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305f82657353330f30a0000'), "author_name"=>"Stacy Goyette", "content"=>["Et saepe rerum. Adipisci autem reprehenderit et neque. Modi delectus et architecto nisi sed."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4379ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305f82657353330f3090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82657353330f3090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2646ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.1ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f82657353330f30b0000'), "name"=>"Reyna Altenwerth", "reference"=>"Isaac Halvorson", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305f82657353330f30c0000'), "author_name"=>"Dr. Yazmin Connelly", "content"=>["Nostrum tempore sequi. Laborum vel culpa. Explicabo perspiciatis distinctio."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4385ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305f82657353330f30b0000", "id"=>"5305f82657353330f30c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82657353330f30b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3251ms
Completed 200 OK in 7ms (Views: 4.3ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f82657353330f30d0000'), "name"=>"Domenic Jacobson DDS", "reference"=>"Kaitlyn Tillman", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305f82657353330f30e0000'), "author_name"=>"Francis Bahringer DDS", "content"=>["Nulla adipisci nobis natus nesciunt voluptas quasi. Rerum odio aliquam autem et quam suscipit itaque. Consectetur voluptatem et omnis sapiente ut vitae. Expedita laborum quia ea nemo aut velit. Voluptates sit ut eum a."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4580ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f82657353330f30d0000", "id"=>"5305f82657353330f30e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82657353330f30d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2910ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82657353330f30d0000'), "comments._id"=>BSON::ObjectId('5305f82657353330f30e0000')} update={"$set"=>{"comments.$.author_name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4342ms
Redirected to http://test.host/products/5305f82657353330f30d0000/comments/5305f82657353330f30e0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6139ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2999ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2683ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1759ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2205ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2026ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f82f573533311c000000'), "name"=>"Fern Schuppe", "reference"=>"Sister Wisozk DDS", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305f82f573533311c010000'), "author_name"=>"Loyce Kub", "content"=>["Quae ut natus eius nihil voluptatem esse quo. Ipsam voluptas quia et incidunt temporibus. Dolores occaecati minus error enim. Mollitia saepe vel. Temporibus tempore veritatis modi ratione velit."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4752ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82f573533311c000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2048ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f82f573533311c000000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82f573533311c000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3178ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82f573533311c000000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f82f573533311c020000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3544ms
Redirected to http://test.host/products/5305f82f573533311c000000/comments/5305f82f573533311c020000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82f573533311c000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2637ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f82f573533311c030000'), "name"=>"Carley Rath", "reference"=>"Gina Franecki", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305f82f573533311c040000'), "author_name"=>"Jared Maggio", "content"=>["Voluptas fugiat nihil amet asperiores id et temporibus. Quis sunt distinctio incidunt quasi. Voluptatibus reprehenderit repellat."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3647ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82f573533311c030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305f82f573533311c030000", "id"=>"5305f82f573533311c040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82f573533311c030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3088ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82f573533311c030000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f82f573533311c040000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3909ms
Redirected to http://test.host/products/5305f82f573533311c030000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82f573533311c030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2450ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f82f573533311c050000'), "name"=>"Oscar Gibson", "reference"=>"Merle Hagenes", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305f82f573533311c060000'), "author_name"=>"Abbigail Medhurst Jr.", "content"=>["Et quis possimus quia suscipit optio consequuntur. Sunt nostrum vero. Fugiat quis facilis vero."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3579ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305f82f573533311c050000", "id"=>"5305f82f573533311c060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82f573533311c050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3120ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.1ms)
Completed 200 OK in 54ms (Views: 52.4ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f82f573533311c070000'), "name"=>"Haylie Quigley", "reference"=>"Mr. Federico Gleason", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305f82f573533311c080000'), "author_name"=>"Sandy Zulauf", "content"=>["Qui sit et autem vero eius iste. Veniam corrupti molestias. Vitae aspernatur sequi cupiditate."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4502ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305f82f573533311c070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82f573533311c070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2683ms
Completed 200 OK in 6ms (Views: 4.5ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f82f573533311c090000'), "name"=>"Mr. Adelia Dare", "reference"=>"General Weissnat", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305f82f573533311c0a0000'), "author_name"=>"Kelton Daugherty", "content"=>["Quis non sed id labore voluptatem sapiente corrupti. Voluptatum ipsa dolores nostrum. Accusamus neque est. Labore voluptatem cum molestiae ipsum in sit. Nesciunt deleniti natus quam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4374ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305f82f573533311c090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82f573533311c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2681ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.1ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f82f573533311c0b0000'), "name"=>"Emelia O'Reilly", "reference"=>"Mrs. Dudley Connelly", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305f82f573533311c0c0000'), "author_name"=>"Brain King", "content"=>["Voluptatem nisi reprehenderit ut cupiditate sapiente quia. Exercitationem reiciendis quis. Doloremque aspernatur iure sit similique. Ut culpa tenetur totam. Quis voluptatem autem consequatur dolor at facilis sed."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4368ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305f82f573533311c0b0000", "id"=>"5305f82f573533311c0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82f573533311c0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3347ms
Completed 200 OK in 7ms (Views: 4.2ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f82f573533311c0d0000'), "name"=>"Neoma Stark", "reference"=>"Keely Runolfsson", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305f82f573533311c0e0000'), "author_name"=>"Michel Block", "content"=>["Alias accusamus ut rerum est qui et dolores. Dolores et dolore. Vero eius eveniet voluptatem. Ut praesentium iusto molestiae excepturi."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4503ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f82f573533311c0d0000", "id"=>"5305f82f573533311c0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82f573533311c0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2807ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f82f573533311c0d0000'), "comments._id"=>BSON::ObjectId('5305f82f573533311c0e0000')} update={"$set"=>{"comments.$.author_name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4511ms
Redirected to http://test.host/products/5305f82f573533311c0d0000/comments/5305f82f573533311c0e0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7267ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3603ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3396ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2045ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1942ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2357ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8465735333149000000'), "name"=>"Victor Metz", "reference"=>"Edison Franecki III", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305f8465735333149010000'), "author_name"=>"Miss Wilburn Stiedemann", "content"=>["Est ea perferendis nisi ipsa facilis. Dignissimos et sit vitae in debitis fugit eveniet. Facilis quo consequatur incidunt omnis. Quis odit voluptate ea et non et quia."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4547ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8465735333149000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1870ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f8465735333149000000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8465735333149000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3619ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8465735333149000000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f8465735333149020000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3652ms
Redirected to http://test.host/products/5305f8465735333149000000/comments/5305f8465735333149020000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8465735333149000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2826ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8465735333149030000'), "name"=>"Angelica Nienow", "reference"=>"Delphia Brakus", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305f8465735333149040000'), "author_name"=>"Savanah Lockman", "content"=>["Consequatur repellendus neque ea alias autem. Vitae maxime odit quis quas voluptatibus qui. Odit suscipit culpa quisquam perspiciatis sit. Et aperiam harum aliquid aut sequi sed."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4182ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8465735333149030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305f8465735333149030000", "id"=>"5305f8465735333149040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8465735333149030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3061ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8465735333149030000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f8465735333149040000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms
Redirected to http://test.host/products/5305f8465735333149030000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8465735333149030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8465735333149050000'), "name"=>"Cecil Lakin", "reference"=>"Charlotte Stamm", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305f8465735333149060000'), "author_name"=>"Miss Tom Wilderman", "content"=>["Animi qui error sit deserunt tempora rerum eum. At sed voluptas. Sit cupiditate quos beatae incidunt qui id alias. Fugiat est voluptas ea repellat possimus rerum vero. Quidem beatae porro cumque ea adipisci dolores."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3713ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305f8465735333149050000", "id"=>"5305f8465735333149060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8465735333149050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.1ms)
Completed 200 OK in 54ms (Views: 52.0ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8465735333149070000'), "name"=>"Kelvin Fritsch", "reference"=>"Ethelyn Labadie", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305f8465735333149080000'), "author_name"=>"Jaren Friesen", "content"=>["Temporibus adipisci dolor. Sint et dolores voluptatem consequatur qui. Necessitatibus ullam delectus nihil. Nihil dolor et eveniet rerum voluptate quia."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4979ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305f8465735333149070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8465735333149070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms
Completed 200 OK in 6ms (Views: 4.5ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8465735333149090000'), "name"=>"Zoila Nikolaus", "reference"=>"Jefferey Hettinger DVM", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305f84657353331490a0000'), "author_name"=>"Annamae Deckow", "content"=>["Nam cumque sit itaque quia non delectus. Dolor ut asperiores. Omnis ea quidem dolorum ipsa amet sed. Deleniti velit consectetur."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4418ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305f8465735333149090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8465735333149090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2837ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f84657353331490b0000'), "name"=>"Jaren Rice", "reference"=>"Dr. Kim Price", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305f84657353331490c0000'), "author_name"=>"Angus Feest DVM", "content"=>["Nisi eos ipsam quod minus. Saepe aut qui qui velit laboriosam voluptas molestias. Facere quos eaque error perspiciatis dolor vitae ut."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4412ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305f84657353331490b0000", "id"=>"5305f84657353331490c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f84657353331490b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3544ms
Completed 200 OK in 7ms (Views: 4.2ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f84657353331490d0000'), "name"=>"Vanessa Green", "reference"=>"Isaias Brekke DDS", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305f84657353331490e0000'), "author_name"=>"Evangeline Johns", "content"=>["Possimus distinctio soluta in accusamus consequatur impedit amet. Aut et provident et dolor exercitationem qui. Aut molestiae beatae eos ullam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4486ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f84657353331490d0000", "id"=>"5305f84657353331490e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f84657353331490d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2815ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f84657353331490d0000'), "comments._id"=>BSON::ObjectId('5305f84657353331490e0000')} update={"$set"=>{"comments.$.author_name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4254ms
Redirected to http://test.host/products/5305f84657353331490d0000/comments/5305f84657353331490e0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7088ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3645ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3377ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2329ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2185ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2136ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8665735333173000000'), "name"=>"Syble Torp", "reference"=>"Dennis Brekke", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305f8665735333173010000'), "author_name"=>"Leopoldo Ruecker MD", "content"=>["Quod et ipsa. Corporis quo beatae sit magnam quia. Tempora libero tempore est at. Minus est at quia dolor doloremque repudiandae pariatur."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4853ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8665735333173000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2047ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f8665735333173000000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8665735333173000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8665735333173000000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f8665735333173020000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3379ms
Redirected to http://test.host/products/5305f8665735333173000000/comments/5305f8665735333173020000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8665735333173000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2676ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8665735333173030000'), "name"=>"Alvina Bradtke V", "reference"=>"Ms. Garrick Adams", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305f8665735333173040000'), "author_name"=>"Tara Schoen", "content"=>["Pariatur ex quo aut nobis. Nam eos porro reiciendis qui consequatur eum dolorem. Omnis veniam laudantium eum delectus sint voluptas sit."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3679ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8665735333173030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2463ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305f8665735333173030000", "id"=>"5305f8665735333173040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8665735333173030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3135ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8665735333173030000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f8665735333173040000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3919ms
Redirected to http://test.host/products/5305f8665735333173030000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8665735333173030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8665735333173050000'), "name"=>"Jules O'Keefe", "reference"=>"Salma Carter", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305f8665735333173060000'), "author_name"=>"Shaun Metz DDS", "content"=>["Qui sapiente expedita. Aliquam non laudantium quas ipsam non. Est maxime voluptatibus alias aspernatur vero eos modi. Sed ut quasi. Nemo eum in facilis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3775ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305f8665735333173050000", "id"=>"5305f8665735333173060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8665735333173050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2760ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms)
Completed 200 OK in 55ms (Views: 53.0ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8665735333173070000'), "name"=>"Vern Davis Jr.", "reference"=>"Ms. Annette Toy", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305f8665735333173080000'), "author_name"=>"Talia Huels", "content"=>["Laudantium rerum repudiandae inventore. Iusto accusamus voluptate inventore rerum aliquam est. Excepturi suscipit dolore in. Et sint placeat similique voluptatibus ipsum. Quia quo pariatur eum culpa."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4783ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305f8665735333173070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8665735333173070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2807ms
Completed 200 OK in 6ms (Views: 4.5ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8665735333173090000'), "name"=>"Boyd Hermiston", "reference"=>"Peyton Roob", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305f86657353331730a0000'), "author_name"=>"Aracely Waters", "content"=>["Rerum odio minima quidem recusandae non. Dolor quia unde quibusdam architecto optio. Esse doloribus omnis vitae sunt."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4429ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305f8665735333173090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8665735333173090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2618ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.1ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f86657353331730b0000'), "name"=>"Elbert Becker I", "reference"=>"Addison Klein", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305f86657353331730c0000'), "author_name"=>"Annamae Klocko MD", "content"=>["Totam qui aut quis corrupti ipsum nihil. Pariatur voluptatem consequatur blanditiis cupiditate quo. Non reiciendis est veniam qui."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305f86657353331730b0000", "id"=>"5305f86657353331730c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f86657353331730b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3162ms
Completed 200 OK in 7ms (Views: 4.4ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f86657353331730d0000'), "name"=>"Mr. Hellen Osinski", "reference"=>"Missouri Spinka", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305f86657353331730e0000'), "author_name"=>"Boyd McClure", "content"=>["Reiciendis placeat quis. Ipsa veniam adipisci culpa ut quam totam. Iste aut non et aut qui vitae."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4521ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "id"=>"5305f86657353331730e0000", "product_id"=>"5305f86657353331730d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f86657353331730d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2644ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f86657353331730d0000'), "comments._id"=>BSON::ObjectId('5305f86657353331730e0000')} update={"$set"=>{"comments.$.author_name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4153ms
Redirected to http://test.host/products/5305f86657353331730d0000/comments/5305f86657353331730e0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6335ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2793ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1753ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1699ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1906ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f889573533319a000000'), "name"=>"Mr. Kyler White", "reference"=>"Sylvia Lowe", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305f889573533319a010000'), "author_name"=>"Jade McCullough Sr.", "content"=>["Voluptatem quas ipsam in voluptas odio deleniti. Et omnis delectus doloribus. Aliquam laborum pariatur est voluptates nesciunt assumenda."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4682ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f889573533319a000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2083ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f889573533319a000000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f889573533319a000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3259ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f889573533319a000000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f889573533319a020000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3428ms
Redirected to http://test.host/products/5305f889573533319a000000/comments/5305f889573533319a020000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f889573533319a000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2712ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f889573533319a030000'), "name"=>"Pierre Turcotte", "reference"=>"Stefanie Huels", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305f889573533319a040000'), "author_name"=>"Frederik Langworth", "content"=>["Nisi id quo nostrum nesciunt quibusdam minus a. Enim animi itaque eaque nulla. Nihil quo quam eligendi accusantium est. Eligendi quia sit non aliquam iusto unde."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3713ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f889573533319a030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2043ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305f889573533319a030000", "id"=>"5305f889573533319a040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f889573533319a030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2699ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f889573533319a030000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f889573533319a040000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3436ms
Redirected to http://test.host/products/5305f889573533319a030000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f889573533319a030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2051ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f889573533319a050000'), "name"=>"Linda Abshire", "reference"=>"Marcel Bahringer", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305f889573533319a060000'), "author_name"=>"Dr. Reynold Hegmann", "content"=>["Quo nemo eius eligendi rem hic repudiandae minima. Maiores magni dolore ex quisquam. Molestiae omnis magni itaque. Aut qui numquam quos eligendi eos."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3221ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305f889573533319a050000", "id"=>"5305f889573533319a060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f889573533319a050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2731ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms)
Completed 200 OK in 54ms (Views: 52.3ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f889573533319a070000'), "name"=>"Giovani Lang", "reference"=>"Mr. Sunny Jacobson", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305f889573533319a080000'), "author_name"=>"Kiera Schmeler MD", "content"=>["Impedit accusamus vel quo cupiditate. Minus error dicta harum non accusantium autem. Consequuntur cum exercitationem adipisci. In ut facere aut quo."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4512ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305f889573533319a070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f889573533319a070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2716ms
Completed 200 OK in 6ms (Views: 4.5ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f889573533319a090000'), "name"=>"Billy Waters", "reference"=>"Brandy Kemmer", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305f889573533319a0a0000'), "author_name"=>"Emelia Keeling", "content"=>["Blanditiis dolor itaque odio rerum et possimus animi. Delectus ipsum sunt corrupti facilis ab. Distinctio ut voluptate. Dicta ratione eaque. Voluptatem asperiores iure autem molestiae."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4615ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305f889573533319a090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f889573533319a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2712ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.1ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f889573533319a0b0000'), "name"=>"London Collins", "reference"=>"Barrett Graham", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305f889573533319a0c0000'), "author_name"=>"Edwina Marvin", "content"=>["Sed et alias. Odio id beatae nihil dolorum corporis provident et. Cumque quam aut est provident porro."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4361ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305f889573533319a0b0000", "id"=>"5305f889573533319a0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f889573533319a0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3458ms
Completed 200 OK in 7ms (Views: 4.4ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f889573533319a0d0000'), "name"=>"Antwon Schiller", "reference"=>"Mrs. Favian Johns", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305f889573533319a0e0000'), "author_name"=>"Angeline Graham", "content"=>["Quidem repudiandae deleniti ea architecto. Beatae aliquam animi illo ut laudantium ad. Natus dolorem autem consectetur et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4475ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "id"=>"5305f889573533319a0e0000", "product_id"=>"5305f889573533319a0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f889573533319a0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2758ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f889573533319a0d0000'), "comments._id"=>BSON::ObjectId('5305f889573533319a0e0000')} update={"$set"=>{"comments.$.author_name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4347ms
Redirected to http://test.host/products/5305f889573533319a0d0000/comments/5305f889573533319a0e0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6695ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2906ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2513ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1562ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1483ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1456ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f89757353331c3000000'), "name"=>"Carey Rogahn", "reference"=>"Jonathan Will", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305f89757353331c3010000'), "author_name"=>"Dr. Laurianne Gutmann", "content"=>["Fugiat porro cupiditate eum sed eos et neque. Dolorum ullam aut sit quia. Neque eum molestiae iusto tempore necessitatibus. Est ipsa quas rerum. Perferendis rerum culpa."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4708ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f89757353331c3000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2108ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f89757353331c3000000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f89757353331c3000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3270ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f89757353331c3000000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f89757353331c3020000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3599ms
Redirected to http://test.host/products/5305f89757353331c3000000/comments/5305f89757353331c3020000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f89757353331c3000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2756ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f89757353331c3030000'), "name"=>"Miss Jackie Jacobs", "reference"=>"Mrs. Annabel Pfannerstill", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305f89757353331c3040000'), "author_name"=>"Leora Goyette DDS", "content"=>["Non numquam laborum qui aspernatur culpa vel. Quisquam nihil laboriosam hic ut voluptates dolorem. Beatae tempora blanditiis occaecati incidunt at voluptates et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3894ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f89757353331c3030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2056ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305f89757353331c3030000", "id"=>"5305f89757353331c3040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f89757353331c3030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2719ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f89757353331c3030000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f89757353331c3040000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms
Redirected to http://test.host/products/5305f89757353331c3030000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f89757353331c3030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2519ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f89757353331c3050000'), "name"=>"Gardner Kuhn", "reference"=>"Adolf Cronin", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305f89757353331c3060000'), "author_name"=>"Francisca Dare", "content"=>["Ab et perferendis sint ut. In quo cupiditate rem itaque quo. Quo minus beatae et non magnam est. Saepe natus doloribus sit quo sed."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3251ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305f89757353331c3050000", "id"=>"5305f89757353331c3060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f89757353331c3050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2724ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms)
Completed 200 OK in 55ms (Views: 52.9ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f89757353331c3070000'), "name"=>"Jedediah Parker DVM", "reference"=>"Chloe Stiedemann", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305f89757353331c3080000'), "author_name"=>"Eusebio Leuschke", "content"=>["Molestiae laudantium occaecati deserunt facilis et hic. Qui harum molestias neque doloribus illum sapiente. Laudantium ut voluptatem aliquid blanditiis debitis nesciunt id. Quae hic et aperiam voluptate. Quia est odit iure libero molestiae quidem occaecati."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4513ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305f89757353331c3070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f89757353331c3070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3057ms
Completed 200 OK in 6ms (Views: 4.5ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f89757353331c3090000'), "name"=>"Durward Kozey", "reference"=>"Josh Hickle", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305f89757353331c30a0000'), "author_name"=>"Garland Ratke", "content"=>["Suscipit tempore consequatur qui nam. Corporis tempore inventore eaque sunt harum velit sunt. Dolor sunt quae molestiae et voluptatibus natus aliquam. Mollitia quidem provident. Voluptas autem possimus neque ea."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4399ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305f89757353331c3090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f89757353331c3090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2686ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.1ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f89757353331c30b0000'), "name"=>"Ms. Keenan Homenick", "reference"=>"Carli Kub", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305f89757353331c30c0000'), "author_name"=>"Miss Justen Sipes", "content"=>["Laborum vero voluptatibus ipsa nesciunt et dolor. Fuga inventore optio temporibus. Qui officiis ea."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4374ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305f89757353331c30b0000", "id"=>"5305f89757353331c30c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f89757353331c30b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3431ms
Completed 200 OK in 7ms (Views: 4.3ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f89757353331c30d0000'), "name"=>"Mr. Daniella Parisian", "reference"=>"Miss Carolanne Bashirian", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305f89757353331c30e0000'), "author_name"=>"Bridgette Hyatt", "content"=>["Qui hic qui. Ipsam dolorem dolores est tempora magni sapiente. Commodi voluptas laboriosam. Commodi qui optio quod illo assumenda. Ut exercitationem aliquid beatae."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4469ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "id"=>"5305f89757353331c30e0000", "product_id"=>"5305f89757353331c30d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f89757353331c30d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3066ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f89757353331c30d0000'), "comments._id"=>BSON::ObjectId('5305f89757353331c30e0000')} update={"$set"=>{"comments.$.author_name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4745ms
Redirected to http://test.host/products/5305f89757353331c30d0000/comments/5305f89757353331c30e0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6332ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3396ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2991ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2022ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1964ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1935ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8b657353331ea000000'), "name"=>"Miss Greg Eichmann", "reference"=>"Miss Esperanza Rau", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305f8b657353331ea010000'), "author_name"=>"Liana Beahan", "content"=>["Et eius sit. Veniam laboriosam quaerat. Sint asperiores qui corporis consequatur temporibus nemo qui. Quia quod et ut voluptate quas. Iusto ratione dolore odit dolores soluta voluptas vero."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4994ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8b657353331ea000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2136ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f8b657353331ea000000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8b657353331ea000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3183ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8b657353331ea000000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f8b657353331ea020000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3519ms
Redirected to http://test.host/products/5305f8b657353331ea000000/comments/5305f8b657353331ea020000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8b657353331ea000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8b657353331ea030000'), "name"=>"Dane Tillman IV", "reference"=>"Jerrod Hills", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305f8b657353331ea040000'), "author_name"=>"Hillary Reynolds", "content"=>["Quae et commodi sit aut. Et sunt minus molestiae in neque provident. Nemo cumque delectus nulla aut vel eos ad. At earum fugiat repudiandae sit rerum ut. Laboriosam labore quas quisquam nihil quam atque soluta."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3931ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8b657353331ea030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305f8b657353331ea030000", "id"=>"5305f8b657353331ea040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8b657353331ea030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2986ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8b657353331ea030000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f8b657353331ea040000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3944ms
Redirected to http://test.host/products/5305f8b657353331ea030000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8b657353331ea030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2388ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8b657353331ea050000'), "name"=>"Elyse Kertzmann", "reference"=>"Bennett Turcotte I", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305f8b657353331ea060000'), "author_name"=>"Mason Dibbert DVM", "content"=>["Explicabo asperiores optio enim. Praesentium ducimus autem dolor. Nostrum exercitationem fugiat inventore et quas. Consectetur vero in libero asperiores. Ea reprehenderit error odit quos incidunt autem."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3073ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305f8b657353331ea050000", "id"=>"5305f8b657353331ea060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8b657353331ea050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms)
Completed 200 OK in 54ms (Views: 52.3ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8b657353331ea070000'), "name"=>"Heloise Rice", "reference"=>"Bud Stokes", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305f8b657353331ea080000'), "author_name"=>"Marley Schowalter", "content"=>["Nostrum qui soluta ex laboriosam. Voluptates ab et delectus repudiandae possimus. Commodi debitis nam odit dolores laboriosam occaecati explicabo."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5113ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305f8b657353331ea070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8b657353331ea070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2982ms
Completed 200 OK in 6ms (Views: 4.6ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8b657353331ea090000'), "name"=>"Rick Ernser", "reference"=>"Georgianna Bosco", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305f8b657353331ea0a0000'), "author_name"=>"Dell O'Kon IV", "content"=>["Sed tenetur dolorem culpa fugit. Facere vel odit. Quia non ab ratione illum voluptate eveniet. Praesentium ullam numquam debitis officia. Alias nobis quia velit."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4693ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305f8b657353331ea090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8b657353331ea090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2797ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.3ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8b657353331ea0b0000'), "name"=>"Freida Dooley V", "reference"=>"Stefan Dicki IV", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305f8b657353331ea0c0000'), "author_name"=>"Antoinette Kshlerin", "content"=>["Cumque quasi voluptatum odio qui quo animi quo. Assumenda minus placeat dolor ullam sit eaque voluptas. Nesciunt suscipit rerum saepe porro tempore. Ex deleniti distinctio rerum eum impedit."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4337ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305f8b657353331ea0b0000", "id"=>"5305f8b657353331ea0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8b657353331ea0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3309ms
Completed 200 OK in 7ms (Views: 4.3ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8b657353331ea0d0000'), "name"=>"Layne Renner", "reference"=>"Mr. Jamir Nicolas", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305f8b657353331ea0e0000'), "author_name"=>"Hipolito Auer Sr.", "content"=>["Aperiam voluptates nihil id. Non reprehenderit distinctio doloremque. Et dolores fugit in nesciunt alias quia. Praesentium qui quis eveniet alias occaecati aut sint. Dolorem aut amet et qui libero enim."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4503ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305f8b657353331ea0e0000", "product_id"=>"5305f8b657353331ea0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8b657353331ea0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2954ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8b657353331ea0d0000'), "comments._id"=>BSON::ObjectId('5305f8b657353331ea0e0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4456ms
Redirected to http://test.host/products/5305f8b657353331ea0d0000/comments/5305f8b657353331ea0e0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6745ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3305ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2999ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2049ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1999ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1940ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8e65735333221000000'), "name"=>"Emmalee Lubowitz III", "reference"=>"Kristin Bosco", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305f8e65735333221010000'), "author_name"=>"Rey Smith DDS", "content"=>["Consequatur ratione est unde illum voluptatibus error. Molestiae voluptatem sit architecto iusto odio. Sint ipsa possimus et rerum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4656ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8e65735333221000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2053ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f8e65735333221000000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8e65735333221000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3280ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8e65735333221000000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f8e65735333221020000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3506ms
Redirected to http://test.host/products/5305f8e65735333221000000/comments/5305f8e65735333221020000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8e65735333221000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8e65735333221030000'), "name"=>"Garrison Hodkiewicz", "reference"=>"Ms. Francesco Pollich", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305f8e65735333221040000'), "author_name"=>"Declan Harvey PhD", "content"=>["Quo est molestiae odio beatae a laborum. Doloribus necessitatibus esse. Accusamus dolor mollitia deleniti praesentium aut et. Quam impedit enim aut est. Asperiores a veritatis architecto nobis rerum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8e65735333221030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2467ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305f8e65735333221030000", "id"=>"5305f8e65735333221040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8e65735333221030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3088ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8e65735333221030000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f8e65735333221040000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3951ms
Redirected to http://test.host/products/5305f8e65735333221030000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8e65735333221030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8e65735333221050000'), "name"=>"Clovis Bode", "reference"=>"Berta Wintheiser", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305f8e65735333221060000'), "author_name"=>"Sandy Romaguera", "content"=>["Reiciendis eos molestiae dolores odit temporibus modi. Dolores dolorem et fugit atque accusamus. Quam rerum eum. Atque possimus et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3611ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305f8e65735333221050000", "id"=>"5305f8e65735333221060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8e65735333221050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3111ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms)
Completed 200 OK in 53ms (Views: 51.4ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8e65735333221070000'), "name"=>"Ms. Melba Koelpin", "reference"=>"Haley Crist", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305f8e65735333221080000'), "author_name"=>"Esmeralda Hansen I", "content"=>["Est dolor omnis quisquam accusantium quis vel error. Dolor non praesentium inventore ad rerum aut. Iure qui est commodi molestias."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4406ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305f8e65735333221070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8e65735333221070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms
Completed 200 OK in 6ms (Views: 4.5ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8e65735333221090000'), "name"=>"Theresa Sipes", "reference"=>"John Durgan", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305f8e657353332210a0000'), "author_name"=>"Clifford Rippin", "content"=>["Eius est accusamus eos laudantium nemo tempora eaque. Quo nostrum expedita sequi suscipit. Quod impedit aperiam aut laborum est libero facilis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4308ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305f8e65735333221090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8e65735333221090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2708ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.1ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8e657353332210b0000'), "name"=>"Katelin Stark", "reference"=>"Beth Schneider", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305f8e657353332210c0000'), "author_name"=>"Keara Parker", "content"=>["Consectetur doloribus expedita cumque soluta possimus voluptate delectus. Occaecati quia qui reiciendis. Ullam omnis dignissimos dolore. Ipsam molestiae similique tempore recusandae libero sint qui. Ut cumque in dolores."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4397ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305f8e657353332210b0000", "id"=>"5305f8e657353332210c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8e657353332210b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3000ms
Completed 200 OK in 7ms (Views: 4.5ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8e657353332210d0000'), "name"=>"Gudrun Feeney", "reference"=>"Fletcher Mraz", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305f8e657353332210e0000'), "author_name"=>"Ayana Kuhn", "content"=>["Est fugit maxime beatae velit aliquid laboriosam deserunt. Eligendi velit a. Deleniti tenetur et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2539ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305f8e657353332210e0000", "product_id"=>"5305f8e657353332210d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8e657353332210d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2761ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8e657353332210d0000'), "comments._id"=>BSON::ObjectId('5305f8e657353332210e0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4161ms
Redirected to http://test.host/products/5305f8e657353332210d0000/comments/5305f8e657353332210e0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6287ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3222ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3635ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2455ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2197ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2680ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264000000'), "firstname"=>"Kadin", "lastname"=>"Pagac"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4843ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1829ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3856ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1959ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264020000'), "firstname"=>"Misael", "lastname"=>"O'Reilly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3203ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f8ea5735333264020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f8ea5735333264020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2558ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 200 OK in 52ms (Views: 50.8ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264030000'), "firstname"=>"Montana", "lastname"=>"Leannon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4497ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 200 OK in 6ms (Views: 5.8ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264040000'), "firstname"=>"Tillman", "lastname"=>"Torphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3252ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305f8ea5735333264040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f8ea5735333264040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3117ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264050000'), "firstname"=>"Carley", "lastname"=>"Lemke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4347ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305f8ea5735333264050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f8ea5735333264050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2375ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264060000'), "name"=>"Allene Wisoky", "reference"=>"Kenya Schinner", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4598ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1841ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264070000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3765ms
Redirected to http://test.host/admin/products/5305f8ea5735333264070000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1937ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264080000'), "name"=>"Al Fay", "reference"=>"Elena Rice", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3668ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2200ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305f8ea5735333264080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8ea5735333264080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2960ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8ea5735333264080000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3496ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2323ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264090000'), "name"=>"Raheem Rolfson", "reference"=>"Junius Bayer", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2557ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305f8ea5735333264090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8ea5735333264090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2682ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 9ms (Views: 7.9ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8ea57353332640a0000'), "name"=>"Sean Yundt", "reference"=>"Chris Smitham", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4097ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3598ms
Completed 200 OK in 8ms (Views: 7.7ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8ea57353332640b0000'), "name"=>"Sammy Hills", "reference"=>"Angeline McLaughlin III", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3712ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 21ms (Views: 5.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8ea57353332640e0000'), "name"=>"Tyson Lang", "reference"=>"Karley Runolfsson IV", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4535ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305f8ea57353332640e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8ea57353332640e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4175ms
Completed 200 OK in 6ms (Views: 4.1ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8ea57353332640f0000'), "name"=>"Marcia Balistreri", "reference"=>"Celine Parisian", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4756ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f8ea57353332640f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8ea57353332640f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3077ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8ea57353332640f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3803ms
Redirected to http://test.host/admin/products/5305f8ea57353332640f0000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264100000'), "firstname"=>"Minerva", "lastname"=>"Price"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4793ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2080ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264110000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3658ms
Redirected to http://test.host/admin/users/5305f8ea5735333264110000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2381ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264120000'), "firstname"=>"Hulda", "lastname"=>"MacGyver"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3511ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2239ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305f8ea5735333264120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f8ea5735333264120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2881ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f8ea5735333264120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4262ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3073ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264130000'), "firstname"=>"Eino", "lastname"=>"Franecki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2475ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305f8ea5735333264130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f8ea5735333264130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2418ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264140000'), "firstname"=>"Augusta", "lastname"=>"Emmerich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3058ms
Completed 200 OK in 7ms (Views: 6.3ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264150000'), "firstname"=>"Kelsi", "lastname"=>"Auer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3397ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.3ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264160000'), "firstname"=>"Kaley", "lastname"=>"Kemmer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4388ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305f8ea5735333264160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f8ea5735333264160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2455ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264170000'), "firstname"=>"Tess", "lastname"=>"Blick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5557ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f8ea5735333264170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f8ea5735333264170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305f8ea5735333264170000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264180000'), "firstname"=>"Joey", "lastname"=>"Rice"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4449ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2208ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4705ms
Redirected to http://test.host/administrator
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2417ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f8ea57353332641a0000'), "firstname"=>"Eudora", "lastname"=>"Kirlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3600ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f8ea57353332641a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f8ea57353332641a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3177ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.2ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f8ea57353332641b0000'), "firstname"=>"Willy", "lastname"=>"Rodriguez"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4603ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f8ea57353332641c0000'), "firstname"=>"Rogers", "lastname"=>"Leannon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4076ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305f8ea57353332641c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f8ea57353332641c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms
Completed 200 OK in 5ms (Views: 3.7ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f8ea57353332641d0000'), "firstname"=>"Karl", "lastname"=>"Pfannerstill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5078ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305f8ea57353332641d0000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f8ea57353332641d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2642ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8ea57353332641e0000'), "name"=>"King Mosciski I", "reference"=>"Cecelia Stracke", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305f8ea57353332641f0000'), "author_name"=>"Kaci Wolf", "content"=>["Corrupti qui dolorum quam corporis. Expedita est quisquam consequatur vero blanditiis quas. Earum nihil nobis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4496ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8ea57353332641e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2068ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f8ea57353332641e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8ea57353332641e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2861ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8ea57353332641e0000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f8ea5735333264200000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3356ms
Redirected to http://test.host/products/5305f8ea57353332641e0000/comments/5305f8ea5735333264200000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8ea57353332641e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2663ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264210000'), "name"=>"Juliet Wilkinson", "reference"=>"Berneice Wehner", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305f8ea5735333264220000'), "author_name"=>"Nasir O'Reilly", "content"=>["Labore voluptate veritatis dicta non. Sint soluta facere. Non incidunt doloremque officiis est."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3581ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8ea5735333264210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1780ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305f8ea5735333264210000", "id"=>"5305f8ea5735333264220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8ea5735333264210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3638ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8ea5735333264210000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f8ea5735333264220000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8502ms
Redirected to http://test.host/products/5305f8ea5735333264210000/comments
Completed 302 Found in 5ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8ea5735333264210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2616ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264230000'), "name"=>"Jerald Erdman", "reference"=>"Murray Lebsack", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305f8ea5735333264240000'), "author_name"=>"Eulalia Pacocha", "content"=>["Et iure provident dignissimos quia a deleniti consequatur. Repudiandae qui reprehenderit ut soluta iure. Id illo ipsa adipisci dolores eius. Aut id enim alias reprehenderit ut."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305f8ea5735333264230000", "id"=>"5305f8ea5735333264240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8ea5735333264230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3358ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.4ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264250000'), "name"=>"Dortha Beer", "reference"=>"Wilton Quigley", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305f8ea5735333264260000'), "author_name"=>"Paul Carter", "content"=>["Fugit voluptatem reiciendis recusandae tempora. Corrupti dolorem voluptatem autem totam quaerat vel. Qui velit repellat ipsam molestias. Aperiam voluptatem iste numquam culpa aliquid ducimus."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4815ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305f8ea5735333264250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8ea5735333264250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3151ms
Completed 200 OK in 6ms (Views: 4.3ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264270000'), "name"=>"Maiya Larson III", "reference"=>"Iliana Hoppe", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305f8ea5735333264280000'), "author_name"=>"Lois Russel", "content"=>["Nobis voluptate illum cupiditate qui numquam. Laudantium unde quam aut. Laboriosam quo omnis corporis. Officia maiores nemo aut."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4770ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305f8ea5735333264270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8ea5735333264270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2763ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.1ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264290000'), "name"=>"Barrett Terry MD", "reference"=>"Daren Altenwerth", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305f8ea57353332642a0000'), "author_name"=>"Mrs. Orlando Hoeger", "content"=>["Ut libero sequi error facere. Eveniet ipsa consequuntur. Veniam odit exercitationem libero quod consequatur saepe ut. Dolores qui facilis ipsam ratione aliquid et harum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4412ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305f8ea5735333264290000", "id"=>"5305f8ea57353332642a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8ea5735333264290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms
Completed 200 OK in 6ms (Views: 3.9ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8ea57353332642b0000'), "name"=>"Franco Runte", "reference"=>"Kenyatta Wuckert PhD", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305f8ea57353332642c0000'), "author_name"=>"Reese Klocko", "content"=>["Alias in voluptatem odio eaque hic. Aut quasi temporibus eveniet et sit. Amet dolorum cumque. Aut vitae quis pariatur iste debitis sed quas. Fugit hic illo et nulla assumenda nostrum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4300ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305f8ea57353332642c0000", "product_id"=>"5305f8ea57353332642b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8ea57353332642b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2751ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8ea57353332642b0000'), "comments._id"=>BSON::ObjectId('5305f8ea57353332642c0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4630ms
Redirected to http://test.host/products/5305f8ea57353332642b0000/comments/5305f8ea57353332642c0000
Completed 302 Found in 4ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f8ea57353332642d0000'), "firstname"=>"Haley", "lastname"=>"Quitzon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5772ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1881ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f8ea57353332642e0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms
Redirected to http://test.host/admin/clients/5305f8ea57353332642e0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2015ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f8ea57353332642f0000'), "firstname"=>"Chadrick", "lastname"=>"Boyle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3072ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2293ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f8ea57353332642f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f8ea57353332642f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3986ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f8ea57353332642f0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3246ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2032ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f8ea5735333264300000'), "firstname"=>"Gabriella", "lastname"=>"Mayert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3004ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f8ea5735333264300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f8ea5735333264300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2908ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.4ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f8eb5735333264310000'), "firstname"=>"Braden", "lastname"=>"Roob"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4520ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3118ms
Completed 200 OK in 8ms (Views: 6.9ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f8eb5735333264320000'), "firstname"=>"Porter", "lastname"=>"Hand"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4357ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.8ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f8eb5735333264330000'), "firstname"=>"Kayli", "lastname"=>"Roberts"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4143ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f8eb5735333264330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f8eb5735333264330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2495ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f8eb5735333264340000'), "firstname"=>"Hudson", "lastname"=>"Olson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4765ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f8eb5735333264340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f8eb5735333264340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2907ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f8eb5735333264340000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3618ms
Redirected to http://test.host/admin/clients/5305f8eb5735333264340000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f8eb5735333264350000'), "firstname"=>"Allison", "lastname"=>"Fritsch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3623ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1598ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f8eb5735333264360000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3419ms
Redirected to http://test.host/clients/5305f8eb5735333264360000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1980ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f8eb5735333264370000'), "firstname"=>"Rickey", "lastname"=>"Bruen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2447ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1775ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f8eb5735333264370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f8eb5735333264370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2475ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f8eb5735333264370000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2566ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1470ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f8eb5735333264380000'), "firstname"=>"Marilou", "lastname"=>"Mills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2465ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f8eb5735333264380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f8eb5735333264380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f8eb5735333264390000'), "firstname"=>"Elvera", "lastname"=>"Schamberger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3976ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3566ms
Completed 200 OK in 42ms (Views: 41.3ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f8eb57353332643a0000'), "firstname"=>"Gladys", "lastname"=>"Mayert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4223ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f8eb57353332643b0000'), "firstname"=>"Maureen", "lastname"=>"Moen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f8eb57353332643b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f8eb57353332643b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2832ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f8eb57353332643c0000'), "firstname"=>"Ashly", "lastname"=>"Kessler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3457ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f8eb57353332643c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f8eb57353332643c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2550ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f8eb57353332643c0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms
Redirected to http://test.host/clients/5305f8eb57353332643c0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8eb57353332643d0000'), "name"=>"Dr. Keagan Wiegand", "reference"=>"Jamie Hagenes", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('5305f8eb57353332643e0000'), "firstname"=>"Jeramie", "lastname"=>"Block"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4684ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"managers", :query=>{}} runtime: 0.3316ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8eb57353332643f0000'), "name"=>"Jessie McClure", "reference"=>"Ashton Koelpin", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('5305f8eb5735333264400000'), "firstname"=>"Armand", "lastname"=>"Erdman"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3674ms
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8eb5735333264410000'), "name"=>"Alexys Feil", "reference"=>"Dr. Felipa Hickle", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305f8eb5735333264420000'), "firstname"=>"Zelda", "lastname"=>"Bahringer"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3532ms
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8eb5735333264430000'), "name"=>"Connie Towne", "reference"=>"Lula Kihn", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('5305f8eb5735333264440000'), "firstname"=>"Mac", "lastname"=>"Veum"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3406ms
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8eb5735333264450000'), "name"=>"Deja Lebsack", "reference"=>"Shirley Bernhard III", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('5305f8eb5735333264460000'), "firstname"=>"Delfina", "lastname"=>"Considine"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4082ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8eb5735333264470000'), "name"=>"Delia Pollich MD", "reference"=>"Romaine Windler", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5992ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2024ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8eb5735333264480000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3603ms
Redirected to http://test.host/products/5305f8eb5735333264480000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1932ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8eb5735333264490000'), "name"=>"Dr. Erna Hamill", "reference"=>"Madilyn Carter", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3871ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1851ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305f8eb5735333264490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8eb5735333264490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8eb5735333264490000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2578ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1923ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8eb57353332644a0000'), "name"=>"Dora Mueller", "reference"=>"Walton Rowe", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3052ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305f8eb57353332644a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8eb57353332644a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3826ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms)
Completed 200 OK in 10ms (Views: 8.5ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8eb57353332644b0000'), "name"=>"Bernardo Moore", "reference"=>"Arlo Hansen", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4314ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5934ms
Completed 200 OK in 50ms (Views: 49.5ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8eb57353332644c0000'), "name"=>"Madisyn Fisher", "reference"=>"Jovani Frami", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4316ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5540ms
Completed 200 OK in 4ms (Views: 1.6ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8eb57353332644d0000'), "name"=>"Alexie Bechtelar II", "reference"=>"Selina Schumm", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3529ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305f8eb57353332644d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8eb57353332644d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2868ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8eb57353332644e0000'), "name"=>"Ewell Osinski", "reference"=>"Brody Sipes", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3050ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 8ms (Views: 6.4ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8eb5735333264500000'), "name"=>"Taryn Runte Jr.", "reference"=>"Linda Moore", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 14.3747ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305f8eb5735333264500000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8eb5735333264500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3404ms
Completed 200 OK in 5ms (Views: 3.7ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8eb5735333264510000'), "name"=>"Riley Vandervort DVM", "reference"=>"Carmine Lind", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4633ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1842ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8eb5735333264520000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3185ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1901ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8eb5735333264530000'), "name"=>"Otho Frami", "reference"=>"Lora Quigley II", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2702ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305f8eb5735333264530000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8eb5735333264530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8eb5735333264530000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2824ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8eb5735333264540000'), "name"=>"Amir Douglas MD", "reference"=>"Owen Marquardt II", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4255ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8eb5735333264560000'), "name"=>"Jocelyn Hansen", "reference"=>"Daphnee Hand", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4293ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f8eb5735333264560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8eb5735333264560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2656ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8eb5735333264560000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3063ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f8eb5735333264570000'), "name"=>"Dr. Cristopher Champlin", "reference"=>"Bart Collins", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2778ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f8eb5735333264570000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8eb5735333264570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2635ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f8eb5735333264570000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms
Redirected to http://test.host/products/5305f8eb5735333264570000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f8eb5735333264580000'), "firstname"=>"Lou", "lastname"=>"Schultz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1830ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f8eb5735333264590000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3829ms
Redirected to http://test.host/users/5305f8eb5735333264590000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2942ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f8eb57353332645a0000'), "firstname"=>"Reed", "lastname"=>"Kirlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4272ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1625ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305f8eb57353332645a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f8eb57353332645a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2816ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f8eb57353332645a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2652ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1866ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f8eb57353332645b0000'), "firstname"=>"Neva", "lastname"=>"Russel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2412ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305f8eb57353332645b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f8eb57353332645b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2718ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.9ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f8eb57353332645c0000'), "firstname"=>"Otho", "lastname"=>"Macejkovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4387ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3245ms
Completed 200 OK in 11ms (Views: 10.3ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f8eb57353332645d0000'), "firstname"=>"Cleora", "lastname"=>"Monahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3881ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f8eb57353332645e0000'), "firstname"=>"Garret", "lastname"=>"Daugherty"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4176ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305f8eb57353332645e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f8eb57353332645e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2758ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f8eb57353332645f0000'), "firstname"=>"Joey", "lastname"=>"Weimann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 10.9268ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f8eb57353332645f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f8eb57353332645f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3777ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305f8eb57353332645f0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6122ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4074ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4471ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3532ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3500ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3163ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f000000'), "firstname"=>"Samantha", "lastname"=>"Gulgowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4778ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1796ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3723ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1979ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f020000'), "firstname"=>"Amaya", "lastname"=>"Lowe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3029ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f92e573533328f020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f92e573533328f020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms)
Completed 200 OK in 52ms (Views: 50.5ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f030000'), "firstname"=>"Bo", "lastname"=>"Durgan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5177ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 6ms (Views: 5.8ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f040000'), "firstname"=>"Josue", "lastname"=>"Marvin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4237ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305f92e573533328f040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f92e573533328f040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2410ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f050000'), "firstname"=>"Malcolm", "lastname"=>"Hilpert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305f92e573533328f050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f92e573533328f050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f060000'), "name"=>"Pink Stehr", "reference"=>"Isaias Streich III", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4698ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1830ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f070000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0909ms
Redirected to http://test.host/admin/products/5305f92e573533328f070000
Completed 302 Found in 8ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2690ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f080000'), "name"=>"Britney Kirlin", "reference"=>"Dillon Kunde", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3721ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2219ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305f92e573533328f080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92e573533328f080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2949ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92e573533328f080000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3428ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2311ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f090000'), "name"=>"Elmer Luettgen", "reference"=>"Phyllis Gerhold", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2571ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305f92e573533328f090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92e573533328f090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2667ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 9ms (Views: 7.9ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f0a0000'), "name"=>"Madeline Abernathy", "reference"=>"Myra Price IV", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 27.5069ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3605ms
Completed 200 OK in 8ms (Views: 7.4ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f0b0000'), "name"=>"Katlynn Waters", "reference"=>"Tierra Lubowitz", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3719ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 20ms (Views: 5.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f0e0000'), "name"=>"Lourdes Auer", "reference"=>"Nia Nienow", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4176ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305f92e573533328f0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92e573533328f0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3194ms
Completed 200 OK in 6ms (Views: 4.2ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f0f0000'), "name"=>"Natalie Towne", "reference"=>"Willis Bernier", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4724ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f92e573533328f0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92e573533328f0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2790ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92e573533328f0f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3444ms
Redirected to http://test.host/admin/products/5305f92e573533328f0f0000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f100000'), "firstname"=>"Zoe", "lastname"=>"Kautzer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5033ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1818ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f110000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3640ms
Redirected to http://test.host/admin/users/5305f92e573533328f110000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2317ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f120000'), "firstname"=>"Britney", "lastname"=>"Windler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3422ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2176ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305f92e573533328f120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f92e573533328f120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3350ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f92e573533328f120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3382ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3686ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f130000'), "firstname"=>"Lisandro", "lastname"=>"Hirthe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4267ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305f92e573533328f130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f92e573533328f130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f140000'), "firstname"=>"Ona", "lastname"=>"Mertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4233ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3056ms
Completed 200 OK in 7ms (Views: 6.3ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f150000'), "firstname"=>"Jasmin", "lastname"=>"Leuschke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3370ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 5.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f160000'), "firstname"=>"Kimberly", "lastname"=>"Huel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4674ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305f92e573533328f160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f92e573533328f160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f170000'), "firstname"=>"Ewell", "lastname"=>"Bauch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3843ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f92e573533328f170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f92e573533328f170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2431ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305f92e573533328f170000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f180000'), "firstname"=>"Louie", "lastname"=>"Considine"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1753ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4565ms
Redirected to http://test.host/administrator
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1964ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f1a0000'), "firstname"=>"Candelario", "lastname"=>"Wyman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3142ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f92e573533328f1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f92e573533328f1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3125ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.9ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f1b0000'), "firstname"=>"Cristian", "lastname"=>"Nolan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4234ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f1c0000'), "firstname"=>"Lon", "lastname"=>"Littel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4026ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305f92e573533328f1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f92e573533328f1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2415ms
Completed 200 OK in 5ms (Views: 3.5ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f1d0000'), "firstname"=>"Garrett", "lastname"=>"Dare"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305f92e573533328f1d0000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f92e573533328f1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2444ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f1e0000'), "name"=>"Brody Lehner", "reference"=>"Orin Ankunding", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305f92e573533328f1f0000'), "author_name"=>"Malachi Senger", "content"=>["Et iure ut tempore non non asperiores quos. Ullam reprehenderit voluptatem aperiam est beatae fugiat. Iste omnis fuga quod deserunt. Omnis modi eaque ex."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4473ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92e573533328f1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2085ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f92e573533328f1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92e573533328f1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92e573533328f1e0000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f92e573533328f200000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3458ms
Redirected to http://test.host/products/5305f92e573533328f1e0000/comments/5305f92e573533328f200000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92e573533328f1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2934ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f210000'), "name"=>"Gerard Heathcote", "reference"=>"Brando Grimes", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305f92e573533328f220000'), "author_name"=>"Leatha Reichel", "content"=>["Distinctio iusto corporis quis accusamus dolorem sapiente. Accusantium laudantium quam sequi. Impedit ea quisquam voluptatem minima autem laudantium. Nisi fugiat in id harum ullam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3542ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92e573533328f210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1971ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305f92e573533328f210000", "id"=>"5305f92e573533328f220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92e573533328f210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92e573533328f210000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f92e573533328f220000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3352ms
Redirected to http://test.host/products/5305f92e573533328f210000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92e573533328f210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1985ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f230000'), "name"=>"Norbert Beatty", "reference"=>"Philip Little", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305f92e573533328f240000'), "author_name"=>"Jeanne Hahn", "content"=>["Temporibus quia molestiae. Repellat illum qui est. Eligendi repellat vel delectus dolorum. Labore consequuntur ut esse animi error qui."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3548ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305f92e573533328f230000", "id"=>"5305f92e573533328f240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92e573533328f230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4043ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 10ms (Views: 7.5ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f250000'), "name"=>"Linnea Goyette", "reference"=>"Carrie Nolan III", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305f92e573533328f260000'), "author_name"=>"Cydney Brown", "content"=>["Ut quisquam magnam nesciunt. Nesciunt sunt dolorem aliquam sit veniam et. Dolor praesentium consequatur nesciunt accusamus."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4435ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305f92e573533328f250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92e573533328f250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2621ms
Completed 200 OK in 6ms (Views: 4.3ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f270000'), "name"=>"Vincenza Cruickshank", "reference"=>"Mayra Monahan", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305f92e573533328f280000'), "author_name"=>"Fletcher Armstrong", "content"=>["Perspiciatis molestiae reiciendis in ratione. Optio qui quia recusandae. Est cumque ut amet temporibus et. Labore incidunt qui et molestias et odio voluptas."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4344ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305f92e573533328f270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92e573533328f270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.5ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f290000'), "name"=>"Mrs. Brandy Howe", "reference"=>"Lura Parker", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305f92e573533328f2a0000'), "author_name"=>"Derrick Bode", "content"=>["Eum natus quia omnis atque deleniti occaecati. Possimus quos consectetur enim vel. Eos amet et eligendi provident et vel. In perferendis minima unde recusandae quos. Hic velit dolores rerum et enim."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4612ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305f92e573533328f290000", "id"=>"5305f92e573533328f2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92e573533328f290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2595ms
Completed 200 OK in 6ms (Views: 3.8ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92e573533328f2b0000'), "name"=>"Mrs. Willy Sporer", "reference"=>"Aleen Koch", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305f92e573533328f2c0000'), "author_name"=>"Krystal Frami", "content"=>["Excepturi hic ea dicta ipsum ut molestias quasi. Repellat dolorem dolor molestias est porro. Cum reprehenderit quis asperiores. Possimus quam hic omnis. Dicta voluptatibus nihil."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4464ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305f92e573533328f2c0000", "product_id"=>"5305f92e573533328f2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92e573533328f2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2397ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92e573533328f2b0000'), "comments._id"=>BSON::ObjectId('5305f92e573533328f2c0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4451ms
Redirected to http://test.host/products/5305f92e573533328f2b0000/comments/5305f92e573533328f2c0000
Completed 302 Found in 4ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f2d0000'), "firstname"=>"Niko", "lastname"=>"Padberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5163ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2324ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f2e0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3971ms
Redirected to http://test.host/admin/clients/5305f92f573533328f2e0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2439ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f2f0000'), "firstname"=>"Dena", "lastname"=>"Hoeger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3578ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2222ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f92f573533328f2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f92f573533328f2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3064ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f92f573533328f2f0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3464ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2313ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f300000'), "firstname"=>"Edwardo", "lastname"=>"Grant"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2945ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f92f573533328f300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f92f573533328f300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2989ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.4ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f310000'), "firstname"=>"Ernesto", "lastname"=>"Rutherford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4503ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3728ms
Completed 200 OK in 9ms (Views: 7.7ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f320000'), "firstname"=>"Aditya", "lastname"=>"Heaney"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5201ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f330000'), "firstname"=>"Shea", "lastname"=>"Bergnaum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4088ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f92f573533328f330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f92f573533328f330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2412ms
Completed 200 OK in 6ms (Views: 5.0ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f340000'), "firstname"=>"Jesse", "lastname"=>"Hirthe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4431ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f92f573533328f340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f92f573533328f340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f92f573533328f340000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2944ms
Redirected to http://test.host/admin/clients/5305f92f573533328f340000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f350000'), "firstname"=>"Alejandrin", "lastname"=>"Hilll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2693ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1750ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f360000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2920ms
Redirected to http://test.host/clients/5305f92f573533328f360000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1848ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f370000'), "firstname"=>"Braulio", "lastname"=>"Dibbert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2295ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1701ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f92f573533328f370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f92f573533328f370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2377ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f92f573533328f370000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2563ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1835ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f380000'), "firstname"=>"Florence", "lastname"=>"Hodkiewicz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2394ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f92f573533328f380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f92f573533328f380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2424ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f390000'), "firstname"=>"Cleta", "lastname"=>"Abernathy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4203ms
Completed 200 OK in 43ms (Views: 42.0ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f3a0000'), "firstname"=>"Obie", "lastname"=>"Predovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4418ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f3b0000'), "firstname"=>"Yasmin", "lastname"=>"Green"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0260ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f92f573533328f3b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f92f573533328f3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3179ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f3c0000'), "firstname"=>"Estel", "lastname"=>"Lockman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3430ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f92f573533328f3c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f92f573533328f3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2759ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f92f573533328f3c0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2607ms
Redirected to http://test.host/clients/5305f92f573533328f3c0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f3d0000'), "name"=>"Werner Price", "reference"=>"Augustus Zulauf", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5305f92f573533328f3e0000'), "firstname"=>"Glenda", "lastname"=>"Grady"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4324ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"managers", :query=>{}} runtime: 0.3316ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5305f92f573533328f3d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92f573533328f3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2689ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92f573533328f3d0000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3262ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92f573533328f3d0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5305f92f573533328f3f0000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2381ms
Redirected to http://test.host/products/5305f92f573533328f3d0000/manager
Completed 302 Found in 5ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"managers", :query=>{}} runtime: 0.2539ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f400000'), "name"=>"Okey Boyle", "reference"=>"Edison Ferry", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('5305f92f573533328f410000'), "firstname"=>"Ernestine", "lastname"=>"Kertzmann"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5022ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"5305f92f573533328f410000", "product_id"=>"5305f92f573533328f400000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92f573533328f400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2779ms
Completed 500 Internal Server Error in 2ms
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f420000'), "name"=>"Delbert Waters", "reference"=>"Emory Lubowitz", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305f92f573533328f430000'), "firstname"=>"Marcelino", "lastname"=>"Herzog"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"5305f92f573533328f420000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92f573533328f420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4028ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 10ms (Views: 7.5ms)
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f440000'), "name"=>"Adrian Fisher", "reference"=>"Mr. Michale O'Hara", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305f92f573533328f450000'), "firstname"=>"Ivah", "lastname"=>"Hickle"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4289ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"5305f92f573533328f450000", "product_id"=>"5305f92f573533328f440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92f573533328f440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2564ms
Completed 500 Internal Server Error in 2ms
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f460000'), "name"=>"Kelly Kshlerin", "reference"=>"Alex Kub II", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5305f92f573533328f470000'), "firstname"=>"Stefanie", "lastname"=>"Gulgowski"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3312ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"5305f92f573533328f470000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5305f92f573533328f460000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92f573533328f460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms
Completed 500 Internal Server Error in 2ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f480000'), "name"=>"Florine Buckridge", "reference"=>"Ransom King", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3986ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1687ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f490000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4306ms
Redirected to http://test.host/products/5305f92f573533328f490000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1761ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f4a0000'), "name"=>"Adrian Armstrong", "reference"=>"Lenna Kertzmann", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3041ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1538ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305f92f573533328f4a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92f573533328f4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2369ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92f573533328f4a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2578ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1701ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f4b0000'), "name"=>"Winnifred Schroeder", "reference"=>"Caitlyn Lebsack", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1447ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305f92f573533328f4b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92f573533328f4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2734ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (39.1ms)
Completed 200 OK in 45ms (Views: 43.8ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f4c0000'), "name"=>"Kristopher Schaden Sr.", "reference"=>"Angelica Homenick", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4888ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6372ms
Completed 200 OK in 17ms (Views: 16.9ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f4d0000'), "name"=>"Mrs. Werner Lehner", "reference"=>"Mr. Josie Greenfelder", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3795ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5369ms
Completed 200 OK in 4ms (Views: 1.5ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f4e0000'), "name"=>"Joseph Powlowski", "reference"=>"Tamia Morar DVM", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4179ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305f92f573533328f4e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92f573533328f4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2634ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f4f0000'), "name"=>"Malika Schoen", "reference"=>"Miss Adriana Flatley", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2964ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 7ms (Views: 6.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f510000'), "name"=>"Diamond Balistreri", "reference"=>"Forrest Schroeder", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4111ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305f92f573533328f510000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92f573533328f510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2465ms
Completed 200 OK in 5ms (Views: 3.6ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f520000'), "name"=>"Jaycee Lang", "reference"=>"Samara Corkery", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.7392ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2176ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f530000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3263ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2261ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f540000'), "name"=>"Janie Shanahan", "reference"=>"Ms. Lilyan Rippin", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2859ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305f92f573533328f540000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92f573533328f540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2985ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92f573533328f540000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3027ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f550000'), "name"=>"Gayle Breitenberg", "reference"=>"Casey Jast II", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2954ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f570000'), "name"=>"Audreanne Carter", "reference"=>"Kaleb Gutmann", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3852ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f92f573533328f570000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92f573533328f570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92f573533328f570000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2866ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f580000'), "name"=>"Hilario Orn", "reference"=>"Heber Watsica PhD", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2676ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f92f573533328f580000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92f573533328f580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3208ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f92f573533328f580000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms
Redirected to http://test.host/products/5305f92f573533328f580000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f590000'), "firstname"=>"Martina", "lastname"=>"Bins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4327ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1767ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f5a0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3117ms
Redirected to http://test.host/users/5305f92f573533328f5a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1847ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f5b0000'), "firstname"=>"Ryann", "lastname"=>"Kassulke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2985ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1741ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305f92f573533328f5b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f92f573533328f5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2429ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f92f573533328f5b0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2585ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1785ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f5c0000'), "firstname"=>"Crawford", "lastname"=>"Rolfson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2378ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305f92f573533328f5c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f92f573533328f5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2425ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.8ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f5d0000'), "firstname"=>"Cordell", "lastname"=>"Yost"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4718ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4112ms
Completed 200 OK in 11ms (Views: 10.2ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f5e0000'), "firstname"=>"Kariane", "lastname"=>"Schmidt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3593ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 39ms (Views: 38.5ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f5f0000'), "firstname"=>"Karina", "lastname"=>"Schmeler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4754ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305f92f573533328f5f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f92f573533328f5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2662ms
Completed 200 OK in 6ms (Views: 4.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f92f573533328f600000'), "firstname"=>"Edmond", "lastname"=>"Adams"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4840ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f92f573533328f600000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f92f573533328f600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2799ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305f92f573533328f600000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6511ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3566ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4336ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3213ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3163ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2875ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f98257353332be000000'), "firstname"=>"Elias", "lastname"=>"Ullrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4585ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1614ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f98257353332be010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3638ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1767ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f98257353332be020000'), "firstname"=>"America", "lastname"=>"Borer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2961ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f98257353332be020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f98257353332be020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2326ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 200 OK in 52ms (Views: 50.8ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f98257353332be030000'), "firstname"=>"Palma", "lastname"=>"Senger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4383ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 6ms (Views: 5.6ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f98257353332be040000'), "firstname"=>"Victoria", "lastname"=>"Daniel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3947ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305f98257353332be040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f98257353332be040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f98257353332be050000'), "firstname"=>"Celestine", "lastname"=>"Stroman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305f98257353332be050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f98257353332be050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2586ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98257353332be060000'), "name"=>"Ryann Brekke", "reference"=>"Andre Walsh", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4381ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1836ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98257353332be070000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3531ms
Redirected to http://test.host/admin/products/5305f98257353332be070000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1952ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98257353332be080000'), "name"=>"Bobby Parker", "reference"=>"Ferne Raynor", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3151ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1774ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305f98257353332be080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98257353332be080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2496ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98257353332be080000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2911ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1896ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be090000'), "name"=>"Randall Crist", "reference"=>"Jensen Kuhn Sr.", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2563ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305f98357353332be090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2287ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 9ms (Views: 7.8ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be0a0000'), "name"=>"Velda Schiller I", "reference"=>"Franco King V", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0991ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3605ms
Completed 200 OK in 8ms (Views: 7.6ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be0b0000'), "name"=>"Maynard Hayes", "reference"=>"Hillary Quigley", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3645ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 21ms (Views: 5.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be0e0000'), "name"=>"Kariane Schumm", "reference"=>"Miss Raphael Wisozk", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4189ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305f98357353332be0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3569ms
Completed 200 OK in 6ms (Views: 3.9ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be0f0000'), "name"=>"Allene Larkin II", "reference"=>"Travon Schowalter", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3886ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f98357353332be0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2628ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be0f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3295ms
Redirected to http://test.host/admin/products/5305f98357353332be0f0000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f98357353332be100000'), "firstname"=>"Sylvan", "lastname"=>"Casper"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1827ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f98357353332be110000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3217ms
Redirected to http://test.host/admin/users/5305f98357353332be110000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1929ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f98357353332be120000'), "firstname"=>"Otis", "lastname"=>"Donnelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3017ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1732ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305f98357353332be120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f98357353332be120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3193ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f98357353332be120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4629ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2922ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f98357353332be130000'), "firstname"=>"Lavina", "lastname"=>"Hintz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2486ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305f98357353332be130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f98357353332be130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2441ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f98357353332be140000'), "firstname"=>"Tamia", "lastname"=>"Sporer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3887ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2993ms
Completed 200 OK in 7ms (Views: 6.3ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f98357353332be150000'), "firstname"=>"Pat", "lastname"=>"Bernier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3266ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f98357353332be160000'), "firstname"=>"Josue", "lastname"=>"Pagac"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 13.6646ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305f98357353332be160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f98357353332be160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3006ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f98357353332be170000'), "firstname"=>"Ariane", "lastname"=>"Schuster"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4358ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f98357353332be170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f98357353332be170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305f98357353332be170000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f98357353332be180000'), "firstname"=>"Floy", "lastname"=>"Murray"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4459ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1799ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f98357353332be190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4411ms
Redirected to http://test.host/administrator
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2492ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f98357353332be1a0000'), "firstname"=>"Craig", "lastname"=>"Volkman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3681ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f98357353332be1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f98357353332be1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3171ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.2ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f98357353332be1b0000'), "firstname"=>"Kian", "lastname"=>"O'Keefe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4143ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.3ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f98357353332be1c0000'), "firstname"=>"Matilda", "lastname"=>"Nicolas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4679ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305f98357353332be1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f98357353332be1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2578ms
Completed 200 OK in 5ms (Views: 3.7ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f98357353332be1d0000'), "firstname"=>"Ottilie", "lastname"=>"Bergstrom"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305f98357353332be1d0000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f98357353332be1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be1e0000'), "name"=>"Gwendolyn Towne", "reference"=>"Gage Olson", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305f98357353332be1f0000'), "author_name"=>"Orlando Cummerata I", "content"=>["Aut ut velit ullam sint. Omnis rerum enim. Libero quaerat vero neque illo cum perferendis nam. Et quibusdam voluptate."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4504ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2135ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f98357353332be1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3035ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be1e0000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f98357353332be200000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3527ms
Redirected to http://test.host/products/5305f98357353332be1e0000/comments/5305f98357353332be200000
Completed 302 Found in 8ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3144ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be210000'), "name"=>"Mrs. Jayda Lebsack", "reference"=>"June McKenzie", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305f98357353332be220000'), "author_name"=>"Sibyl Kilback I", "content"=>["Error deleniti nihil facilis laboriosam odio magni. Sed quaerat cupiditate accusantium optio. Qui id voluptatem laboriosam numquam architecto. Esse quo aspernatur atque reiciendis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4758ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2424ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305f98357353332be210000", "id"=>"5305f98357353332be220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3035ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be210000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f98357353332be220000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3579ms
Redirected to http://test.host/products/5305f98357353332be210000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1697ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be230000'), "name"=>"Daisy Schinner", "reference"=>"Ines Bartell", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305f98357353332be240000'), "author_name"=>"Anibal Buckridge", "content"=>["Suscipit aspernatur laborum consectetur. Et dolores est consequatur eos quia optio. Quidem et quis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3133ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305f98357353332be230000", "id"=>"5305f98357353332be240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.5ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be250000'), "name"=>"Maxie Rippin", "reference"=>"Jaydon Rempel", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305f98357353332be260000'), "author_name"=>"Dr. Kaci Nitzsche", "content"=>["Corrupti dicta natus. Nihil consequatur necessitatibus quas tempore. Est maiores optio minima qui voluptates dolorem. Et officia optio. Aut nihil neque qui cum dolore ut sint."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4722ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305f98357353332be250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms
Completed 200 OK in 6ms (Views: 4.3ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be270000'), "name"=>"Brandt Stamm", "reference"=>"Ludie Gislason", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305f98357353332be280000'), "author_name"=>"Gerry Turcotte", "content"=>["Rerum ut enim nostrum quae et. Quod ut harum sapiente enim autem. Nulla reprehenderit occaecati beatae aperiam. Eligendi iusto dolores tempore voluptas. Et rerum consequuntur illo."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4244ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305f98357353332be270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be290000'), "name"=>"Meaghan Moore", "reference"=>"Leanne Terry", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305f98357353332be2a0000'), "author_name"=>"Cielo Bahringer IV", "content"=>["Quisquam harum repudiandae. Et ipsa tenetur ea facere. Aliquam tempora sed eos debitis aut. Suscipit omnis voluptatum eos. Quo amet sequi."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4284ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305f98357353332be290000", "id"=>"5305f98357353332be2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3144ms
Completed 200 OK in 6ms (Views: 4.3ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be2b0000'), "name"=>"Margarita Keebler", "reference"=>"Norval Goyette Jr.", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305f98357353332be2c0000'), "author_name"=>"Gabriel Gutkowski", "content"=>["Possimus quia consequuntur. Nobis qui eos voluptatem. Dolore labore culpa est sed et excepturi suscipit. Ut vero id labore ut non. Et est error accusamus."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4306ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305f98357353332be2c0000", "product_id"=>"5305f98357353332be2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be2b0000'), "comments._id"=>BSON::ObjectId('5305f98357353332be2c0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4590ms
Redirected to http://test.host/products/5305f98357353332be2b0000/comments/5305f98357353332be2c0000
Completed 302 Found in 4ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f98357353332be2d0000'), "firstname"=>"Josie", "lastname"=>"Paucek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4676ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1859ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f98357353332be2e0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3736ms
Redirected to http://test.host/admin/clients/5305f98357353332be2e0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2202ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f98357353332be2f0000'), "firstname"=>"Taurean", "lastname"=>"Maggio"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3079ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1745ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f98357353332be2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f98357353332be2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2486ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f98357353332be2f0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2971ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1892ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f98357353332be300000'), "firstname"=>"Vaughn", "lastname"=>"Jerde"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f98357353332be300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f98357353332be300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2432ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f98357353332be310000'), "firstname"=>"Ottis", "lastname"=>"Conn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4170ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3325ms
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f98357353332be320000'), "firstname"=>"Rachel", "lastname"=>"Hand"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4320ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f98357353332be330000'), "firstname"=>"Natalie", "lastname"=>"Lebsack"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3987ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f98357353332be330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f98357353332be330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2445ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f98357353332be340000'), "firstname"=>"Demetris", "lastname"=>"Mitchell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4109ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f98357353332be340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f98357353332be340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3819ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f98357353332be340000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3315ms
Redirected to http://test.host/admin/clients/5305f98357353332be340000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f98357353332be350000'), "firstname"=>"Harley", "lastname"=>"Hessel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2701ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1757ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f98357353332be360000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3026ms
Redirected to http://test.host/clients/5305f98357353332be360000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1834ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f98357353332be370000'), "firstname"=>"Ernestine", "lastname"=>"Ortiz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2274ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1668ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f98357353332be370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f98357353332be370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2368ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f98357353332be370000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2497ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1792ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f98357353332be380000'), "firstname"=>"Roselyn", "lastname"=>"Bosco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2430ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f98357353332be380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f98357353332be380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2403ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f98357353332be390000'), "firstname"=>"Milo", "lastname"=>"Borer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0479ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4168ms
Completed 200 OK in 42ms (Views: 41.5ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f98357353332be3a0000'), "firstname"=>"Marcus", "lastname"=>"Goodwin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4659ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f98357353332be3b0000'), "firstname"=>"Caterina", "lastname"=>"Schoen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4253ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f98357353332be3b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f98357353332be3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2761ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f98357353332be3c0000'), "firstname"=>"Annetta", "lastname"=>"Volkman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3439ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f98357353332be3c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f98357353332be3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f98357353332be3c0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3240ms
Redirected to http://test.host/clients/5305f98357353332be3c0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be3d0000'), "name"=>"Marty Boyle", "reference"=>"Cielo Hartmann", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5305f98357353332be3e0000'), "firstname"=>"Jedediah", "lastname"=>"Rowe"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4820ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"managers", :query=>{}} runtime: 0.3515ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5305f98357353332be3d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2756ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be3d0000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be3d0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5305f98357353332be3f0000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2361ms
Redirected to http://test.host/products/5305f98357353332be3d0000/manager
Completed 302 Found in 5ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"managers", :query=>{}} runtime: 0.2685ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be400000'), "name"=>"Antonina Harvey", "reference"=>"Una Stokes DVM", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305f98357353332be410000'), "firstname"=>"Hank", "lastname"=>"Frami"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5291ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"5305f98357353332be410000", "product_id"=>"5305f98357353332be400000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2934ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 7.9ms)
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be420000'), "name"=>"Gertrude Parker", "reference"=>"Chester Lesch", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('5305f98357353332be430000'), "firstname"=>"Lucas", "lastname"=>"Kshlerin"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4339ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"5305f98357353332be420000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be440000'), "name"=>"Jamel Tromp", "reference"=>"Johnnie Hermann", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5305f98357353332be450000'), "firstname"=>"Nickolas", "lastname"=>"Swaniawski"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5212ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"5305f98357353332be450000", "product_id"=>"5305f98357353332be440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3507ms
Completed 200 OK in 6ms (Views: 3.8ms)
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be460000'), "name"=>"Arlene O'Conner", "reference"=>"Lizzie Keebler", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5305f98357353332be470000'), "firstname"=>"Pauline", "lastname"=>"Gaylord"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4330ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"5305f98357353332be470000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5305f98357353332be460000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2728ms
Unpermitted parameters: name
Redirected to http://test.host/products/5305f98357353332be460000/manager
Completed 302 Found in 3ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be480000'), "name"=>"Colin Yundt", "reference"=>"Adeline Bahringer", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4184ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1786ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be490000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3423ms
Redirected to http://test.host/products/5305f98357353332be490000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1945ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be4a0000'), "name"=>"Laverna Tremblay", "reference"=>"Grant Ondricka", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4243ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3120ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305f98357353332be4a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3431ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be4a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2692ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2064ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be4b0000'), "name"=>"Cary Deckow", "reference"=>"Nikko Ratke", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1733ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305f98357353332be4b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2915ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms)
Completed 200 OK in 10ms (Views: 8.4ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be4c0000'), "name"=>"Ursula D'Amore DVM", "reference"=>"Mr. Holly Stokes", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5203ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5844ms
Completed 200 OK in 17ms (Views: 16.5ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be4d0000'), "name"=>"Mrs. Anastasia O'Reilly", "reference"=>"Paris Weissnat", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3853ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5259ms
Completed 200 OK in 4ms (Views: 1.4ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be4e0000'), "name"=>"Ms. Monte Oberbrunner", "reference"=>"Jeanne Goodwin", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305f98357353332be4e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3419ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be4f0000'), "name"=>"Norwood Paucek", "reference"=>"Chloe Jerde", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2851ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 7ms (Views: 6.1ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be510000'), "name"=>"Lonie Huels PhD", "reference"=>"Mrs. Jerry Muller", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3939ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305f98357353332be510000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2295ms
Completed 200 OK in 5ms (Views: 3.6ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be520000'), "name"=>"Dr. Bernadette Schmitt", "reference"=>"Rosie Corwin", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3751ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1596ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be530000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3144ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1928ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be540000'), "name"=>"Roberto Schmitt", "reference"=>"Lindsay Wiza V", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2797ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305f98357353332be540000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3454ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be540000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2553ms
Completed 200 OK in 3ms (Views: 0.2ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be550000'), "name"=>"Caitlyn Paucek", "reference"=>"Edward Renner", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2578ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be570000'), "name"=>"Adrain Bednar", "reference"=>"Camilla Johnson", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3487ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f98357353332be570000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2356ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be570000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2691ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f98357353332be580000'), "name"=>"Althea Blanda DVM", "reference"=>"Alfonzo Kilback", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2461ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f98357353332be580000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2310ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f98357353332be580000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2620ms
Redirected to http://test.host/products/5305f98357353332be580000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f98357353332be590000'), "firstname"=>"Meaghan", "lastname"=>"Sawayn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3930ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2154ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f98357353332be5a0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1312ms
Redirected to http://test.host/users/5305f98357353332be5a0000
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2385ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f98357353332be5b0000'), "firstname"=>"Soledad", "lastname"=>"Sporer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3770ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2206ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305f98357353332be5b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f98357353332be5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2971ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f98357353332be5b0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3164ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2294ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f98357353332be5c0000'), "firstname"=>"Koby", "lastname"=>"Steuber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2921ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305f98357353332be5c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f98357353332be5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2583ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f98357353332be5d0000'), "firstname"=>"Burnice", "lastname"=>"Senger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4035ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4312ms
Completed 200 OK in 45ms (Views: 44.2ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f98357353332be5e0000'), "firstname"=>"Verla", "lastname"=>"Weimann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4736ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f98357353332be5f0000'), "firstname"=>"Augustus", "lastname"=>"Kshlerin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4487ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305f98357353332be5f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f98357353332be5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2783ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f98357353332be600000'), "firstname"=>"Salvatore", "lastname"=>"Davis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3936ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f98357353332be600000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f98357353332be600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305f98357353332be600000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6129ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2981ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3765ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2525ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2452ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2340ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f9be57353332eb000000'), "firstname"=>"Natasha", "lastname"=>"Welch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4655ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1626ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3648ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1768ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb020000'), "firstname"=>"Hector", "lastname"=>"Wyman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f9bf57353332eb020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2400ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.8ms)
Completed 200 OK in 51ms (Views: 50.2ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb030000'), "firstname"=>"Lue", "lastname"=>"Dare"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 6ms (Views: 5.8ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb040000'), "firstname"=>"Earnestine", "lastname"=>"Funk"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4133ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305f9bf57353332eb040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2315ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb050000'), "firstname"=>"Amie", "lastname"=>"Hansen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3785ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305f9bf57353332eb050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2441ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb060000'), "name"=>"Xander Eichmann", "reference"=>"Celia Herman PhD", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4311ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1656ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb070000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3421ms
Redirected to http://test.host/admin/products/5305f9bf57353332eb070000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1741ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb080000'), "name"=>"Mr. Marlon Fisher", "reference"=>"Rosalia McGlynn", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3341ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1597ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305f9bf57353332eb080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3527ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb080000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2950ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1754ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb090000'), "name"=>"Julianne Waelchi", "reference"=>"Laron Frami", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2426ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305f9bf57353332eb090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2915ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 9ms (Views: 7.8ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb0a0000'), "name"=>"Chasity Ryan", "reference"=>"Dr. Georgiana Kub", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5124ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3566ms
Completed 200 OK in 8ms (Views: 7.6ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb0b0000'), "name"=>"Percival Hartmann", "reference"=>"Jerome Anderson", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3681ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 20ms (Views: 5.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb0e0000'), "name"=>"Kylee Kihn Sr.", "reference"=>"Ubaldo Nolan Sr.", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4142ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305f9bf57353332eb0e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb0e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2514ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb0f0000'), "name"=>"Rachael Keeling", "reference"=>"Dr. Orpha Hudson", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f9bf57353332eb0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4227ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb0f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4027ms
Redirected to http://test.host/admin/products/5305f9bf57353332eb0f0000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb100000'), "firstname"=>"Shanon", "lastname"=>"Moen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4400ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1821ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb110000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3312ms
Redirected to http://test.host/admin/users/5305f9bf57353332eb110000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1906ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb120000'), "firstname"=>"Sibyl", "lastname"=>"Price"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3417ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2199ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305f9bf57353332eb120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2861ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3387ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2298ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb130000'), "firstname"=>"Adan", "lastname"=>"Considine"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2950ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305f9bf57353332eb130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2691ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 9ms (Views: 8.0ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb140000'), "firstname"=>"Virgil", "lastname"=>"Berge"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms
Completed 200 OK in 7ms (Views: 6.4ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb150000'), "firstname"=>"Brian", "lastname"=>"Fadel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3182ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb160000'), "firstname"=>"Jaylen", "lastname"=>"Towne"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3752ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305f9bf57353332eb160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2088ms
Completed 200 OK in 5ms (Views: 3.8ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb170000'), "firstname"=>"Van", "lastname"=>"Larson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4642ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f9bf57353332eb170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305f9bf57353332eb170000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb180000'), "firstname"=>"Bria", "lastname"=>"Littel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1794ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4244ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1984ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb1a0000'), "firstname"=>"Ford", "lastname"=>"Williamson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3145ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f9bf57353332eb1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2662ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.2ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb1b0000'), "firstname"=>"Sylvan", "lastname"=>"Sporer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4544ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.2ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb1c0000'), "firstname"=>"Cordia", "lastname"=>"Connelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4160ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305f9bf57353332eb1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms
Completed 200 OK in 5ms (Views: 3.5ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb1d0000'), "firstname"=>"Lauren", "lastname"=>"Ortiz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.4653ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305f9bf57353332eb1d0000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb1e0000'), "name"=>"Raegan Ruecker", "reference"=>"Daisha Ward PhD", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305f9bf57353332eb1f0000'), "author_name"=>"Helen Morissette", "content"=>["Incidunt consequatur nemo dolorem sint sequi. Eum eaque non natus minima. Voluptas dolorem sit reiciendis nihil unde."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5060ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2171ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f9bf57353332eb1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2944ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb1e0000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f9bf57353332eb200000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3422ms
Redirected to http://test.host/products/5305f9bf57353332eb1e0000/comments/5305f9bf57353332eb200000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2674ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb210000'), "name"=>"Dee Rodriguez", "reference"=>"Maria Gerlach", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305f9bf57353332eb220000'), "author_name"=>"Kelli Blick", "content"=>["Earum qui veritatis eveniet suscipit maiores ipsam. Consectetur ipsum voluptatem. Et animi voluptas quia ex sunt laborum voluptates. Omnis officiis est dolor cupiditate. Et aut sit molestiae culpa earum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3588ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2041ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305f9bf57353332eb210000", "id"=>"5305f9bf57353332eb220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2590ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb210000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f9bf57353332eb220000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3461ms
Redirected to http://test.host/products/5305f9bf57353332eb210000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2001ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb230000'), "name"=>"Carlo Gaylord", "reference"=>"Allie Kulas", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305f9bf57353332eb240000'), "author_name"=>"Josue Crona", "content"=>["Maiores reprehenderit est. Dolorum est dolor. Possimus iste ut beatae illum. Quis quos possimus. Velit nulla incidunt tempore esse."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3095ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305f9bf57353332eb230000", "id"=>"5305f9bf57353332eb240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2550ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 10ms (Views: 8.3ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb250000'), "name"=>"Giovanni Price", "reference"=>"Ms. Harmony Harris", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305f9bf57353332eb260000'), "author_name"=>"Roscoe Flatley", "content"=>["Sit et delectus cupiditate unde magni. Corrupti omnis reiciendis. Alias beatae ut. Voluptatem deleniti cum sit. Necessitatibus sint odio."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4528ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305f9bf57353332eb250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2661ms
Completed 200 OK in 6ms (Views: 4.4ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb270000'), "name"=>"Mrs. Carmella Braun", "reference"=>"Isobel Hoppe", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305f9bf57353332eb280000'), "author_name"=>"Ethan Lehner Sr.", "content"=>["Ea asperiores voluptatum sunt id dolores nobis. Qui laudantium in. Quia accusamus qui dicta saepe necessitatibus minima."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4296ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305f9bf57353332eb270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2601ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb290000'), "name"=>"Dr. Jeff McLaughlin", "reference"=>"Sidney Hodkiewicz MD", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305f9bf57353332eb2a0000'), "author_name"=>"Miss Alexander Little", "content"=>["Sed rerum corporis ullam. Suscipit expedita inventore qui. Non quaerat ut ad. Et repudiandae corrupti eum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5114ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305f9bf57353332eb290000", "id"=>"5305f9bf57353332eb2a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3569ms
Completed 200 OK in 6ms (Views: 3.9ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb2b0000'), "name"=>"Ezekiel Grady", "reference"=>"Marta Gottlieb", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305f9bf57353332eb2c0000'), "author_name"=>"Jovanny Simonis", "content"=>["Et dicta expedita sed magnam est tenetur. Praesentium illum quis harum qui hic ut. Tempora voluptatibus nemo et repellendus id voluptatum porro."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4386ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305f9bf57353332eb2c0000", "product_id"=>"5305f9bf57353332eb2b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb2b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2684ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb2b0000'), "comments._id"=>BSON::ObjectId('5305f9bf57353332eb2c0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4555ms
Redirected to http://test.host/products/5305f9bf57353332eb2b0000/comments/5305f9bf57353332eb2c0000
Completed 302 Found in 4ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb2d0000'), "firstname"=>"Ian", "lastname"=>"Fadel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4694ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1854ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb2e0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3468ms
Redirected to http://test.host/admin/clients/5305f9bf57353332eb2e0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2026ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb2f0000'), "firstname"=>"Karley", "lastname"=>"Block"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3099ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1779ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f9bf57353332eb2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb2f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2439ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb2f0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2982ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1877ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb300000'), "firstname"=>"Gracie", "lastname"=>"Osinski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2477ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f9bf57353332eb300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2684ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb310000'), "firstname"=>"Elmore", "lastname"=>"Collier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3267ms
Completed 200 OK in 8ms (Views: 7.2ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb320000'), "firstname"=>"Alberto", "lastname"=>"Boyer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb330000'), "firstname"=>"Florida", "lastname"=>"Kovacek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f9bf57353332eb330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2409ms
Completed 200 OK in 5ms (Views: 4.1ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb340000'), "firstname"=>"Adonis", "lastname"=>"Buckridge"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4045ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f9bf57353332eb340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3629ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb340000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3323ms
Redirected to http://test.host/admin/clients/5305f9bf57353332eb340000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb350000'), "firstname"=>"Horacio", "lastname"=>"Turner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2690ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1676ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb360000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4237ms
Redirected to http://test.host/clients/5305f9bf57353332eb360000
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2418ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb370000'), "firstname"=>"Katherine", "lastname"=>"Considine"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2402ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1691ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f9bf57353332eb370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2406ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb370000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2593ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1847ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb380000'), "firstname"=>"Maureen", "lastname"=>"O'Hara"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2394ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f9bf57353332eb380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb390000'), "firstname"=>"Melba", "lastname"=>"Keeling"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3579ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3860ms
Completed 200 OK in 42ms (Views: 41.3ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb3a0000'), "firstname"=>"Orland", "lastname"=>"Schimmel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4501ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb3b0000'), "firstname"=>"Priscilla", "lastname"=>"Volkman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4009ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f9bf57353332eb3b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3656ms
Completed 200 OK in 6ms (Views: 3.6ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb3c0000'), "firstname"=>"Kailey", "lastname"=>"Borer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3755ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f9bf57353332eb3c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2435ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb3c0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2757ms
Redirected to http://test.host/clients/5305f9bf57353332eb3c0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb3d0000'), "name"=>"Vivienne Blanda PhD", "reference"=>"Mr. Ole Conroy", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5305f9bf57353332eb3e0000'), "firstname"=>"Bessie", "lastname"=>"Adams"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5435ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5305f9bf57353332eb3d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3131ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb3d0000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3457ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb3d0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5305f9bf57353332eb3f0000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2303ms
Redirected to http://test.host/products/5305f9bf57353332eb3d0000/manager
Completed 302 Found in 5ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb400000'), "name"=>"Dr. Summer Friesen", "reference"=>"Sanford Bayer", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5305f9bf57353332eb410000'), "firstname"=>"Beth", "lastname"=>"White"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4438ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"5305f9bf57353332eb410000", "product_id"=>"5305f9bf57353332eb400000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3146ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.2ms)
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb420000'), "name"=>"Rosalee Bradtke", "reference"=>"Katarina Feeney", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5305f9bf57353332eb430000'), "firstname"=>"Drew", "lastname"=>"Hirthe"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4641ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"5305f9bf57353332eb420000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2905ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 5.9ms)
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb440000'), "name"=>"Mrs. Treva Casper", "reference"=>"Dr. Kathryne Hermann", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('5305f9bf57353332eb450000'), "firstname"=>"Sheila", "lastname"=>"Powlowski"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4429ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"5305f9bf57353332eb450000", "product_id"=>"5305f9bf57353332eb440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2601ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb460000'), "name"=>"Polly Herzog", "reference"=>"Amalia Schuppe", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('5305f9bf57353332eb470000'), "firstname"=>"Nelson", "lastname"=>"Carroll"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4304ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"5305f9bf57353332eb470000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5305f9bf57353332eb460000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2560ms
Unpermitted parameters: name
Redirected to http://test.host/products/5305f9bf57353332eb460000/manager
Completed 302 Found in 3ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb480000'), "name"=>"Ashlynn Stoltenberg", "reference"=>"Travis Ritchie", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4256ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2055ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb490000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4645ms
Redirected to http://test.host/products/5305f9bf57353332eb490000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1975ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb4a0000'), "name"=>"Ashtyn Nolan", "reference"=>"Roxane Heathcote", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3264ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1972ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305f9bf57353332eb4a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3527ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb4a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8845ms
Redirected to http://test.host/products
Completed 302 Found in 5ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2494ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb4b0000'), "name"=>"Malcolm Kuvalis", "reference"=>"Taryn Harvey", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2846ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305f9bf57353332eb4b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3175ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms)
Completed 200 OK in 10ms (Views: 8.5ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb4c0000'), "name"=>"Annabell Crona", "reference"=>"Robyn White MD", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5040ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6265ms
Completed 200 OK in 17ms (Views: 16.5ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb4d0000'), "name"=>"Abigail Ortiz", "reference"=>"Josiane Waelchi", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3761ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5332ms
Completed 200 OK in 4ms (Views: 1.4ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb4e0000'), "name"=>"Priscilla Bechtelar Jr.", "reference"=>"Sadye Rath PhD", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4066ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305f9bf57353332eb4e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3667ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb4f0000'), "name"=>"Rocky Morar", "reference"=>"Ewell Cruickshank", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3566ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 7ms (Views: 6.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb510000'), "name"=>"Conner Hessel", "reference"=>"Theo Hermiston", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305f9bf57353332eb510000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2665ms
Completed 200 OK in 5ms (Views: 3.6ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb520000'), "name"=>"Tiffany Marks", "reference"=>"Damian Kozey", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3973ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1803ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb530000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3208ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2162ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb540000'), "name"=>"Delilah Marquardt", "reference"=>"Josiah Beatty", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4297ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305f9bf57353332eb540000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3724ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb540000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2739ms
Completed 200 OK in 3ms (Views: 0.2ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb550000'), "name"=>"Hilma Paucek", "reference"=>"Heather Balistreri", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2682ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb570000'), "name"=>"Miss Spencer Little", "reference"=>"Marlen Funk PhD", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3792ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f9bf57353332eb570000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2659ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb570000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2864ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb580000'), "name"=>"Reinhold Treutel", "reference"=>"Dorian Maggio Jr.", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2731ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f9bf57353332eb580000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2544ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb580000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms
Redirected to http://test.host/products/5305f9bf57353332eb580000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb590000'), "firstname"=>"Benjamin", "lastname"=>"Waelchi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.1377ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2333ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb5a0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms
Redirected to http://test.host/users/5305f9bf57353332eb5a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1933ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb5b0000'), "firstname"=>"Reanna", "lastname"=>"Roberts"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3053ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1745ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305f9bf57353332eb5b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb5b0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2631ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1810ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb5c0000'), "firstname"=>"Elyssa", "lastname"=>"Conn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2557ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305f9bf57353332eb5c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.9ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb5d0000'), "firstname"=>"Deven", "lastname"=>"Will"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4453ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4465ms
Completed 200 OK in 46ms (Views: 46.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb5e0000'), "firstname"=>"Bonnie", "lastname"=>"Lehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4306ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb5f0000'), "firstname"=>"Minerva", "lastname"=>"Hilpert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4105ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305f9bf57353332eb5f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9bf57353332eb600000'), "firstname"=>"Frederick", "lastname"=>"Nolan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5047ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f9bf57353332eb600000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f9bf57353332eb600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3544ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305f9bf57353332eb600000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6194ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3135ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3922ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2723ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2713ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2991ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f9d15735333315000000'), "firstname"=>"Louie", "lastname"=>"Kulas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4638ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1791ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f9d15735333315010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2060ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f9d15735333315020000'), "firstname"=>"William", "lastname"=>"Cronin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3042ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f9d15735333315020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f9d15735333315020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2936ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.1ms)
Completed 200 OK in 53ms (Views: 52.0ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f9d15735333315030000'), "firstname"=>"Jerald", "lastname"=>"Graham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4531ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 6ms (Views: 5.8ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f9d15735333315040000'), "firstname"=>"Alexa", "lastname"=>"Yost"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4284ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305f9d15735333315040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f9d15735333315040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2827ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f9d15735333315050000'), "firstname"=>"Jessyca", "lastname"=>"Dooley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3931ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305f9d15735333315050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f9d15735333315050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2805ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d15735333315060000'), "name"=>"Lempi Schmeler I", "reference"=>"Morton Considine", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4656ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2298ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d15735333315070000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3485ms
Redirected to http://test.host/admin/products/5305f9d15735333315070000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1921ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d15735333315080000'), "name"=>"Dr. Jennie Shields", "reference"=>"Francesco Jacobson", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3159ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1790ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305f9d15735333315080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d15735333315080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d15735333315080000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2932ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1886ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d15735333315090000'), "name"=>"Mrs. Burnice Baumbach", "reference"=>"Ms. Earline Terry", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2848ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305f9d15735333315090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d15735333315090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2780ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d157353333150a0000'), "name"=>"Ms. Judy Gerhold", "reference"=>"Mrs. Krista Gaylord", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4338ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3628ms
Completed 200 OK in 8ms (Views: 7.8ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d157353333150b0000'), "name"=>"Lizzie Crooks", "reference"=>"Paxton Greenholt", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3717ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 21ms (Views: 6.0ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d257353333150e0000'), "name"=>"Luz Schmeler", "reference"=>"Weldon Kub", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4166ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305f9d257353333150e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d257353333150e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3372ms
Completed 200 OK in 6ms (Views: 4.3ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d257353333150f0000'), "name"=>"Vicente Upton IV", "reference"=>"Kathryn Padberg", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.9022ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f9d257353333150f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d257353333150f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3367ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d257353333150f0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3944ms
Redirected to http://test.host/admin/products/5305f9d257353333150f0000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315100000'), "firstname"=>"Louvenia", "lastname"=>"Breitenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4186ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1794ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315110000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3888ms
Redirected to http://test.host/admin/users/5305f9d25735333315110000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2157ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315120000'), "firstname"=>"Bria", "lastname"=>"Douglas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4579ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1805ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305f9d25735333315120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f9d25735333315120000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f9d25735333315120000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2917ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1868ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315130000'), "firstname"=>"Johnpaul", "lastname"=>"Walter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2454ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305f9d25735333315130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f9d25735333315130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2471ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315140000'), "firstname"=>"Sofia", "lastname"=>"Spencer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4498ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3223ms
Completed 200 OK in 7ms (Views: 6.3ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315150000'), "firstname"=>"Chase", "lastname"=>"Homenick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3525ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.3ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315160000'), "firstname"=>"Terence", "lastname"=>"Dietrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305f9d25735333315160000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f9d25735333315160000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2307ms
Completed 200 OK in 5ms (Views: 3.6ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315170000'), "firstname"=>"Gilbert", "lastname"=>"Reynolds"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3774ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f9d25735333315170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f9d25735333315170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2319ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305f9d25735333315170000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315180000'), "firstname"=>"Effie", "lastname"=>"Jenkins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1613ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315190000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1269ms
Redirected to http://test.host/administrator
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2185ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f9d257353333151a0000'), "firstname"=>"Colleen", "lastname"=>"Smitham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3277ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305f9d257353333151a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f9d257353333151a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3329ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f9d257353333151b0000'), "firstname"=>"Stephanie", "lastname"=>"Spinka"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4584ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f9d257353333151c0000'), "firstname"=>"Carmel", "lastname"=>"Beier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4147ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305f9d257353333151c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f9d257353333151c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3077ms
Completed 200 OK in 6ms (Views: 4.3ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305f9d257353333151d0000'), "firstname"=>"Arielle", "lastname"=>"Welch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4378ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305f9d257353333151d0000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305f9d257353333151d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2556ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d257353333151e0000'), "name"=>"Tatum Waelchi", "reference"=>"Idell Barton", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305f9d257353333151f0000'), "author_name"=>"Clovis Schumm", "content"=>["Fugiat aliquam voluptate repellendus et ut. Molestiae exercitationem totam. Distinctio necessitatibus unde asperiores voluptatem rem voluptatibus. Magni soluta dolor recusandae consequuntur odio. Qui dolor iusto vel exercitationem."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4590ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d257353333151e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2066ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f9d257353333151e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d257353333151e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d257353333151e0000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f9d25735333315200000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3457ms
Redirected to http://test.host/products/5305f9d257353333151e0000/comments/5305f9d25735333315200000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d257353333151e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3043ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315210000'), "name"=>"Imani Rempel", "reference"=>"Gabriella Heller", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305f9d25735333315220000'), "author_name"=>"Ericka Pagac", "content"=>["Doloribus illum et consequatur iusto. Maxime ipsa iste necessitatibus. Quisquam ad impedit doloremque nihil qui qui rerum. Dolores ratione quibusdam omnis aut et eius est. Quia repudiandae atque maiores ab dolores."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4566ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d25735333315210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2236ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305f9d25735333315210000", "id"=>"5305f9d25735333315220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d25735333315210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3538ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d25735333315210000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f9d25735333315220000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3513ms
Redirected to http://test.host/products/5305f9d25735333315210000/comments
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d25735333315210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1884ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315230000'), "name"=>"Olaf Rippin", "reference"=>"Joannie Kub", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305f9d25735333315240000'), "author_name"=>"Maud Bayer", "content"=>["Aut illum molestias eum ut libero dolore. Ipsa omnis pariatur. Omnis tenetur sint fuga impedit autem. Consectetur accusamus ut non dolorem rerum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3293ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305f9d25735333315230000", "id"=>"5305f9d25735333315240000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d25735333315230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3247ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 10ms (Views: 7.5ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315250000'), "name"=>"Marlee Hilpert", "reference"=>"Hallie Strosin", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305f9d25735333315260000'), "author_name"=>"Robyn Prohaska", "content"=>["Nam quis in laudantium deserunt quia fugit quibusdam. Illum exercitationem fugit. Voluptas harum unde delectus deserunt repellat nostrum. Et error culpa ut voluptates qui asperiores vel."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4505ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305f9d25735333315250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d25735333315250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2457ms
Completed 200 OK in 6ms (Views: 4.6ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315270000'), "name"=>"Randy McLaughlin Jr.", "reference"=>"Westley Schaefer III", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305f9d25735333315280000'), "author_name"=>"Dimitri Graham", "content"=>["Quidem ipsa quae. Quam ut fuga occaecati illum magnam. Neque sed perspiciatis et eveniet. Nihil veniam sapiente voluptates."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4701ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305f9d25735333315270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d25735333315270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2619ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.1ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315290000'), "name"=>"Leann Nienow", "reference"=>"Jaime Nienow", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305f9d257353333152a0000'), "author_name"=>"Thora Haag", "content"=>["Sed quidem minima harum molestias libero eius et. Sed aliquam consequatur voluptas aperiam eveniet. Omnis qui itaque et. Quos accusantium est laudantium maiores et. Ipsum voluptas quam dolorem eos accusamus tempore nihil."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5742ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305f9d25735333315290000", "id"=>"5305f9d257353333152a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d25735333315290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms
Completed 200 OK in 6ms (Views: 3.9ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d257353333152b0000'), "name"=>"Joelle Harvey", "reference"=>"Amelia Hoeger", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305f9d257353333152c0000'), "author_name"=>"Mr. Micah Bosco", "content"=>["Laudantium sit quis nihil deserunt id expedita. Et in eveniet voluptates at esse. Culpa nam iste dolores. Magni sed rerum sapiente vel sit. Eveniet ducimus atque quos iste."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5292ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305f9d257353333152c0000", "product_id"=>"5305f9d257353333152b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d257353333152b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4476ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d257353333152b0000'), "comments._id"=>BSON::ObjectId('5305f9d257353333152c0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5286ms
Redirected to http://test.host/products/5305f9d257353333152b0000/comments/5305f9d257353333152c0000
Completed 302 Found in 5ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9d257353333152d0000'), "firstname"=>"Jett", "lastname"=>"Willms"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5075ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1666ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9d257353333152e0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3990ms
Redirected to http://test.host/admin/clients/5305f9d257353333152e0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2457ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9d257353333152f0000'), "firstname"=>"Rosalyn", "lastname"=>"Treutel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3572ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2211ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f9d257353333152f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f9d257353333152f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2893ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f9d257353333152f0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3460ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2305ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315300000'), "firstname"=>"Geo", "lastname"=>"Zboncak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3287ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f9d25735333315300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f9d25735333315300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3215ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.5ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315310000'), "firstname"=>"Olin", "lastname"=>"Batz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4012ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3169ms
Completed 200 OK in 9ms (Views: 7.5ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315320000'), "firstname"=>"Francis", "lastname"=>"Gleason"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4660ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315330000'), "firstname"=>"Samantha", "lastname"=>"Strosin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4578ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f9d25735333315330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f9d25735333315330000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2433ms
Completed 200 OK in 6ms (Views: 4.3ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315340000'), "firstname"=>"Carmelo", "lastname"=>"Stamm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4518ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f9d25735333315340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f9d25735333315340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3562ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f9d25735333315340000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3118ms
Redirected to http://test.host/admin/clients/5305f9d25735333315340000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315350000'), "firstname"=>"Evert", "lastname"=>"Feil"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2817ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2167ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315360000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3424ms
Redirected to http://test.host/clients/5305f9d25735333315360000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2288ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315370000'), "firstname"=>"Karianne", "lastname"=>"Langworth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2546ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1892ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305f9d25735333315370000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f9d25735333315370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2345ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f9d25735333315370000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2578ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1809ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315380000'), "firstname"=>"Nola", "lastname"=>"Nicolas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2389ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305f9d25735333315380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f9d25735333315380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315390000'), "firstname"=>"Tyrese", "lastname"=>"Hermann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4060ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5126ms
Completed 200 OK in 42ms (Views: 41.7ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9d257353333153a0000'), "firstname"=>"Beverly", "lastname"=>"Berge"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4587ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9d257353333153b0000'), "firstname"=>"Brandi", "lastname"=>"Hansen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4787ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305f9d257353333153b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f9d257353333153b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2957ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305f9d257353333153c0000'), "firstname"=>"Meta", "lastname"=>"Pacocha"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3390ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305f9d257353333153c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f9d257353333153c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305f9d257353333153c0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2970ms
Redirected to http://test.host/clients/5305f9d257353333153c0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d257353333153d0000'), "name"=>"Kendall Boyle Sr.", "reference"=>"Yazmin Miller IV", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305f9d257353333153e0000'), "firstname"=>"Pattie", "lastname"=>"Hilpert"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4450ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5305f9d257353333153d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d257353333153d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2894ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d257353333153d0000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3646ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d257353333153d0000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5305f9d257353333153f0000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2394ms
Redirected to http://test.host/products/5305f9d257353333153d0000/manager
Completed 302 Found in 5ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315400000'), "name"=>"Ms. Lavinia Maggio", "reference"=>"Raoul Miller", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('5305f9d25735333315410000'), "firstname"=>"Lora", "lastname"=>"Ullrich"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4743ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"5305f9d25735333315410000", "product_id"=>"5305f9d25735333315400000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d25735333315400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3599ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 9ms (Views: 7.3ms)
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315420000'), "name"=>"Hailie Jacobs", "reference"=>"Jeffrey Nienow", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5305f9d25735333315430000'), "firstname"=>"Wade", "lastname"=>"Hagenes"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4775ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"5305f9d25735333315420000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d25735333315420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.1ms)
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315440000'), "name"=>"Lysanne Kovacek", "reference"=>"Fatima Stracke", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('5305f9d25735333315450000'), "firstname"=>"Dawn", "lastname"=>"Hagenes"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4205ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"5305f9d25735333315450000", "product_id"=>"5305f9d25735333315440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d25735333315440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2995ms
Completed 200 OK in 6ms (Views: 4.2ms)
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315460000'), "name"=>"Violette Williamson Sr.", "reference"=>"Tina Kuhic MD", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5305f9d25735333315470000'), "firstname"=>"Luna", "lastname"=>"Ratke"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4420ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"5305f9d25735333315470000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5305f9d25735333315460000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d25735333315460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2621ms
Unpermitted parameters: name
Redirected to http://test.host/products/5305f9d25735333315460000/manager
Completed 302 Found in 3ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315480000'), "name"=>"Jakob Reilly", "reference"=>"Marvin Connelly", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4120ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1801ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315490000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6252ms
Redirected to http://test.host/products/5305f9d25735333315490000
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2002ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d257353333154a0000'), "name"=>"Winona Wolff", "reference"=>"Marian Hammes", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4009ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1792ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305f9d257353333154a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d257353333154a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3407ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d257353333154a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2735ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1956ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d257353333154b0000'), "name"=>"Misael Miller Jr.", "reference"=>"Myriam Glover", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2694ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305f9d257353333154b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d257353333154b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2654ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms)
Completed 200 OK in 10ms (Views: 8.4ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d257353333154c0000'), "name"=>"Adriel Davis", "reference"=>"Mrs. Dorris Corkery", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4247ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5773ms
Completed 200 OK in 17ms (Views: 16.8ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d257353333154d0000'), "name"=>"Shayne Auer", "reference"=>"Dr. Santina Gleichner", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3884ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5405ms
Completed 200 OK in 4ms (Views: 1.4ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d257353333154e0000'), "name"=>"Nadia Moen", "reference"=>"Cierra Sanford", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3173ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305f9d257353333154e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d257353333154e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d257353333154f0000'), "name"=>"Chelsey Gaylord", "reference"=>"David Wunsch", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2961ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 7ms (Views: 6.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315510000'), "name"=>"Pietro Trantow", "reference"=>"Johathan Gibson", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4509ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305f9d25735333315510000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d25735333315510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3940ms
Completed 200 OK in 6ms (Views: 4.0ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315520000'), "name"=>"Ms. Rupert O'Connell", "reference"=>"Jada Padberg", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4118ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1814ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315530000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3159ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1885ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315540000'), "name"=>"Orrin Hudson III", "reference"=>"Arch Shanahan V", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2424ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305f9d25735333315540000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d25735333315540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2541ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d25735333315540000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2595ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315550000'), "name"=>"Estel Rutherford", "reference"=>"Kathryn Dickinson III", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2698ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315570000'), "name"=>"Cristina Kemmer DDS", "reference"=>"Elaina Fay", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3623ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f9d25735333315570000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d25735333315570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2709ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d25735333315570000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3297ms
Completed 202 Accepted in 4ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315580000'), "name"=>"Mr. Jada Borer", "reference"=>"Karlie Cronin", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305f9d25735333315580000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d25735333315580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2719ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9d25735333315580000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2818ms
Redirected to http://test.host/products/5305f9d25735333315580000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315590000'), "firstname"=>"Grayson", "lastname"=>"Grimes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4154ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1800ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9d257353333155a0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3182ms
Redirected to http://test.host/users/5305f9d257353333155a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1898ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9d257353333155b0000'), "firstname"=>"Juanita", "lastname"=>"Skiles"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3109ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1730ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305f9d257353333155b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f9d257353333155b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2434ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f9d257353333155b0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2701ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1785ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9d257353333155c0000'), "firstname"=>"Paige", "lastname"=>"Herzog"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305f9d257353333155c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f9d257353333155c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2645ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 9ms (Views: 7.9ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9d257353333155d0000'), "firstname"=>"Lue", "lastname"=>"Schuster"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4407ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3779ms
Completed 200 OK in 46ms (Views: 45.5ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9d257353333155e0000'), "firstname"=>"Emmett", "lastname"=>"Mosciski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4747ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 6ms (Views: 5.6ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9d257353333155f0000'), "firstname"=>"Idella", "lastname"=>"West"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4282ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305f9d257353333155f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f9d257353333155f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2870ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305f9d25735333315600000'), "firstname"=>"Christina", "lastname"=>"Runte"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4523ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305f9d25735333315600000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305f9d25735333315600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305f9d25735333315600000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6516ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3118ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3911ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2732ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3597ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3436ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9ec5735333323000000'), "name"=>"Emmett Jakubowski", "reference"=>"Ressie Wintheiser Jr.", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305f9ec5735333323010000'), "author_name"=>"Watson Bogan II", "content"=>["Velit sed nesciunt assumenda id. Quis tempora tempore sapiente ea doloremque voluptate. Unde in consequatur et est facilis quisquam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4707ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9ec5735333323000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1898ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305f9ec5735333323000000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9ec5735333323000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3635ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9ec5735333323000000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f9ec5735333323020000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3514ms
Redirected to http://test.host/products/5305f9ec5735333323000000/comments/5305f9ec5735333323020000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9ec5735333323000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2953ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9ec5735333323030000'), "name"=>"Freddy Von", "reference"=>"Brando Simonis", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305f9ec5735333323040000'), "author_name"=>"Mrs. Lucio Conn", "content"=>["Qui atque nisi. Iure debitis excepturi provident qui deserunt. Laboriosam magnam tempora quia."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3765ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9ec5735333323030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2479ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305f9ec5735333323030000", "id"=>"5305f9ec5735333323040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9ec5735333323030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3044ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9ec5735333323030000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305f9ec5735333323040000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3892ms
Redirected to http://test.host/products/5305f9ec5735333323030000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9ec5735333323030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2298ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9ec5735333323050000'), "name"=>"Miss Marlene Fay", "reference"=>"Ezequiel Murphy", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305f9ec5735333323060000'), "author_name"=>"Leonor Pfannerstill", "content"=>["Omnis nemo aut quia fugit necessitatibus. Odit aut earum ut. Vitae tempora rerum vel eum blanditiis. Ea accusantium dolorem omnis animi."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3570ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305f9ec5735333323050000", "id"=>"5305f9ec5735333323060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9ec5735333323050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2728ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.5ms)
Completed 200 OK in 54ms (Views: 51.9ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9ec5735333323070000'), "name"=>"Ms. Hilbert Dickinson", "reference"=>"Mr. Jillian Sipes", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305f9ec5735333323080000'), "author_name"=>"Kaitlyn Hyatt DVM", "content"=>["Reprehenderit vel ea cupiditate et similique. Et illo recusandae quibusdam magni enim et quas. Quae voluptatem harum optio. At ducimus necessitatibus neque dolores consequuntur inventore et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5093ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305f9ec5735333323070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9ec5735333323070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2762ms
Completed 200 OK in 6ms (Views: 4.5ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9ec5735333323090000'), "name"=>"Joe Bradtke", "reference"=>"Miss Dave Beatty", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305f9ec57353333230a0000'), "author_name"=>"Kiley Parker", "content"=>["Dolorum repellat quaerat tempore dolorem repudiandae non architecto. Quis voluptatem consequuntur velit. Magnam doloribus ipsam ea qui animi. Sint doloremque eum quia veritatis nemo consequatur. Neque aut aspernatur."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6243ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305f9ec5735333323090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9ec5735333323090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2857ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9ec57353333230b0000'), "name"=>"Cordie McKenzie", "reference"=>"Aylin Abernathy", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305f9ec57353333230c0000'), "author_name"=>"Russell Armstrong", "content"=>["Commodi corporis quae nesciunt ut. Aperiam eum tempore sint modi laborum inventore at. Ut quam iusto aut sit. Ut dignissimos adipisci. Eum sapiente aut qui quod."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4798ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305f9ec57353333230b0000", "id"=>"5305f9ec57353333230c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9ec57353333230b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3333ms
Completed 200 OK in 7ms (Views: 4.3ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305f9ed57353333230d0000'), "name"=>"Akeem Lehner", "reference"=>"Dr. Cheyanne Sawayn", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305f9ed57353333230e0000'), "author_name"=>"Brianne Mosciski III", "content"=>["Praesentium nulla illo voluptatem maxime animi. Reprehenderit ut dicta totam aperiam dignissimos. Veritatis ipsam ex. Rem velit soluta eligendi."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4598ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305f9ed57353333230e0000", "product_id"=>"5305f9ed57353333230d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9ed57353333230d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2814ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305f9ed57353333230d0000'), "comments._id"=>BSON::ObjectId('5305f9ed57353333230e0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4182ms
Redirected to http://test.host/products/5305f9ed57353333230d0000/comments/5305f9ed57353333230e0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7038ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3363ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3329ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2254ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2083ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2065ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fa645735333360000000'), "name"=>"Rhiannon Lind", "reference"=>"Emilio Leannon MD", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305fa645735333360010000'), "author_name"=>"Loma Bode", "content"=>["Aut consequatur ipsum rerum. Qui animi totam aspernatur numquam. Maxime quos est suscipit eaque. Nihil provident fugiat iste sed rerum voluptates. Saepe excepturi autem impedit consequuntur."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4862ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa645735333360000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2090ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305fa645735333360000000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa645735333360000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3287ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa645735333360000000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fa645735333360020000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3404ms
Redirected to http://test.host/products/5305fa645735333360000000/comments/5305fa645735333360020000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa645735333360000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2754ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fa645735333360030000'), "name"=>"Mrs. Fern Jakubowski", "reference"=>"Burnice Smitham", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305fa645735333360040000'), "author_name"=>"Kelvin Christiansen", "content"=>["Rerum sed numquam reprehenderit. Nulla in numquam ipsum perspiciatis accusamus et hic. Sunt fuga rerum ex unde."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3726ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa645735333360030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305fa645735333360030000", "id"=>"5305fa645735333360040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa645735333360030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2625ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa645735333360030000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fa645735333360040000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms
Redirected to http://test.host/products/5305fa645735333360030000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa645735333360030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2828ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fa645735333360050000'), "name"=>"Keshawn Larkin", "reference"=>"Sheldon Koepp", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305fa645735333360060000'), "author_name"=>"Danyka Gerlach", "content"=>["Et fuga voluptatem perferendis ducimus nostrum. Autem ut quidem esse rerum officiis. Est autem non voluptas. Est vitae itaque eligendi voluptatem odio officiis odit."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3669ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305fa645735333360050000", "id"=>"5305fa645735333360060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa645735333360050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3015ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.2ms)
Completed 200 OK in 54ms (Views: 52.0ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fa645735333360070000'), "name"=>"Lera Windler", "reference"=>"Abelardo Turner", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305fa645735333360080000'), "author_name"=>"Imogene Gorczany", "content"=>["Quisquam magni sint. Omnis similique aperiam nihil labore rerum. Voluptatem possimus facere ipsa aut ex in."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4775ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305fa645735333360070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa645735333360070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2738ms
Completed 200 OK in 6ms (Views: 4.5ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fa645735333360090000'), "name"=>"Onie Boyle", "reference"=>"Troy Walter IV", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305fa6457353333600a0000'), "author_name"=>"Dr. Judy Medhurst", "content"=>["Reiciendis omnis fuga minus officiis modi repellendus quae. Voluptas blanditiis perspiciatis. Numquam velit beatae mollitia. Reiciendis ut doloribus voluptas minus consequatur aperiam odio. Cumque debitis accusantium eveniet nihil."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4449ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305fa645735333360090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa645735333360090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2857ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.1ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fa6457353333600b0000'), "name"=>"Cheyanne Stiedemann Jr.", "reference"=>"Rae Schoen", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305fa6457353333600c0000'), "author_name"=>"Miss Royal Goodwin", "content"=>["Sint similique consequatur aliquid quis. Aperiam in suscipit voluptatem cum quibusdam et iure. Dicta autem accusamus facilis delectus molestiae unde aliquid. Corrupti quas omnis nisi facere laudantium sapiente."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4364ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305fa6457353333600b0000", "id"=>"5305fa6457353333600c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa6457353333600b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3081ms
Completed 200 OK in 7ms (Views: 4.3ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fa6457353333600d0000'), "name"=>"Jeremie Hahn", "reference"=>"Noemy Braun III", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305fa6457353333600e0000'), "author_name"=>"Greta Schiller", "content"=>["Voluptatem consequatur quia vel repellat enim optio. Voluptas eum cupiditate sapiente consequatur. Autem enim dolore quisquam quas id molestias. Quam assumenda vel eos dolores."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4582ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305fa6457353333600e0000", "product_id"=>"5305fa6457353333600d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa6457353333600d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2833ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa6457353333600d0000'), "comments._id"=>BSON::ObjectId('5305fa6457353333600e0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4366ms
Redirected to http://test.host/products/5305fa6457353333600d0000/comments/5305fa6457353333600e0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6691ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3082ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2730ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1963ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1943ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1716ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fa6d573533339b000000'), "name"=>"Leonie Weber DDS", "reference"=>"Lucie Kutch", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305fa6d573533339b010000'), "author_name"=>"Dr. Forest Jacobi", "content"=>["Quis sit delectus doloribus repellat pariatur dolorum. Facere impedit quo a magnam. Omnis numquam repellendus sit sed cupiditate quo qui. Architecto id rem fugiat qui aut expedita."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4607ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa6d573533339b000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1944ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305fa6d573533339b000000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa6d573533339b000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3644ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa6d573533339b000000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fa6d573533339b020000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3569ms
Redirected to http://test.host/products/5305fa6d573533339b000000/comments/5305fa6d573533339b020000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa6d573533339b000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2823ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fa6d573533339b030000'), "name"=>"Layla Hartmann III", "reference"=>"Ms. Krystal Wolff", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305fa6d573533339b040000'), "author_name"=>"Nyah Steuber", "content"=>["Qui est rerum eius perferendis repellat iure. Accusantium rerum voluptates corrupti consequatur aliquid illum modi. Eos aliquam enim. Vel rerum ex. Vero nemo sit id quos."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3774ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa6d573533339b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1690ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305fa6d573533339b030000", "id"=>"5305fa6d573533339b040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa6d573533339b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa6d573533339b030000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fa6d573533339b040000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3917ms
Redirected to http://test.host/products/5305fa6d573533339b030000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa6d573533339b030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2450ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fa6d573533339b050000'), "name"=>"Glenna Maggio", "reference"=>"Shawna Yost", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305fa6d573533339b060000'), "author_name"=>"Christina Marquardt", "content"=>["Voluptatem aut magni mollitia quod perferendis consequuntur. Error inventore eveniet quibusdam et magni. Doloremque vero eum laborum commodi quae dolorem. Ex totam et et dolorem dolor facilis quas."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3080ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305fa6d573533339b050000", "id"=>"5305fa6d573533339b060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa6d573533339b050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3057ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.1ms)
Completed 200 OK in 53ms (Views: 51.3ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fa6d573533339b070000'), "name"=>"Dr. Isai White", "reference"=>"Callie Torphy", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305fa6d573533339b080000'), "author_name"=>"Skyla Cole", "content"=>["Itaque corrupti rerum inventore. Qui numquam harum. Quisquam in ut quod laudantium odio."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4985ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305fa6d573533339b070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa6d573533339b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2757ms
Completed 200 OK in 6ms (Views: 4.5ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fa6d573533339b090000'), "name"=>"Dr. Cristina Pouros", "reference"=>"Laverna Ondricka", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305fa6d573533339b0a0000'), "author_name"=>"Theron Schuppe", "content"=>["Excepturi consequatur harum est architecto. Tempore in reprehenderit ut natus consequatur iure. Aliquid magnam inventore ut sequi."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4361ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305fa6d573533339b090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa6d573533339b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2655ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.1ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fa6d573533339b0b0000'), "name"=>"Trey Ondricka", "reference"=>"Candida Lubowitz", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305fa6d573533339b0c0000'), "author_name"=>"Kathlyn Homenick", "content"=>["Numquam excepturi et totam impedit. Porro nemo rerum vel. Libero autem et in cupiditate maiores nostrum possimus."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4384ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305fa6d573533339b0b0000", "id"=>"5305fa6d573533339b0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa6d573533339b0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3162ms
Completed 200 OK in 7ms (Views: 4.3ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fa6d573533339b0d0000'), "name"=>"Mohammed Lueilwitz", "reference"=>"Brooks Kunze", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305fa6d573533339b0e0000'), "author_name"=>"Mr. Tiana Ankunding", "content"=>["Repellendus et expedita recusandae perspiciatis. Sequi accusantium ipsum cum. Non voluptatem dolorum rerum in libero. Praesentium delectus distinctio architecto. Vero eos excepturi sunt cumque maxime et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4601ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305fa6d573533339b0e0000", "product_id"=>"5305fa6d573533339b0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa6d573533339b0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa6d573533339b0d0000'), "comments._id"=>BSON::ObjectId('5305fa6d573533339b0e0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4806ms
Redirected to http://test.host/products/5305fa6d573533339b0d0000/comments/5305fa6d573533339b0e0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6297ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3171ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2950ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2005ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1970ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1923ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fa8857353333c5000000'), "name"=>"Wyatt Veum II", "reference"=>"Jarret Jacobson", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305fa8857353333c5010000'), "author_name"=>"Jaqueline Hansen", "content"=>["Qui quos labore. Assumenda tenetur fugiat nihil nobis. Ut rerum et. Consequuntur nisi quas."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4662ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa8857353333c5000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2130ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305fa8857353333c5000000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa8857353333c5000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3374ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa8857353333c5000000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fa8857353333c5020000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3484ms
Redirected to http://test.host/products/5305fa8857353333c5000000/comments/5305fa8857353333c5020000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa8857353333c5000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2745ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fa8857353333c5030000'), "name"=>"Ms. Elwyn Haag", "reference"=>"Jose Mann II", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305fa8857353333c5040000'), "author_name"=>"Wendy Gislason Jr.", "content"=>["Eligendi porro natus alias voluptatem. Aut ipsa eveniet adipisci. Quod quis minus iste cupiditate accusamus. Ut quia vitae laborum fugit dolor doloremque id."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4119ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa8857353333c5030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1903ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305fa8857353333c5030000", "id"=>"5305fa8857353333c5040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa8857353333c5030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3023ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa8857353333c5030000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fa8857353333c5040000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3518ms
Redirected to http://test.host/products/5305fa8857353333c5030000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa8857353333c5030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2259ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fa8857353333c5050000'), "name"=>"Dr. Jacinthe Homenick", "reference"=>"Lindsey Sipes", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305fa8857353333c5060000'), "author_name"=>"Dr. Elnora Daugherty", "content"=>["Minima sit voluptatum dolore atque in. Quidem praesentium architecto unde voluptatem labore rerum. Consequatur velit aut modi et quisquam ea possimus. Odio provident assumenda ut beatae animi vero sed. Rerum sequi accusamus velit ea sed nihil."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305fa8857353333c5050000", "id"=>"5305fa8857353333c5060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa8857353333c5050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3196ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.1ms)
Completed 200 OK in 54ms (Views: 51.5ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fa8857353333c5070000'), "name"=>"Athena Murphy", "reference"=>"Helmer Parisian", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305fa8857353333c5080000'), "author_name"=>"Cydney Rice V", "content"=>["Provident rerum totam voluptatem recusandae. Temporibus et reprehenderit rem aut iure. Aut unde enim ab id expedita tenetur. Odio maiores cupiditate sint labore tempora sed. Et recusandae adipisci."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5024ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305fa8857353333c5070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa8857353333c5070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2753ms
Completed 200 OK in 6ms (Views: 4.5ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fa8857353333c5090000'), "name"=>"Orie Terry Sr.", "reference"=>"Hailee Corkery", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305fa8857353333c50a0000'), "author_name"=>"Mrs. Ara Gerhold", "content"=>["Mollitia voluptatem iusto nihil ut ut. Quos est beatae minima consequatur soluta velit. Soluta consequatur qui harum natus laborum ipsa."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4406ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305fa8857353333c5090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa8857353333c5090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2718ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.1ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fa8857353333c50b0000'), "name"=>"Everardo Fadel", "reference"=>"Karley Dickinson", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305fa8857353333c50c0000'), "author_name"=>"Tate Reinger", "content"=>["Ut ea nobis exercitationem itaque. Ut qui aperiam consequatur architecto sunt recusandae. Odio quo neque tenetur necessitatibus. Tenetur sapiente voluptate."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4348ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305fa8857353333c50b0000", "id"=>"5305fa8857353333c50c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa8857353333c50b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3342ms
Completed 200 OK in 7ms (Views: 4.2ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fa8857353333c50d0000'), "name"=>"Anais Considine", "reference"=>"Watson Kuhic PhD", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305fa8857353333c50e0000'), "author_name"=>"Mallory Rosenbaum", "content"=>["Blanditiis et vero quo laudantium voluptatem. Nisi sunt hic quo qui ratione est. Fugiat tempora magnam sed atque rerum neque."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4420ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305fa8857353333c50e0000", "product_id"=>"5305fa8857353333c50d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa8857353333c50d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2836ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fa8857353333c50d0000'), "comments._id"=>BSON::ObjectId('5305fa8857353333c50e0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4277ms
Redirected to http://test.host/products/5305fa8857353333c50d0000/comments/5305fa8857353333c50e0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6497ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2981ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3029ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1722ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1657ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1645ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb43573533340b000000'), "firstname"=>"Ezekiel", "lastname"=>"Stiedemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4723ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1638ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb43573533340b010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3668ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1772ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb43573533340b020000'), "firstname"=>"Barney", "lastname"=>"Rolfson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305fb43573533340b020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fb43573533340b020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2416ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms)
Completed 200 OK in 53ms (Views: 52.3ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb43573533340b030000'), "firstname"=>"Taryn", "lastname"=>"Halvorson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5209ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.4ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb43573533340b040000'), "firstname"=>"Derick", "lastname"=>"Thompson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4352ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305fb43573533340b040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fb43573533340b040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2244ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb43573533340b050000'), "firstname"=>"Brayan", "lastname"=>"Dibbert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3652ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305fb43573533340b050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fb43573533340b050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2171ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb43573533340b060000'), "name"=>"Bridget Wilkinson", "reference"=>"Korey Torphy", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305fb43573533340b070000'), "firstname"=>"Rafael", "lastname"=>"Gerlach"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4710ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5305fb43573533340b060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb43573533340b060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2850ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb43573533340b060000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3423ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb43573533340b060000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5305fb43573533340b080000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2402ms
Redirected to http://test.host/admin/products/5305fb43573533340b060000/manager
Completed 302 Found in 5ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb43573533340b090000'), "name"=>"Emily Rosenbaum", "reference"=>"Destiney Batz", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('5305fb43573533340b0a0000'), "firstname"=>"Beaulah", "lastname"=>"Haley"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"5305fb43573533340b0a0000", "product_id"=>"5305fb43573533340b090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb43573533340b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3157ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.9ms)
Completed 200 OK in 38ms (Views: 36.3ms)
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb43573533340b0b0000'), "name"=>"Keegan Rosenbaum PhD", "reference"=>"Faye Schuppe", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5305fb43573533340b0c0000'), "firstname"=>"Annamae", "lastname"=>"O'Kon"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4250ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"5305fb43573533340b0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb43573533340b0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.3ms)
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb43573533340b0d0000'), "name"=>"Addie Flatley", "reference"=>"Elise Rogahn", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('5305fb43573533340b0e0000'), "firstname"=>"Caleb", "lastname"=>"Hartmann"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4257ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"5305fb43573533340b0e0000", "product_id"=>"5305fb43573533340b0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb43573533340b0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3865ms
Completed 200 OK in 6ms (Views: 4.0ms)
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb43573533340b0f0000'), "name"=>"Cesar Wolff", "reference"=>"Thad Kautzer", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5305fb43573533340b100000'), "firstname"=>"Leta", "lastname"=>"Botsford"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms
Processing by Admin::ManagersController#update as HTML
Parameters: {"id"=>"5305fb43573533340b100000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5305fb43573533340b0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb43573533340b0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2553ms
Unpermitted parameters: name
Redirected to http://test.host/admin/products/5305fb43573533340b0f0000/manager
Completed 302 Found in 3ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb43573533340b110000'), "name"=>"Brent Macejkovic", "reference"=>"Theodora Mann", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4168ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1666ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb43573533340b120000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms
Redirected to http://test.host/admin/products/5305fb43573533340b120000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2124ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb43573533340b130000'), "name"=>"Miss Madelynn Berge", "reference"=>"Brennan Kihn DVM", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3504ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2121ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305fb43573533340b130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb43573533340b130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4019ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb43573533340b130000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3883ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1966ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb43573533340b140000'), "name"=>"Yessenia Schumm", "reference"=>"Alexandro Stark", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2779ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305fb43573533340b140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb43573533340b140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2610ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 9ms (Views: 7.9ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb43573533340b150000'), "name"=>"Dr. Chaz Wiegand", "reference"=>"Mrs. Ibrahim Hoppe", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4105ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3975ms
Completed 200 OK in 10ms (Views: 9.2ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb43573533340b160000'), "name"=>"Adelle Willms", "reference"=>"Delta Koelpin DVM", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4474ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 22ms (Views: 5.7ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb43573533340b190000'), "name"=>"Judd Johnston", "reference"=>"Wendy Barton", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3840ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305fb43573533340b190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb43573533340b190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2955ms
Completed 200 OK in 6ms (Views: 4.1ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b1a0000'), "name"=>"Zula Ondricka", "reference"=>"Alek Hills MD", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4310ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305fb44573533340b1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b1a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3227ms
Redirected to http://test.host/admin/products/5305fb44573533340b1a0000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b1b0000'), "firstname"=>"Eleanore", "lastname"=>"Ullrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4630ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1893ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b1c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3504ms
Redirected to http://test.host/admin/users/5305fb44573533340b1c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2029ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b1d0000'), "firstname"=>"Arch", "lastname"=>"Spinka"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3244ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1816ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305fb44573533340b1d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb44573533340b1d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2631ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb44573533340b1d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3690ms
Redirected to http://test.host/admin/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2317ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b1e0000'), "firstname"=>"Antoinette", "lastname"=>"Barton"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305fb44573533340b1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb44573533340b1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2786ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.3ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b1f0000'), "firstname"=>"Kendra", "lastname"=>"Streich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4421ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3274ms
Completed 200 OK in 7ms (Views: 6.5ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b200000'), "firstname"=>"Citlalli", "lastname"=>"King"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3552ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b210000'), "firstname"=>"Helen", "lastname"=>"Rippin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.1028ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305fb44573533340b210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb44573533340b210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2953ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b220000'), "firstname"=>"Darien", "lastname"=>"Stracke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4056ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305fb44573533340b220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb44573533340b220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2653ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305fb44573533340b220000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b230000'), "firstname"=>"Johnson", "lastname"=>"Jacobson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3739ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1439ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b240000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2878ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1534ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b250000'), "firstname"=>"Rodger", "lastname"=>"Hudson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3498ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305fb44573533340b250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fb44573533340b250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4018ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 9ms (Views: 7.2ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b260000'), "firstname"=>"Benedict", "lastname"=>"Lowe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4344ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 4.9ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b270000'), "firstname"=>"Sophia", "lastname"=>"Mraz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305fb44573533340b270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fb44573533340b270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2510ms
Completed 200 OK in 5ms (Views: 3.5ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b280000'), "firstname"=>"Brisa", "lastname"=>"Spencer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3995ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305fb44573533340b280000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fb44573533340b280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2977ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b290000'), "name"=>"Maria Harber", "reference"=>"Felipa Brakus V", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305fb44573533340b2a0000'), "author_name"=>"Armand Lakin", "content"=>["Quia numquam culpa. Corrupti et expedita velit aut ullam. Ducimus sint dolor fuga nam reprehenderit consequuntur pariatur."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4676ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2163ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305fb44573533340b290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3108ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b290000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fb44573533340b2b0000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.8144ms
Redirected to http://test.host/products/5305fb44573533340b290000/comments/5305fb44573533340b2b0000
Completed 302 Found in 8ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b2c0000'), "name"=>"Mr. Sylvia Goyette", "reference"=>"Nathan Hegmann II", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305fb44573533340b2d0000'), "author_name"=>"Evelyn Wiegand III", "content"=>["Distinctio iure sed minima amet. Sit qui sint. Reprehenderit voluptatem iure occaecati quod et velit. Minus voluptatem eos facere consequuntur dolores sapiente est. Sint quod commodi et at."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4056ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2161ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305fb44573533340b2c0000", "id"=>"5305fb44573533340b2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b2c0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fb44573533340b2d0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5334ms
Redirected to http://test.host/products/5305fb44573533340b2c0000/comments
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2288ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b2e0000'), "name"=>"Casper Durgan", "reference"=>"Spencer Kessler", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305fb44573533340b2f0000'), "author_name"=>"Conner Durgan", "content"=>["Tempora corporis iure enim vel est animi amet. Natus aperiam et illo quo dolor aut vel. Ut voluptas voluptatum iste debitis. Dicta voluptate laboriosam autem maxime magnam reprehenderit. Ut asperiores commodi adipisci doloribus quia."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3825ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305fb44573533340b2e0000", "id"=>"5305fb44573533340b2f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b2e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3208ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 10ms (Views: 7.5ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b300000'), "name"=>"Mr. Madonna Waelchi", "reference"=>"Oliver Kunde", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305fb44573533340b310000'), "author_name"=>"Moises Gibson", "content"=>["Est placeat culpa reprehenderit similique. Nulla aut incidunt. In dolorem alias quibusdam enim perferendis vitae ab. Eum explicabo alias libero."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5055ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305fb44573533340b300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms
Completed 200 OK in 6ms (Views: 4.4ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b320000'), "name"=>"Mrs. Deion Kshlerin", "reference"=>"Mervin Bernhard", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305fb44573533340b330000'), "author_name"=>"Velva Purdy", "content"=>["Aliquid quod animi pariatur. Impedit et ut rerum. Aut architecto iusto."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4903ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305fb44573533340b320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2646ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b340000'), "name"=>"Lonie Yundt", "reference"=>"Christop Bins", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305fb44573533340b350000'), "author_name"=>"Renee Fisher", "content"=>["Minus commodi veniam distinctio consequatur. Molestias omnis quibusdam eaque natus aut et eum. Est alias temporibus. Non architecto facere aspernatur incidunt quo. Ipsa sed est."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4351ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305fb44573533340b340000", "id"=>"5305fb44573533340b350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2749ms
Completed 200 OK in 6ms (Views: 3.9ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b360000'), "name"=>"Nicole Hagenes I", "reference"=>"Santina Zieme", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305fb44573533340b370000'), "author_name"=>"Sydnie Gutkowski", "content"=>["Impedit non enim voluptatum ea. Amet blanditiis laborum est rerum. Aut et voluptatem reprehenderit assumenda. Porro non distinctio alias et molestiae."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4385ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305fb44573533340b370000", "product_id"=>"5305fb44573533340b360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2677ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b360000'), "comments._id"=>BSON::ObjectId('5305fb44573533340b370000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4635ms
Redirected to http://test.host/products/5305fb44573533340b360000/comments/5305fb44573533340b370000
Completed 302 Found in 4ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b380000'), "firstname"=>"Zack", "lastname"=>"Schneider"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4562ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1869ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b390000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3350ms
Redirected to http://test.host/admin/clients/5305fb44573533340b390000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1925ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b3a0000'), "firstname"=>"Monica", "lastname"=>"Labadie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3644ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1888ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305fb44573533340b3a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb44573533340b3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3833ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb44573533340b3a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7834ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2003ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b3b0000'), "firstname"=>"Brenden", "lastname"=>"Weissnat"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2581ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305fb44573533340b3b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb44573533340b3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2723ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b3c0000'), "firstname"=>"Rodrick", "lastname"=>"Grant"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4505ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3267ms
Completed 200 OK in 42ms (Views: 41.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b3d0000'), "firstname"=>"Shawn", "lastname"=>"Ortiz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4463ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b3e0000'), "firstname"=>"Dejon", "lastname"=>"Altenwerth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4153ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305fb44573533340b3e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb44573533340b3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3374ms
Completed 200 OK in 7ms (Views: 5.0ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b3f0000'), "firstname"=>"Sid", "lastname"=>"Koepp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4386ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305fb44573533340b3f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb44573533340b3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2872ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb44573533340b3f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3322ms
Redirected to http://test.host/admin/clients/5305fb44573533340b3f0000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b400000'), "firstname"=>"Jamal", "lastname"=>"Wolff"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2402ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b410000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3511ms
Redirected to http://test.host/clients/5305fb44573533340b410000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2362ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b420000'), "firstname"=>"Courtney", "lastname"=>"Aufderhar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2704ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2065ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305fb44573533340b420000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb44573533340b420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb44573533340b420000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3893ms
Redirected to http://test.host/clients
Completed 302 Found in 5ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1857ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b430000'), "firstname"=>"Tobin", "lastname"=>"Mills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2470ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305fb44573533340b430000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb44573533340b430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 5.9ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b440000'), "firstname"=>"Kory", "lastname"=>"Bahringer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3902ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3789ms
Completed 200 OK in 10ms (Views: 9.9ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b450000'), "firstname"=>"Juliet", "lastname"=>"Casper"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3696ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.1ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b460000'), "firstname"=>"Martine", "lastname"=>"Krajcik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4968ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305fb44573533340b460000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb44573533340b460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2480ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b470000'), "firstname"=>"Tevin", "lastname"=>"Huel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3431ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305fb44573533340b470000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb44573533340b470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2617ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb44573533340b470000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2735ms
Redirected to http://test.host/clients/5305fb44573533340b470000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b480000'), "name"=>"Abbigail Heaney", "reference"=>"Brad Stanton I", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5305fb44573533340b490000'), "firstname"=>"Demarcus", "lastname"=>"Connelly"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4283ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5305fb44573533340b480000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2925ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b480000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2963ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b480000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5305fb44573533340b4a0000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2416ms
Redirected to http://test.host/products/5305fb44573533340b480000/manager
Completed 302 Found in 5ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b4b0000'), "name"=>"Gerhard Wuckert", "reference"=>"Deondre Schroeder", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5305fb44573533340b4c0000'), "firstname"=>"Athena", "lastname"=>"Emard"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6396ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"5305fb44573533340b4c0000", "product_id"=>"5305fb44573533340b4b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3643ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.4ms)
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b4d0000'), "name"=>"Linnie Leannon IV", "reference"=>"Mireille Barrows", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('5305fb44573533340b4e0000'), "firstname"=>"Luciano", "lastname"=>"Champlin"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4332ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"5305fb44573533340b4d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3186ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.1ms)
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b4f0000'), "name"=>"Mrs. Lemuel Rice", "reference"=>"Virgil Nolan", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305fb44573533340b500000'), "firstname"=>"Lizeth", "lastname"=>"Keeling"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4493ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"5305fb44573533340b500000", "product_id"=>"5305fb44573533340b4f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2832ms
Completed 200 OK in 5ms (Views: 3.7ms)
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b510000'), "name"=>"Barbara Marquardt", "reference"=>"Maria Schaden", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305fb44573533340b520000'), "firstname"=>"Julianne", "lastname"=>"Cummings"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4405ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"5305fb44573533340b520000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5305fb44573533340b510000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2741ms
Unpermitted parameters: name
Redirected to http://test.host/products/5305fb44573533340b510000/manager
Completed 302 Found in 3ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b530000'), "name"=>"Alysha Lebsack", "reference"=>"Itzel Leannon", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5221ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3179ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b540000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4458ms
Redirected to http://test.host/products/5305fb44573533340b540000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2002ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b550000'), "name"=>"Norbert Romaguera", "reference"=>"Jimmy Parisian III", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3575ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1838ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305fb44573533340b550000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2562ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b550000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2636ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1871ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b560000'), "name"=>"Elva Heidenreich", "reference"=>"Abdiel Zemlak", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2559ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305fb44573533340b560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.0ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b570000'), "name"=>"Deon Durgan", "reference"=>"Weldon Abbott", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4810ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7045ms
Completed 200 OK in 20ms (Views: 19.2ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b580000'), "name"=>"Okey Osinski", "reference"=>"Willy Waters", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6976ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6556ms
Completed 200 OK in 4ms (Views: 1.7ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b590000'), "name"=>"Dr. Orlo Osinski", "reference"=>"Destiney Bosco", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3986ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305fb44573533340b590000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2574ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b5a0000'), "name"=>"Ms. Tristian Beahan", "reference"=>"Ashley Zieme", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2924ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 7ms (Views: 6.4ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b5c0000'), "name"=>"Dr. Joshua Bartell", "reference"=>"Ms. Sebastian Witting", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305fb44573533340b5c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2341ms
Completed 200 OK in 37ms (Views: 36.1ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b5d0000'), "name"=>"Regan Wintheiser V", "reference"=>"Loy Purdy IV", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4545ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1971ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b5e0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3408ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2032ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b5f0000'), "name"=>"Lisa Bayer", "reference"=>"Kayla Beahan", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3072ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305fb44573533340b5f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3421ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b5f0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3214ms
Completed 200 OK in 3ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b600000'), "name"=>"Mr. Justen Jenkins", "reference"=>"Marcella Hermiston Jr.", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3290ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b620000'), "name"=>"Ms. Krystel Marvin", "reference"=>"Rahul Beatty", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4003ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305fb44573533340b620000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3164ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b620000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3148ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b630000'), "name"=>"Zita Keeling", "reference"=>"Ayden Walker", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3568ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305fb44573533340b630000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4350ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb44573533340b630000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3508ms
Redirected to http://test.host/products/5305fb44573533340b630000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b640000'), "firstname"=>"Mikayla", "lastname"=>"Lynch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8009ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2329ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b650000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3702ms
Redirected to http://test.host/users/5305fb44573533340b650000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2402ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b660000'), "firstname"=>"Nico", "lastname"=>"Prohaska"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3610ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2238ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305fb44573533340b660000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb44573533340b660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2617ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb44573533340b660000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2657ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2475ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b670000'), "firstname"=>"Jerod", "lastname"=>"Schimmel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2818ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305fb44573533340b670000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb44573533340b670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4018ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 9ms (Views: 7.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b680000'), "firstname"=>"Nestor", "lastname"=>"Skiles"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4244ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3712ms
Completed 200 OK in 10ms (Views: 9.8ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b690000'), "firstname"=>"Dwight", "lastname"=>"Carroll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3754ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b6a0000'), "firstname"=>"Zakary", "lastname"=>"Crona"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4662ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305fb44573533340b6a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb44573533340b6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2495ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb44573533340b6b0000'), "firstname"=>"Alvah", "lastname"=>"Kertzmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3979ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305fb44573533340b6b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb44573533340b6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2526ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305fb44573533340b6b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6254ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3195ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4525ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3221ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3252ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3097ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb535735333435000000'), "firstname"=>"Koby", "lastname"=>"Kunze"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4918ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1789ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb535735333435010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3780ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2032ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb535735333435020000'), "firstname"=>"Alejandra", "lastname"=>"Fahey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3113ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305fb535735333435020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fb535735333435020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2569ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.9ms)
Completed 200 OK in 52ms (Views: 51.1ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb535735333435030000'), "firstname"=>"Eldridge", "lastname"=>"Cremin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4424ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.2ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb535735333435040000'), "firstname"=>"Sebastian", "lastname"=>"Stroman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4141ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305fb535735333435040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fb535735333435040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2869ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb535735333435050000'), "firstname"=>"Carmine", "lastname"=>"Strosin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3548ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305fb535735333435050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fb535735333435050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2111ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb535735333435060000'), "name"=>"Bernhard Hagenes", "reference"=>"Dr. Albina Frami", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('5305fb535735333435070000'), "firstname"=>"Felipe", "lastname"=>"Heidenreich"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4800ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5305fb535735333435060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb535735333435060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2811ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb535735333435060000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3393ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb535735333435060000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5305fb535735333435080000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2821ms
Redirected to http://test.host/admin/products/5305fb535735333435060000/manager
Completed 302 Found in 5ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb535735333435090000'), "name"=>"Ms. Bernice Willms", "reference"=>"Krystina Fahey", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5305fb5357353334350a0000'), "firstname"=>"Bethel", "lastname"=>"Schultz"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"5305fb5357353334350a0000", "product_id"=>"5305fb535735333435090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb535735333435090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3175ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 38ms (Views: 36.2ms)
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb5357353334350b0000'), "name"=>"Haley Ratke", "reference"=>"Mrs. Julianne Beier", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305fb5357353334350c0000'), "firstname"=>"Edyth", "lastname"=>"Marquardt"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 33.7166ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"5305fb5357353334350b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb5357353334350b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3462ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 7ms (Views: 5.5ms)
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb5357353334350d0000'), "name"=>"Orlando Terry", "reference"=>"Miss Rico Kutch", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5305fb5357353334350e0000'), "firstname"=>"Virginia", "lastname"=>"Hills"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4820ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"5305fb5357353334350e0000", "product_id"=>"5305fb5357353334350d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb5357353334350d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2696ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb5357353334350f0000'), "name"=>"Magali Marks", "reference"=>"Nathaniel Orn PhD", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('5305fb535735333435100000'), "firstname"=>"Madalyn", "lastname"=>"Kub"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4231ms
Processing by Admin::ManagersController#update as HTML
Parameters: {"id"=>"5305fb535735333435100000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5305fb5357353334350f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb5357353334350f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms
Unpermitted parameters: name
Redirected to http://test.host/admin/products/5305fb5357353334350f0000/manager
Completed 302 Found in 3ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb535735333435110000'), "name"=>"Akeem Miller", "reference"=>"Haylie Abernathy", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4288ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1699ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb535735333435120000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4906ms
Redirected to http://test.host/admin/products/5305fb535735333435120000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3336ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb535735333435130000'), "name"=>"Abel Wyman Sr.", "reference"=>"Kaya Kertzmann", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3503ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1751ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305fb535735333435130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb535735333435130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb535735333435130000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2984ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1868ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb535735333435140000'), "name"=>"Jermaine Daugherty", "reference"=>"Davon Wilderman PhD", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2675ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305fb535735333435140000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb535735333435140000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2542ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 9ms (Views: 7.8ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb535735333435150000'), "name"=>"Josh Russel", "reference"=>"Mireya Gaylord", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4176ms
Completed 200 OK in 10ms (Views: 9.9ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb535735333435160000'), "name"=>"Patricia Runte II", "reference"=>"Mr. Zander Barrows", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3876ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 22ms (Views: 6.3ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb535735333435190000'), "name"=>"Miss Lottie Rowe", "reference"=>"Wendell Price", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 8.2240ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305fb535735333435190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb535735333435190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3497ms
Completed 200 OK in 5ms (Views: 3.8ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb5357353334351a0000'), "name"=>"Braulio Zieme", "reference"=>"Maxie Berge", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4040ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305fb5357353334351a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb5357353334351a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2637ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb5357353334351a0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3162ms
Redirected to http://test.host/admin/products/5305fb5357353334351a0000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb5357353334351b0000'), "firstname"=>"Tiara", "lastname"=>"Huels"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4874ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2302ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb5357353334351c0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3881ms
Redirected to http://test.host/admin/users/5305fb5357353334351c0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2017ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb5357353334351d0000'), "firstname"=>"Jonas", "lastname"=>"Huel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3158ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1787ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305fb5357353334351d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb5357353334351d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb5357353334351d0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3165ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1903ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb5357353334351e0000'), "firstname"=>"Jacinto", "lastname"=>"Walker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2558ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305fb5357353334351e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb5357353334351e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.3ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb5357353334351f0000'), "firstname"=>"Oceane", "lastname"=>"McKenzie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4626ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3649ms
Completed 200 OK in 8ms (Views: 7.0ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb535735333435200000'), "firstname"=>"Shanelle", "lastname"=>"Watsica"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3208ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 5.0ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb535735333435210000'), "firstname"=>"Oceane", "lastname"=>"Robel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4107ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305fb535735333435210000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb535735333435210000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb535735333435220000'), "firstname"=>"Cordell", "lastname"=>"Hirthe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6442ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305fb535735333435220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb535735333435220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3548ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305fb535735333435220000
Completed 302 Found in 3ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb535735333435230000'), "firstname"=>"Ashton", "lastname"=>"Braun"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4707ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2255ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb535735333435240000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3709ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1817ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb535735333435250000'), "firstname"=>"Evie", "lastname"=>"Satterfield"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3098ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305fb535735333435250000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fb535735333435250000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2969ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.8ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb535735333435260000'), "firstname"=>"Napoleon", "lastname"=>"Doyle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4380ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 6ms (Views: 5.4ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb535735333435270000'), "firstname"=>"Lucious", "lastname"=>"Murazik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305fb535735333435270000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fb535735333435270000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2473ms
Completed 200 OK in 5ms (Views: 3.5ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb535735333435280000'), "firstname"=>"Susie", "lastname"=>"Wolff"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3872ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305fb535735333435280000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fb535735333435280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2460ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb535735333435290000'), "name"=>"Marley Waters", "reference"=>"Joanny Luettgen", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305fb5357353334352a0000'), "author_name"=>"Ms. Maudie Wintheiser", "content"=>["Quia ad aut eligendi. Labore natus repellat ea dolore. Sed qui quo. Ut velit dolores nam sit et. Repudiandae explicabo accusamus expedita ipsum qui sit sunt."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4521ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb535735333435290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2136ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305fb535735333435290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb535735333435290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3124ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb535735333435290000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fb5357353334352b0000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3471ms
Redirected to http://test.host/products/5305fb535735333435290000/comments/5305fb5357353334352b0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb535735333435290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2772ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb5357353334352c0000'), "name"=>"Lavina Strosin", "reference"=>"Vern Flatley", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305fb5357353334352d0000'), "author_name"=>"Benjamin Romaguera", "content"=>["Libero quo id consequuntur quia quibusdam. Eum reiciendis fugiat nobis non ea facilis. Adipisci incidunt quis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3839ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb5357353334352c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1923ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305fb5357353334352c0000", "id"=>"5305fb5357353334352d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb5357353334352c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2882ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb5357353334352c0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fb5357353334352d0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6464ms
Redirected to http://test.host/products/5305fb5357353334352c0000/comments
Completed 302 Found in 5ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb5357353334352c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb5357353334352e0000'), "name"=>"Alessia Koch DVM", "reference"=>"Mrs. Brenda Wuckert", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305fb5357353334352f0000'), "author_name"=>"Davion Wyman", "content"=>["Quia unde ea rem nam tenetur a dolorum. Distinctio voluptas deleniti sapiente autem. Tenetur odio magni quia facilis ducimus repellat est. Est quod ratione ut labore sunt tempora. Cumque molestiae est."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3683ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305fb5357353334352e0000", "id"=>"5305fb5357353334352f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb5357353334352e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2768ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 10ms (Views: 7.6ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb535735333435300000'), "name"=>"Mrs. Elroy Adams", "reference"=>"Amelie Kuhlman", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305fb535735333435310000'), "author_name"=>"Claudie Rutherford Sr.", "content"=>["Ipsam sed aut. Nihil qui et. Debitis inventore unde."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5100ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305fb535735333435300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb535735333435300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2963ms
Completed 200 OK in 6ms (Views: 4.4ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb535735333435320000'), "name"=>"Royal Nienow", "reference"=>"Dominic Lehner I", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305fb535735333435330000'), "author_name"=>"Aric Bashirian", "content"=>["Corrupti ea voluptate quia rerum hic in maiores. Dolore vero at voluptas sint. Corrupti et et consequatur praesentium similique earum. Non eius sunt nostrum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4310ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305fb535735333435320000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb535735333435320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2637ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.1ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb535735333435340000'), "name"=>"Ms. Hudson O'Connell", "reference"=>"Louie Durgan", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305fb535735333435350000'), "author_name"=>"Leola Howe", "content"=>["Dignissimos necessitatibus sit ipsam ut omnis. A reprehenderit corrupti quisquam. Eligendi odit soluta adipisci expedita perferendis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4249ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305fb535735333435340000", "id"=>"5305fb535735333435350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb535735333435340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms
Completed 200 OK in 6ms (Views: 4.3ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb535735333435360000'), "name"=>"Arnulfo Grady", "reference"=>"Lauriane Casper PhD", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305fb535735333435370000'), "author_name"=>"Miss Reid Zboncak", "content"=>["Dicta et voluptas. Voluptas in officia aliquid quo quod similique. Odit dolores ex placeat explicabo nesciunt minus voluptatem."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4759ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305fb535735333435370000", "product_id"=>"5305fb535735333435360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb535735333435360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2772ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb535735333435360000'), "comments._id"=>BSON::ObjectId('5305fb535735333435370000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4303ms
Redirected to http://test.host/products/5305fb535735333435360000/comments/5305fb535735333435370000
Completed 302 Found in 4ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb535735333435380000'), "firstname"=>"Belle", "lastname"=>"Quitzon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5031ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3220ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb535735333435390000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3754ms
Redirected to http://test.host/admin/clients/5305fb535735333435390000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1978ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb5357353334353a0000'), "firstname"=>"Marcus", "lastname"=>"Feil"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3077ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1755ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305fb5357353334353a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb5357353334353a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb5357353334353a0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2974ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1858ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb5357353334353b0000'), "firstname"=>"Jeromy", "lastname"=>"Lynch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2432ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305fb5357353334353b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb5357353334353b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2426ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb5357353334353c0000'), "firstname"=>"Milo", "lastname"=>"Kassulke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3010ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3781ms
Completed 200 OK in 39ms (Views: 38.0ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb5457353334353d0000'), "firstname"=>"Leatha", "lastname"=>"Greenfelder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4277ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb5457353334353e0000'), "firstname"=>"Cloyd", "lastname"=>"Raynor"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4361ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305fb5457353334353e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb5457353334353e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2562ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb5457353334353f0000'), "firstname"=>"Yasmeen", "lastname"=>"Osinski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305fb5457353334353f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb5457353334353f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb5457353334353f0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3216ms
Redirected to http://test.host/admin/clients/5305fb5457353334353f0000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb545735333435400000'), "firstname"=>"Arturo", "lastname"=>"Gusikowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2740ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1800ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb545735333435410000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4058ms
Redirected to http://test.host/clients/5305fb545735333435410000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3162ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb545735333435420000'), "firstname"=>"Margie", "lastname"=>"Dickens"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2991ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2023ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305fb545735333435420000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb545735333435420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2495ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb545735333435420000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2603ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1818ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb545735333435430000'), "firstname"=>"Adelle", "lastname"=>"Thiel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2445ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305fb545735333435430000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb545735333435430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2456ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb545735333435440000'), "firstname"=>"Jace", "lastname"=>"Monahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3478ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3448ms
Completed 200 OK in 10ms (Views: 9.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb545735333435450000'), "firstname"=>"Eli", "lastname"=>"Goodwin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3974ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb545735333435460000'), "firstname"=>"Glenda", "lastname"=>"Nolan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4420ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305fb545735333435460000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb545735333435460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb545735333435470000'), "firstname"=>"Kamron", "lastname"=>"Hills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305fb545735333435470000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb545735333435470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2614ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb545735333435470000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2807ms
Redirected to http://test.host/clients/5305fb545735333435470000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb545735333435480000'), "name"=>"Arlene Rogahn", "reference"=>"Mr. Erling Smith", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5305fb545735333435490000'), "firstname"=>"Katarina", "lastname"=>"Satterfield"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4747ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5305fb545735333435480000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb545735333435480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3010ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb545735333435480000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3195ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb545735333435480000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5305fb5457353334354a0000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2325ms
Redirected to http://test.host/products/5305fb545735333435480000/manager
Completed 302 Found in 5ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb5457353334354b0000'), "name"=>"Calista Lesch", "reference"=>"Sammy Hills I", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5305fb5457353334354c0000'), "firstname"=>"Lula", "lastname"=>"Nikolaus"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4489ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"5305fb5457353334354c0000", "product_id"=>"5305fb5457353334354b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb5457353334354b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3522ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.3ms)
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb5457353334354d0000'), "name"=>"Willard Rolfson", "reference"=>"Alfred Wisozk", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('5305fb5457353334354e0000'), "firstname"=>"Luna", "lastname"=>"Will"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4444ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"5305fb5457353334354d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb5457353334354d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2673ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb5457353334354f0000'), "name"=>"Jedidiah Mraz", "reference"=>"Dr. Rosanna Terry", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5305fb545735333435500000'), "firstname"=>"Efren", "lastname"=>"O'Reilly"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 12.2472ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"5305fb545735333435500000", "product_id"=>"5305fb5457353334354f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb5457353334354f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4335ms
Completed 200 OK in 6ms (Views: 4.0ms)
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb545735333435510000'), "name"=>"Daphne Altenwerth", "reference"=>"Ms. Murray Toy", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('5305fb545735333435520000'), "firstname"=>"Roxanne", "lastname"=>"Bradtke"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4610ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"5305fb545735333435520000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5305fb545735333435510000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb545735333435510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2778ms
Unpermitted parameters: name
Redirected to http://test.host/products/5305fb545735333435510000/manager
Completed 302 Found in 3ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb545735333435530000'), "name"=>"Arden Walsh", "reference"=>"Damien Schamberger", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4161ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1816ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb545735333435540000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms
Redirected to http://test.host/products/5305fb545735333435540000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1942ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb545735333435550000'), "name"=>"Jason Hermiston", "reference"=>"Maverick Hand", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3196ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1867ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305fb545735333435550000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb545735333435550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3943ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb545735333435550000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3761ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2389ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb545735333435560000'), "name"=>"Ora Rogahn", "reference"=>"Breana Hyatt", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3152ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305fb545735333435560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb545735333435560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2903ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.2ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb545735333435570000'), "name"=>"Katrina Beatty", "reference"=>"Bailey Jones", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4127ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6406ms
Completed 200 OK in 19ms (Views: 18.7ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb545735333435580000'), "name"=>"Kenyon Larkin", "reference"=>"Oswaldo Dach", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3794ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6054ms
Completed 200 OK in 4ms (Views: 1.6ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb545735333435590000'), "name"=>"Dr. Herta Haley", "reference"=>"Patricia Kulas", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3210ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305fb545735333435590000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb545735333435590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2618ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb5457353334355a0000'), "name"=>"Mrs. Wallace Gleason", "reference"=>"Magnus Koch DDS", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2995ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 8ms (Views: 6.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb5457353334355c0000'), "name"=>"Collin Cummings", "reference"=>"Kaylah Rutherford", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4340ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305fb5457353334355c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb5457353334355c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms
Completed 200 OK in 38ms (Views: 36.7ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb5457353334355d0000'), "name"=>"Obie Kub", "reference"=>"Rafaela Treutel", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4252ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1850ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb5457353334355e0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3389ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1952ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb5457353334355f0000'), "name"=>"Alice Koch", "reference"=>"Maude Lowe", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2545ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305fb5457353334355f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb5457353334355f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2673ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb5457353334355f0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2634ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb545735333435600000'), "name"=>"Jerome Schoen", "reference"=>"Rasheed Haley", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2756ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb545735333435620000'), "name"=>"Dolly Kozey", "reference"=>"Caterina Aufderhar", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4569ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305fb545735333435620000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb545735333435620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2766ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb545735333435620000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2947ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb545735333435630000'), "name"=>"Mireille Bernier", "reference"=>"Mr. Anais Morissette", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2832ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305fb545735333435630000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb545735333435630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2624ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb545735333435630000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2862ms
Redirected to http://test.host/products/5305fb545735333435630000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb545735333435640000'), "firstname"=>"Will", "lastname"=>"Roob"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4306ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1833ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb545735333435650000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms
Redirected to http://test.host/users/5305fb545735333435650000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1917ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb545735333435660000'), "firstname"=>"Elliot", "lastname"=>"Kub"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3072ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1660ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305fb545735333435660000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb545735333435660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4173ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb545735333435660000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2775ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1840ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb545735333435670000'), "firstname"=>"Sylvan", "lastname"=>"Kling"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2416ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305fb545735333435670000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb545735333435670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2568ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 200 OK in 8ms (Views: 6.8ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb545735333435680000'), "firstname"=>"Rollin", "lastname"=>"Mayert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4045ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3567ms
Completed 200 OK in 10ms (Views: 9.8ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb545735333435690000'), "firstname"=>"Rex", "lastname"=>"Considine"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4518ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb5457353334356a0000'), "firstname"=>"Milo", "lastname"=>"Rogahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305fb5457353334356a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb5457353334356a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb5457353334356b0000'), "firstname"=>"Seamus", "lastname"=>"Fay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3888ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305fb5457353334356b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb5457353334356b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305fb5457353334356b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6592ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2920ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2408ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2358ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2300ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb6c5735333460000000'), "firstname"=>"Titus", "lastname"=>"Brakus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4440ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1678ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb6c5735333460010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3633ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1841ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb6c5735333460020000'), "firstname"=>"Nathaniel", "lastname"=>"D'Amore"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2873ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305fb6c5735333460020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fb6c5735333460020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2352ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms)
Completed 200 OK in 54ms (Views: 52.6ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb6c5735333460030000'), "firstname"=>"Alvah", "lastname"=>"Ziemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4084ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 5ms (Views: 5.0ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb6c5735333460040000'), "firstname"=>"Garrison", "lastname"=>"Bechtelar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4103ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305fb6c5735333460040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fb6c5735333460040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2380ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb6c5735333460050000'), "firstname"=>"Jaleel", "lastname"=>"Heidenreich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3859ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305fb6c5735333460050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fb6c5735333460050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2298ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6c5735333460060000'), "name"=>"Vickie Borer Sr.", "reference"=>"Keshaun Wolf", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305fb6c5735333460070000'), "author_name"=>"Birdie Mraz", "content"=>["Ea ratione maiores eaque qui rerum reiciendis sint. Placeat impedit eum necessitatibus maxime. Aut modi eum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4806ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c5735333460060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1922ms
Processing by Admin::CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305fb6c5735333460060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c5735333460060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2591ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c5735333460060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fb6c5735333460080000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3154ms
Redirected to http://test.host/admin/products/5305fb6c5735333460060000/comments/5305fb6c5735333460080000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c5735333460060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2467ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6c5735333460090000'), "name"=>"Deanna Jaskolski V", "reference"=>"Casandra Jenkins Sr.", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305fb6c57353334600a0000'), "author_name"=>"Ms. Hiram Brakus", "content"=>["Aut fugit accusamus sit fugiat. Est porro ex quia quaerat omnis. Voluptate aut est sequi sit possimus quis amet."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3442ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c5735333460090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1832ms
Processing by Admin::CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305fb6c5735333460090000", "id"=>"5305fb6c57353334600a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c5735333460090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3059ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c5735333460090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fb6c57353334600a0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7174ms
Redirected to http://test.host/admin/products/5305fb6c5735333460090000/comments
Completed 302 Found in 34ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c5735333460090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3173ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6c57353334600b0000'), "name"=>"Kristian Feil I", "reference"=>"Kaya Rowe", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305fb6c57353334600c0000'), "author_name"=>"Ara Harris", "content"=>["Aut rerum ut esse natus iusto. Facere assumenda sit non fugiat. Sint quia sit voluptatum facere porro consequatur consequatur. Hic alias voluptatem voluptatibus. Ab voluptatum error quia ut laboriosam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3339ms
Processing by Admin::CommentsController#edit as HTML
Parameters: {"product_id"=>"5305fb6c57353334600b0000", "id"=>"5305fb6c57353334600c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c57353334600b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2830ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 10ms (Views: 7.7ms)
----------------------------------------------------
Admin::CommentsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6c57353334600d0000'), "name"=>"Gussie Rath", "reference"=>"Trudie Schmitt", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305fb6c57353334600e0000'), "author_name"=>"Cicero Thiel", "content"=>["Autem et saepe voluptas. Voluptatibus quod eos. Et id qui voluptatem dolores. Et et cupiditate corporis officia."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5395ms
Processing by Admin::CommentsController#index as HTML
Parameters: {"product_id"=>"5305fb6c57353334600d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c57353334600d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3751ms
Completed 200 OK in 7ms (Views: 4.5ms)
--------------------------------------------------
Admin::CommentsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6c57353334600f0000'), "name"=>"Sherman Effertz", "reference"=>"Deanna Langosh", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305fb6c5735333460100000'), "author_name"=>"Ramona Klocko", "content"=>["Veritatis voluptatem suscipit cum sed. Dicta aut libero recusandae impedit quod et maxime. Perferendis qui velit non dolorem eligendi culpa distinctio."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4301ms
Processing by Admin::CommentsController#new as HTML
Parameters: {"product_id"=>"5305fb6c57353334600f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c57353334600f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2729ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.1ms)
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6c5735333460110000'), "name"=>"Brad Ankunding", "reference"=>"Miss Bill Schinner", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305fb6c5735333460120000'), "author_name"=>"Kaden Schuppe", "content"=>["Deleniti magnam eaque magni. Error omnis ad perspiciatis. Nisi id aliquid ad. Labore deleniti beatae quo voluptates rerum dolore."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4403ms
Processing by Admin::CommentsController#show as HTML
Parameters: {"product_id"=>"5305fb6c5735333460110000", "id"=>"5305fb6c5735333460120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c5735333460110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2734ms
Completed 200 OK in 6ms (Views: 4.3ms)
-------------------------------------------------
Admin::CommentsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6c5735333460130000'), "name"=>"Tavares Gerlach", "reference"=>"Lacy Walker", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305fb6c5735333460140000'), "author_name"=>"Hazle Boyer II", "content"=>["Aut quam voluptatem quia provident cum est. Nostrum voluptatem quas doloremque veniam. Consequatur sit enim velit tempora perferendis. Est ut eius doloribus et quo. Quia sunt voluptatem minima nesciunt nemo quia."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4705ms
Processing by Admin::CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305fb6c5735333460140000", "product_id"=>"5305fb6c5735333460130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c5735333460130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2781ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c5735333460130000'), "comments._id"=>BSON::ObjectId('5305fb6c5735333460140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4173ms
Redirected to http://test.host/admin/products/5305fb6c5735333460130000/comments/5305fb6c5735333460140000
Completed 302 Found in 4ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6c5735333460150000'), "name"=>"Mrs. Art Harvey", "reference"=>"Ayden Hegmann", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('5305fb6c5735333460160000'), "firstname"=>"Keenan", "lastname"=>"Pfeffer"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4742ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5305fb6c5735333460150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c5735333460150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3095ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c5735333460150000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3633ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c5735333460150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5305fb6c5735333460170000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2599ms
Redirected to http://test.host/admin/products/5305fb6c5735333460150000/manager
Completed 302 Found in 5ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6c5735333460180000'), "name"=>"Raymond Schulist", "reference"=>"Ms. Pattie Stamm", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('5305fb6c5735333460190000'), "firstname"=>"Noelia", "lastname"=>"Crooks"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3613ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"5305fb6c5735333460190000", "product_id"=>"5305fb6c5735333460180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c5735333460180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.2ms)
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6c57353334601a0000'), "name"=>"Corrine Auer", "reference"=>"Amina Jacobson", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('5305fb6c57353334601b0000'), "firstname"=>"Orion", "lastname"=>"Terry"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6743ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"5305fb6c57353334601a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c57353334601a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 7ms (Views: 5.7ms)
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6c57353334601c0000'), "name"=>"Geovanny Cruickshank", "reference"=>"Savanna Feil", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5305fb6c57353334601d0000'), "firstname"=>"Violet", "lastname"=>"Howe"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4373ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"5305fb6c57353334601d0000", "product_id"=>"5305fb6c57353334601c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c57353334601c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2635ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6c57353334601e0000'), "name"=>"Ms. Alyson Connelly", "reference"=>"Mason Ritchie", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('5305fb6c57353334601f0000'), "firstname"=>"Linnie", "lastname"=>"Beatty"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4233ms
Processing by Admin::ManagersController#update as HTML
Parameters: {"id"=>"5305fb6c57353334601f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5305fb6c57353334601e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c57353334601e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2649ms
Unpermitted parameters: name
Redirected to http://test.host/admin/products/5305fb6c57353334601e0000/manager
Completed 302 Found in 3ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6c5735333460200000'), "name"=>"Mrs. Ambrose Ryan", "reference"=>"Niko Jenkins", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4346ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1837ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6c5735333460210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4425ms
Redirected to http://test.host/admin/products/5305fb6c5735333460210000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3067ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6c5735333460220000'), "name"=>"Houston Robel", "reference"=>"Jillian Adams", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3631ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1820ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305fb6c5735333460220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c5735333460220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2669ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c5735333460220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2973ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1902ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6c5735333460230000'), "name"=>"Esmeralda Romaguera", "reference"=>"Russell Boehm", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2583ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305fb6c5735333460230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c5735333460230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2616ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 9ms (Views: 8.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6c5735333460240000'), "name"=>"Jimmie Corkery", "reference"=>"Dr. Jamarcus Miller", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4148ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5474ms
Completed 200 OK in 14ms (Views: 13.4ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6c5735333460250000'), "name"=>"Clark Legros", "reference"=>"Mrs. Brooks Torp", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3720ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 23ms (Views: 6.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6c5735333460280000'), "name"=>"Marley Schinner", "reference"=>"Lois Strosin", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4273ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305fb6c5735333460280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c5735333460280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6c5735333460290000'), "name"=>"Orlando Padberg", "reference"=>"Wiley Kertzmann", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3990ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305fb6c5735333460290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c5735333460290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6c5735333460290000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3189ms
Redirected to http://test.host/admin/products/5305fb6c5735333460290000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb6c57353334602a0000'), "firstname"=>"Cyrus", "lastname"=>"Walker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4035ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1841ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb6c57353334602b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4684ms
Redirected to http://test.host/admin/users/5305fb6c57353334602b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2045ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb6c57353334602c0000'), "firstname"=>"Aida", "lastname"=>"Yundt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3177ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1711ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305fb6c57353334602c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb6c57353334602c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2556ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb6c57353334602c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2932ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1827ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb6c57353334602d0000'), "firstname"=>"Genesis", "lastname"=>"Marvin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2426ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305fb6c57353334602d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb6c57353334602d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2465ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb6c57353334602e0000'), "firstname"=>"Gladyce", "lastname"=>"Olson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4030ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3263ms
Completed 200 OK in 39ms (Views: 38.6ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb6d57353334602f0000'), "firstname"=>"Alivia", "lastname"=>"Breitenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4261ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460300000'), "firstname"=>"Roxanne", "lastname"=>"Bergstrom"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4109ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305fb6d5735333460300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb6d5735333460300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460310000'), "firstname"=>"Deion", "lastname"=>"Franecki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305fb6d5735333460310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb6d5735333460310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2576ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305fb6d5735333460310000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460320000'), "firstname"=>"Maddison", "lastname"=>"Emmerich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4314ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2245ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460330000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4505ms
Redirected to http://test.host/administrator
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1949ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460340000'), "firstname"=>"Arjun", "lastname"=>"Stehr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3107ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305fb6d5735333460340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fb6d5735333460340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2614ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.9ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460350000'), "firstname"=>"Mollie", "lastname"=>"Donnelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4092ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460360000'), "firstname"=>"Nayeli", "lastname"=>"Price"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305fb6d5735333460360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fb6d5735333460360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2941ms
Completed 200 OK in 6ms (Views: 4.2ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460370000'), "firstname"=>"Randall", "lastname"=>"Zulauf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4282ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305fb6d5735333460370000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fb6d5735333460370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460380000'), "name"=>"Tania Weber", "reference"=>"Terrell Durgan", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305fb6d5735333460390000'), "author_name"=>"Mr. Sabrina Shields", "content"=>["Doloribus sequi aliquam magni facere. Blanditiis pariatur dicta doloribus aut ea sunt optio. Nisi eum odit cumque quasi. Sed eum enim exercitationem in cumque voluptatem minus. Dolorem non reiciendis consequatur explicabo id."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4401ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d5735333460380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2056ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305fb6d5735333460380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d5735333460380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2811ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d5735333460380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fb6d57353334603a0000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3128ms
Redirected to http://test.host/products/5305fb6d5735333460380000/comments/5305fb6d57353334603a0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d5735333460380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2054ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d57353334603b0000'), "name"=>"Mrs. Chris Pouros", "reference"=>"Camryn Hartmann", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305fb6d57353334603c0000'), "author_name"=>"Ms. Hannah Gibson", "content"=>["Mollitia odio et perferendis placeat. Hic sit incidunt eaque rerum in tenetur blanditiis. Amet quibusdam id odio mollitia."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3662ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d57353334603b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1979ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305fb6d57353334603b0000", "id"=>"5305fb6d57353334603c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d57353334603b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d57353334603b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fb6d57353334603c0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3278ms
Redirected to http://test.host/products/5305fb6d57353334603b0000/comments
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d57353334603b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1896ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d57353334603d0000'), "name"=>"Dr. Maud Hudson", "reference"=>"Kennith Kemmer I", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305fb6d57353334603e0000'), "author_name"=>"Lizzie Barton", "content"=>["Debitis voluptatem qui dicta quas. Eos blanditiis non alias deserunt quam. Harum quia nostrum similique ea fugiat veritatis in. Impedit deleniti dolor ex ut accusantium. A ullam rerum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5005ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305fb6d57353334603d0000", "id"=>"5305fb6d57353334603e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d57353334603d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3265ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 9ms (Views: 7.1ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d57353334603f0000'), "name"=>"Cristian Trantow", "reference"=>"Johnathan Runolfsdottir", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305fb6d5735333460400000'), "author_name"=>"Marlin Steuber", "content"=>["Natus ipsam corporis ut minus nihil ab. Molestias consequatur eum dolores non omnis sed est. Earum nobis non illo voluptate. Recusandae quia illum amet voluptatem vel."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4533ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305fb6d57353334603f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d57353334603f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3022ms
Completed 200 OK in 37ms (Views: 35.2ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460410000'), "name"=>"Aimee Jakubowski", "reference"=>"Dr. Flavie Legros", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305fb6d5735333460420000'), "author_name"=>"Dean Johns", "content"=>["Consequuntur occaecati aspernatur. Inventore consequatur voluptatum. Culpa repudiandae in."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4726ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305fb6d5735333460410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d5735333460410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2842ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.4ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460430000'), "name"=>"Ryder Crooks III", "reference"=>"Khalid Larson", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305fb6d5735333460440000'), "author_name"=>"Nadia Watsica", "content"=>["Adipisci quis explicabo qui possimus consequatur nam sapiente. A non deserunt rem omnis. Cumque voluptas laborum qui harum accusamus. Dolorem vel quisquam enim error. Ducimus voluptatem fuga magni sint laborum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5002ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305fb6d5735333460430000", "id"=>"5305fb6d5735333460440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d5735333460430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3049ms
Completed 200 OK in 6ms (Views: 3.9ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460450000'), "name"=>"Emmalee Flatley III", "reference"=>"Mr. Irwin White", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305fb6d5735333460460000'), "author_name"=>"Keyon Schuster", "content"=>["Voluptatem cupiditate recusandae rerum voluptatum. Assumenda ut itaque non praesentium suscipit. Itaque ut similique inventore ab."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4094ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305fb6d5735333460460000", "product_id"=>"5305fb6d5735333460450000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d5735333460450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3854ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d5735333460450000'), "comments._id"=>BSON::ObjectId('5305fb6d5735333460460000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5233ms
Redirected to http://test.host/products/5305fb6d5735333460450000/comments/5305fb6d5735333460460000
Completed 302 Found in 5ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460470000'), "firstname"=>"Hardy", "lastname"=>"Tremblay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.4117ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2056ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460480000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4710ms
Redirected to http://test.host/admin/clients/5305fb6d5735333460480000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2095ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460490000'), "firstname"=>"Danny", "lastname"=>"Eichmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3599ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2028ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305fb6d5735333460490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb6d5735333460490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2539ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb6d5735333460490000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2949ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1872ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb6d57353334604a0000'), "firstname"=>"Terrell", "lastname"=>"Strosin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2478ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305fb6d57353334604a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb6d57353334604a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2492ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb6d57353334604b0000'), "firstname"=>"Joshua", "lastname"=>"Leannon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4063ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms
Completed 200 OK in 9ms (Views: 7.8ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb6d57353334604c0000'), "firstname"=>"Marquise", "lastname"=>"Durgan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4473ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 39ms (Views: 38.1ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb6d57353334604d0000'), "firstname"=>"Aniyah", "lastname"=>"Hand"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4650ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305fb6d57353334604d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb6d57353334604d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3962ms
Completed 200 OK in 7ms (Views: 4.7ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb6d57353334604e0000'), "firstname"=>"Tanya", "lastname"=>"Heaney"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4393ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305fb6d57353334604e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb6d57353334604e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2827ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb6d57353334604e0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8577ms
Redirected to http://test.host/admin/clients/5305fb6d57353334604e0000
Completed 302 Found in 6ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb6d57353334604f0000'), "firstname"=>"Deborah", "lastname"=>"Brakus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3008ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1846ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460500000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3090ms
Redirected to http://test.host/clients/5305fb6d5735333460500000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1921ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460510000'), "firstname"=>"Erick", "lastname"=>"Marquardt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2393ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1730ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305fb6d5735333460510000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb6d5735333460510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb6d5735333460510000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2597ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1864ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460520000'), "firstname"=>"Dexter", "lastname"=>"Leffler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2617ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305fb6d5735333460520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb6d5735333460520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3199ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.6ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460530000'), "firstname"=>"Sidney", "lastname"=>"Murray"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3801ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3716ms
Completed 200 OK in 11ms (Views: 10.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460540000'), "firstname"=>"Duncan", "lastname"=>"Harris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3781ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 7ms (Views: 6.5ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460550000'), "firstname"=>"Evelyn", "lastname"=>"Effertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4241ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305fb6d5735333460550000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb6d5735333460550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460560000'), "firstname"=>"Lolita", "lastname"=>"Murazik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3449ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305fb6d5735333460560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb6d5735333460560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb6d5735333460560000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2771ms
Redirected to http://test.host/clients/5305fb6d5735333460560000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460570000'), "name"=>"Walton Rempel", "reference"=>"Anika Conroy", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('5305fb6d5735333460580000'), "firstname"=>"Rosella", "lastname"=>"Jakubowski"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4222ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5305fb6d5735333460570000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d5735333460570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3225ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d5735333460570000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4477ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d5735333460570000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5305fb6d5735333460590000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3785ms
Redirected to http://test.host/products/5305fb6d5735333460570000/manager
Completed 302 Found in 6ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d57353334605a0000'), "name"=>"Felicity Durgan", "reference"=>"Leland Hermann", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5305fb6d57353334605b0000'), "firstname"=>"Lonzo", "lastname"=>"Hilll"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3909ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"5305fb6d57353334605b0000", "product_id"=>"5305fb6d57353334605a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d57353334605a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2922ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 9ms (Views: 7.2ms)
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d57353334605c0000'), "name"=>"Libby Kessler", "reference"=>"Ms. Marguerite Homenick", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305fb6d57353334605d0000'), "firstname"=>"Constance", "lastname"=>"Upton"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4339ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"5305fb6d57353334605c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d57353334605c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.3ms)
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d57353334605e0000'), "name"=>"Emmie Rogahn", "reference"=>"Ms. Kenton Pollich", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('5305fb6d57353334605f0000'), "firstname"=>"Thad", "lastname"=>"Prosacco"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4969ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"5305fb6d57353334605f0000", "product_id"=>"5305fb6d57353334605e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d57353334605e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2949ms
Completed 200 OK in 5ms (Views: 3.7ms)
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460600000'), "name"=>"Alene McCullough", "reference"=>"Harvey Runolfsson", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305fb6d5735333460610000'), "firstname"=>"Karlee", "lastname"=>"Greenholt"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4261ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"5305fb6d5735333460610000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5305fb6d5735333460600000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d5735333460600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4109ms
Unpermitted parameters: name
Redirected to http://test.host/products/5305fb6d5735333460600000/manager
Completed 302 Found in 35ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460620000'), "name"=>"Kyra Prohaska", "reference"=>"Christine Rosenbaum IV", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4372ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1880ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460630000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4943ms
Redirected to http://test.host/products/5305fb6d5735333460630000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2336ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460640000'), "name"=>"Miss Major Becker", "reference"=>"Aubree Hane", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3428ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1821ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305fb6d5735333460640000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d5735333460640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2640ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d5735333460640000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2611ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1896ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460650000'), "name"=>"Bradley Hyatt", "reference"=>"Mrs. Bonnie Schaden", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2621ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305fb6d5735333460650000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d5735333460650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2605ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460660000'), "name"=>"Fleta Jacobi", "reference"=>"Mateo MacGyver", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4170ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7949ms
Completed 200 OK in 23ms (Views: 23.0ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460670000'), "name"=>"Loma Olson Jr.", "reference"=>"Ms. Hillard Price", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7239ms
Completed 200 OK in 5ms (Views: 2.0ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460680000'), "name"=>"Jairo Walsh", "reference"=>"Tremayne Reinger IV", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4599ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305fb6d5735333460680000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d5735333460680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3938ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460690000'), "name"=>"Vaughn Ankunding V", "reference"=>"Kaylie Hoeger", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3498ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 7ms (Views: 6.1ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d57353334606b0000'), "name"=>"Graham Turner Jr.", "reference"=>"Ellsworth Williamson PhD", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4621ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305fb6d57353334606b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d57353334606b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2541ms
Completed 200 OK in 5ms (Views: 3.6ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d57353334606c0000'), "name"=>"Daren Aufderhar", "reference"=>"Ricardo Bergstrom", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3852ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1589ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d57353334606d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2748ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d57353334606e0000'), "name"=>"Levi Pagac", "reference"=>"Kevin Grant", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4359ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305fb6d57353334606e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d57353334606e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3128ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d57353334606e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3026ms
Completed 200 OK in 2ms (Views: 0.2ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d57353334606f0000'), "name"=>"Marlen Boehm", "reference"=>"Alden Gerhold", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3217ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460710000'), "name"=>"Mrs. Veda Maggio", "reference"=>"Jasmin Kovacek", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4184ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305fb6d5735333460710000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d5735333460710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3098ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d5735333460710000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3267ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460720000'), "name"=>"Janelle Stroman", "reference"=>"Khalid Volkman", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3185ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305fb6d5735333460720000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d5735333460720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb6d5735333460720000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2989ms
Redirected to http://test.host/products/5305fb6d5735333460720000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460730000'), "firstname"=>"Hallie", "lastname"=>"Jacobi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4258ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1850ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460740000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3658ms
Redirected to http://test.host/users/5305fb6d5735333460740000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1997ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460750000'), "firstname"=>"Johann", "lastname"=>"Stiedemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3131ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1817ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305fb6d5735333460750000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb6d5735333460750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2637ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb6d5735333460750000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2651ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1848ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460760000'), "firstname"=>"Sammie", "lastname"=>"Kozey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2557ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305fb6d5735333460760000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb6d5735333460760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.5ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460770000'), "firstname"=>"Shannon", "lastname"=>"Bartell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4449ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3765ms
Completed 200 OK in 11ms (Views: 10.6ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460780000'), "firstname"=>"Savanah", "lastname"=>"Parisian"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb6d5735333460790000'), "firstname"=>"Reba", "lastname"=>"Windler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4059ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305fb6d5735333460790000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb6d5735333460790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2520ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb6d57353334607a0000'), "firstname"=>"Charlene", "lastname"=>"Walsh"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3876ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305fb6d57353334607a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb6d57353334607a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2714ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305fb6d57353334607a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5889ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3277ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5165ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3213ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3119ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a000000'), "firstname"=>"Furman", "lastname"=>"Simonis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4773ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2069ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5188ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3425ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a020000'), "firstname"=>"Esperanza", "lastname"=>"Gutmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5229ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305fb7b573533348a020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fb7b573533348a020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms)
Completed 200 OK in 54ms (Views: 52.2ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a030000'), "firstname"=>"Andrew", "lastname"=>"Mueller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a040000'), "firstname"=>"Princess", "lastname"=>"Anderson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4360ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305fb7b573533348a040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fb7b573533348a040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3305ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a050000'), "firstname"=>"Mireya", "lastname"=>"Yost"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4352ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305fb7b573533348a050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fb7b573533348a050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3482ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 3ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a060000'), "name"=>"Dr. Fay Steuber", "reference"=>"Lavina Conn V", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305fb7b573533348a070000'), "author_name"=>"Leopold Deckow", "content"=>["Itaque delectus aperiam. Ut voluptates saepe tenetur et dolorum illo qui. Ut sit iste possimus nemo placeat omnis beatae."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4581ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2580ms
Processing by Admin::CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305fb7b573533348a060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3182ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fb7b573533348a080000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms
Redirected to http://test.host/admin/products/5305fb7b573533348a060000/comments/5305fb7b573533348a080000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3098ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a090000'), "name"=>"Annabelle Torp", "reference"=>"Nora Reichel", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305fb7b573533348a0a0000'), "author_name"=>"Tomasa Collins", "content"=>["Est debitis est repudiandae sit quas. Voluptas adipisci assumenda libero. Culpa est excepturi dolor ut nobis iste ipsam. Tenetur et autem labore porro cum. Rerum voluptatum amet sed et ea."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4058ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2529ms
Processing by Admin::CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305fb7b573533348a090000", "id"=>"5305fb7b573533348a0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3067ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fb7b573533348a0a0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4941ms
Redirected to http://test.host/admin/products/5305fb7b573533348a090000/comments
Completed 302 Found in 32ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2293ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a0b0000'), "name"=>"Mrs. Maia Bradtke", "reference"=>"Finn Hilpert PhD", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305fb7b573533348a0c0000'), "author_name"=>"Katelyn Ernser", "content"=>["Fuga eum quae consectetur architecto. Laudantium fuga vero quidem commodi nisi eum et. Veniam itaque officia. Asperiores autem ut quaerat repudiandae expedita omnis. Rerum officia qui in repellat dolore aut voluptatibus."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3389ms
Processing by Admin::CommentsController#edit as HTML
Parameters: {"product_id"=>"5305fb7b573533348a0b0000", "id"=>"5305fb7b573533348a0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2852ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 10ms (Views: 7.7ms)
----------------------------------------------------
Admin::CommentsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a0d0000'), "name"=>"Dianna Nolan III", "reference"=>"Antone Strosin DDS", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305fb7b573533348a0e0000'), "author_name"=>"Nicole Hirthe", "content"=>["Ut eveniet ab vitae quasi consequatur qui. Debitis cum aut rerum. Ipsam ut blanditiis ut neque."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5348ms
Processing by Admin::CommentsController#index as HTML
Parameters: {"product_id"=>"5305fb7b573533348a0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4024ms
Completed 200 OK in 7ms (Views: 4.7ms)
--------------------------------------------------
Admin::CommentsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a0f0000'), "name"=>"Nina Spencer", "reference"=>"Mrs. Enrique Powlowski", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305fb7b573533348a100000'), "author_name"=>"Pearline Hoppe", "content"=>["Tempore consequuntur quidem rerum. Eum repellat nihil nobis. Velit rerum sit fugiat assumenda fugit alias officiis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4625ms
Processing by Admin::CommentsController#new as HTML
Parameters: {"product_id"=>"5305fb7b573533348a0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.2ms)
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a110000'), "name"=>"Nathan Jones", "reference"=>"Devan Purdy", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305fb7b573533348a120000'), "author_name"=>"Macey Wiegand", "content"=>["Nemo quo qui. Tempora nam quas. Soluta alias quibusdam consequatur. Voluptatem mollitia tempore et et amet qui et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4410ms
Processing by Admin::CommentsController#show as HTML
Parameters: {"product_id"=>"5305fb7b573533348a110000", "id"=>"5305fb7b573533348a120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms
Completed 200 OK in 6ms (Views: 4.1ms)
-------------------------------------------------
Admin::CommentsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a130000'), "name"=>"Hershel Gottlieb", "reference"=>"Wilfred Dach", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305fb7b573533348a140000'), "author_name"=>"Chelsie Block Jr.", "content"=>["Facere molestiae perferendis. Consequatur architecto sapiente placeat fugiat odit consequatur numquam. Est at odio eligendi laborum sapiente sunt quisquam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4838ms
Processing by Admin::CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305fb7b573533348a140000", "product_id"=>"5305fb7b573533348a130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2690ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a130000'), "comments._id"=>BSON::ObjectId('5305fb7b573533348a140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4234ms
Redirected to http://test.host/admin/products/5305fb7b573533348a130000/comments/5305fb7b573533348a140000
Completed 302 Found in 4ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a150000'), "name"=>"Grayson Leannon DVM", "reference"=>"Miss Chance Quigley", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('5305fb7b573533348a160000'), "firstname"=>"Julian", "lastname"=>"Konopelski"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4998ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5305fb7b573533348a150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3671ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a150000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3455ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5305fb7b573533348a170000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2384ms
Redirected to http://test.host/admin/products/5305fb7b573533348a150000/manager
Completed 302 Found in 5ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a180000'), "name"=>"Ernie Mayer", "reference"=>"Luciano Kunze", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305fb7b573533348a190000'), "firstname"=>"Stevie", "lastname"=>"Klocko"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3635ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"5305fb7b573533348a190000", "product_id"=>"5305fb7b573533348a180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2704ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.2ms)
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a1a0000'), "name"=>"Dulce Gorczany", "reference"=>"Alysa McLaughlin", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5305fb7b573533348a1b0000'), "firstname"=>"Dashawn", "lastname"=>"Thompson"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4220ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"5305fb7b573533348a1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2574ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 5.9ms)
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a1c0000'), "name"=>"Alden Harris", "reference"=>"Christina Kozey", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('5305fb7b573533348a1d0000'), "firstname"=>"Norval", "lastname"=>"Lehner"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4528ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"5305fb7b573533348a1d0000", "product_id"=>"5305fb7b573533348a1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2712ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a1e0000'), "name"=>"Sarah Hauck", "reference"=>"Miss Frankie Watsica", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('5305fb7b573533348a1f0000'), "firstname"=>"Rhianna", "lastname"=>"Hackett"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4198ms
Processing by Admin::ManagersController#update as HTML
Parameters: {"id"=>"5305fb7b573533348a1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5305fb7b573533348a1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2689ms
Unpermitted parameters: name
Redirected to http://test.host/admin/products/5305fb7b573533348a1e0000/manager
Completed 302 Found in 3ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a200000'), "name"=>"Ms. Victor Schinner", "reference"=>"Arno O'Reilly", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4387ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2478ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3452ms
Redirected to http://test.host/admin/products/5305fb7b573533348a210000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1996ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a220000'), "name"=>"Mr. Andreane Frami", "reference"=>"Annette Harris", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3327ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1808ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305fb7b573533348a220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2976ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3133ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1900ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a230000'), "name"=>"Ms. Jarod Kub", "reference"=>"Faye VonRueden", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2602ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305fb7b573533348a230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2785ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 9ms (Views: 8.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a240000'), "name"=>"Dorcas Becker Jr.", "reference"=>"Tamia Stanton", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4108ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5593ms
Completed 200 OK in 14ms (Views: 13.9ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a250000'), "name"=>"Ethan Emard", "reference"=>"Luigi Douglas", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3737ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 23ms (Views: 6.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a280000'), "name"=>"Jarrell Klocko", "reference"=>"Brooks Larkin", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.5254ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305fb7b573533348a280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a290000'), "name"=>"Ludwig Kiehn V", "reference"=>"Dr. Percival Crist", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3930ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305fb7b573533348a290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2571ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a290000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3216ms
Redirected to http://test.host/admin/products/5305fb7b573533348a290000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a2a0000'), "firstname"=>"Maxime", "lastname"=>"Lakin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4643ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1667ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a2b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4273ms
Redirected to http://test.host/admin/users/5305fb7b573533348a2b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1727ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a2c0000'), "firstname"=>"Emerson", "lastname"=>"Witting"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3464ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1872ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305fb7b573533348a2c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb7b573533348a2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2613ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb7b573533348a2c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2989ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1916ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a2d0000'), "firstname"=>"Franz", "lastname"=>"Wolf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2289ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305fb7b573533348a2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb7b573533348a2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a2e0000'), "firstname"=>"Graham", "lastname"=>"Considine"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3840ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3173ms
Completed 200 OK in 39ms (Views: 38.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a2f0000'), "firstname"=>"Daryl", "lastname"=>"Johnston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4042ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.4ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a300000'), "firstname"=>"Madie", "lastname"=>"Jones"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3986ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305fb7b573533348a300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb7b573533348a300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3018ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a310000'), "firstname"=>"Juwan", "lastname"=>"Hills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4158ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305fb7b573533348a310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb7b573533348a310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3117ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305fb7b573533348a310000
Completed 302 Found in 3ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a320000'), "firstname"=>"Magdalena", "lastname"=>"McLaughlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4787ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1861ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a330000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3344ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1929ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a340000'), "firstname"=>"Moshe", "lastname"=>"Okuneva"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3047ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305fb7b573533348a340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fb7b573533348a340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3072ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 6.9ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a350000'), "firstname"=>"Ignatius", "lastname"=>"Schneider"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4055ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a360000'), "firstname"=>"Lon", "lastname"=>"Friesen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4504ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305fb7b573533348a360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fb7b573533348a360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3498ms
Completed 200 OK in 5ms (Views: 3.7ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a370000'), "firstname"=>"Vito", "lastname"=>"Prosacco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3960ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305fb7b573533348a370000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fb7b573533348a370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2519ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a380000'), "name"=>"Mrs. Madalyn Abshire", "reference"=>"Eloise Swaniawski Sr.", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305fb7b573533348a390000'), "author_name"=>"Margaret Gislason II", "content"=>["Consequatur corporis vel sint voluptatem. Quia magnam eos sint. Consequatur asperiores ducimus impedit optio mollitia."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4693ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2076ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305fb7b573533348a380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3158ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fb7b573533348a3a0000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3075ms
Redirected to http://test.host/products/5305fb7b573533348a380000/comments/5305fb7b573533348a3a0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1975ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a3b0000'), "name"=>"Felicia Osinski", "reference"=>"Miss Reuben Erdman", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305fb7b573533348a3c0000'), "author_name"=>"Mrs. Don Cassin", "content"=>["Et eveniet libero animi dolor. Eum praesentium hic. Accusantium ut repellendus. Ullam nisi sed."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4869ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2567ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305fb7b573533348a3b0000", "id"=>"5305fb7b573533348a3c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2372ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fb7b573533348a3c0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2688ms
Redirected to http://test.host/products/5305fb7b573533348a3b0000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1506ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a3d0000'), "name"=>"Mrs. Madelyn Schowalter", "reference"=>"Kassandra Yost", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305fb7b573533348a3e0000'), "author_name"=>"Kiara Luettgen", "content"=>["Quaerat architecto temporibus ullam maiores harum voluptatem aperiam. Ipsam atque at dolorum. Voluptates iste dolorem reiciendis corporis quae fugit. Voluptatibus repellat quam ducimus voluptas porro molestias rerum. Autem esse voluptas quaerat praesentium quas."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2681ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305fb7b573533348a3d0000", "id"=>"5305fb7b573533348a3e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2311ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 9ms (Views: 7.1ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a3f0000'), "name"=>"Cory Huel", "reference"=>"Leora Runte", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305fb7b573533348a400000'), "author_name"=>"Wiley Hartmann", "content"=>["Et iure debitis et earum sunt eum maxime. Suscipit dolor repellendus id excepturi. Voluptates sed et totam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4327ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305fb7b573533348a3f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms
Completed 200 OK in 37ms (Views: 35.2ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a410000'), "name"=>"Dr. Viva Mayer", "reference"=>"Joshuah Collins", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305fb7b573533348a420000'), "author_name"=>"Cali Dickinson", "content"=>["Et aliquam id quas delectus omnis dolorem adipisci. Distinctio qui sit enim. Molestiae quis corporis perferendis et ut eos."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4398ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305fb7b573533348a410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.3ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a430000'), "name"=>"Jacinto Rosenbaum", "reference"=>"Mr. Alessandra Corwin", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305fb7b573533348a440000'), "author_name"=>"Hollie Blick", "content"=>["Consequatur laboriosam ad omnis provident dolorem sint velit. Iure velit deserunt. Aut doloremque voluptatem dicta laudantium exercitationem expedita. Dolorem voluptatem a voluptatibus autem. Vitae qui hic quod ut eos."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4427ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305fb7b573533348a430000", "id"=>"5305fb7b573533348a440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms
Completed 200 OK in 6ms (Views: 3.9ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a450000'), "name"=>"Dr. Hardy Welch", "reference"=>"Candice Powlowski III", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305fb7b573533348a460000'), "author_name"=>"Daryl Shanahan", "content"=>["Ipsa vitae rem et similique. Fugiat sapiente corrupti ratione consequatur quibusdam repellat. Dolores cumque animi laudantium deserunt sapiente illum. Earum quis excepturi."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4353ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305fb7b573533348a460000", "product_id"=>"5305fb7b573533348a450000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3196ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7b573533348a450000'), "comments._id"=>BSON::ObjectId('5305fb7b573533348a460000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5519ms
Redirected to http://test.host/products/5305fb7b573533348a450000/comments/5305fb7b573533348a460000
Completed 302 Found in 5ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a470000'), "firstname"=>"Dell", "lastname"=>"Baumbach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4547ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1849ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a480000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4349ms
Redirected to http://test.host/admin/clients/5305fb7b573533348a480000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3326ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a490000'), "firstname"=>"Haven", "lastname"=>"Sawayn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5249ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2333ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305fb7b573533348a490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb7b573533348a490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2942ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb7b573533348a490000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3478ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2333ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a4a0000'), "firstname"=>"Ophelia", "lastname"=>"Schuster"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2934ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305fb7b573533348a4a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb7b573533348a4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2515ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a4b0000'), "firstname"=>"Clotilde", "lastname"=>"Lowe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3665ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4095ms
Completed 200 OK in 9ms (Views: 7.5ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a4c0000'), "firstname"=>"Chelsea", "lastname"=>"Boyer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 39ms (Views: 38.3ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb7b573533348a4d0000'), "firstname"=>"Cara", "lastname"=>"Zboncak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4159ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305fb7b573533348a4d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb7b573533348a4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2957ms
Completed 200 OK in 6ms (Views: 4.8ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a4e0000'), "firstname"=>"Sandra", "lastname"=>"Rutherford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4673ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305fb7c573533348a4e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb7c573533348a4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2763ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb7c573533348a4e0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3328ms
Redirected to http://test.host/admin/clients/5305fb7c573533348a4e0000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a4f0000'), "firstname"=>"Clinton", "lastname"=>"Beahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2907ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1915ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a500000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3176ms
Redirected to http://test.host/clients/5305fb7c573533348a500000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1965ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a510000'), "firstname"=>"Kaci", "lastname"=>"Cartwright"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2000ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1340ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305fb7c573533348a510000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb7c573533348a510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb7c573533348a510000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2614ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1859ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a520000'), "firstname"=>"Bradford", "lastname"=>"Carter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2473ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305fb7c573533348a520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb7c573533348a520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.3ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a530000'), "firstname"=>"Sylvester", "lastname"=>"Ledner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4318ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4092ms
Completed 200 OK in 11ms (Views: 10.6ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a540000'), "firstname"=>"Noble", "lastname"=>"Nienow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3795ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.6ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a550000'), "firstname"=>"Marilie", "lastname"=>"Jakubowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305fb7c573533348a550000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb7c573533348a550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3936ms
Completed 200 OK in 5ms (Views: 3.4ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a560000'), "firstname"=>"Eulah", "lastname"=>"Schroeder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3641ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305fb7c573533348a560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb7c573533348a560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2826ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fb7c573533348a560000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2600ms
Redirected to http://test.host/clients/5305fb7c573533348a560000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a570000'), "name"=>"Jacynthe Sporer II", "reference"=>"Miss Samanta Marvin", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5305fb7c573533348a580000'), "firstname"=>"Stanton", "lastname"=>"Weber"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4211ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5305fb7c573533348a570000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7c573533348a570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2928ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7c573533348a570000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2926ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7c573533348a570000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5305fb7c573533348a590000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2353ms
Redirected to http://test.host/products/5305fb7c573533348a570000/manager
Completed 302 Found in 5ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a5a0000'), "name"=>"Jared O'Reilly", "reference"=>"Jonatan Schamberger", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5305fb7c573533348a5b0000'), "firstname"=>"Gina", "lastname"=>"Bernier"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3795ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"5305fb7c573533348a5b0000", "product_id"=>"5305fb7c573533348a5a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7c573533348a5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3996ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 9ms (Views: 7.1ms)
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a5c0000'), "name"=>"Paula Runolfsson", "reference"=>"Rashad Hoppe DDS", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('5305fb7c573533348a5d0000'), "firstname"=>"Toby", "lastname"=>"Kerluke"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4318ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"5305fb7c573533348a5c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7c573533348a5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 7ms (Views: 5.3ms)
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a5e0000'), "name"=>"Moshe Doyle I", "reference"=>"Devante Mayer PhD", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5305fb7c573533348a5f0000'), "firstname"=>"Emely", "lastname"=>"Keeling"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4310ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"5305fb7c573533348a5f0000", "product_id"=>"5305fb7c573533348a5e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7c573533348a5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3011ms
Completed 200 OK in 6ms (Views: 4.0ms)
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a600000'), "name"=>"Judge Mayer", "reference"=>"Ms. Dahlia Mante", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('5305fb7c573533348a610000'), "firstname"=>"Ahmad", "lastname"=>"Goodwin"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4959ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"5305fb7c573533348a610000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5305fb7c573533348a600000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7c573533348a600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3482ms
Unpermitted parameters: name
Redirected to http://test.host/products/5305fb7c573533348a600000/manager
Completed 302 Found in 3ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a620000'), "name"=>"Broderick McKenzie", "reference"=>"Dr. Pablo Veum", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4450ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1869ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a630000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3582ms
Redirected to http://test.host/products/5305fb7c573533348a630000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2022ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a640000'), "name"=>"Sherman Gerhold", "reference"=>"Emma Roob", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3309ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1807ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305fb7c573533348a640000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7c573533348a640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3477ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7c573533348a640000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4172ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3002ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a650000'), "name"=>"Micheal Farrell", "reference"=>"Miss Lora Balistreri", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2843ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305fb7c573533348a650000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7c573533348a650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2732ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 10ms (Views: 8.2ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a660000'), "name"=>"Kobe Bergnaum", "reference"=>"Miss Greg Kilback", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4260ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7739ms
Completed 200 OK in 23ms (Views: 22.8ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a670000'), "name"=>"Cathryn Ernser", "reference"=>"Dr. Tristian Spencer", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3763ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7032ms
Completed 200 OK in 5ms (Views: 2.0ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a680000'), "name"=>"Deon Barrows", "reference"=>"Arvilla Haley MD", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3241ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305fb7c573533348a680000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7c573533348a680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2611ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a690000'), "name"=>"Esther Kiehn III", "reference"=>"Lyric Ward", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2902ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 8ms (Views: 6.8ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a6b0000'), "name"=>"Gerda Moen PhD", "reference"=>"Mr. Willard Blick", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305fb7c573533348a6b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7c573533348a6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms
Completed 200 OK in 5ms (Views: 3.6ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a6c0000'), "name"=>"Demario Monahan", "reference"=>"Leopold Krajcik V", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7749ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1794ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a6d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3133ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1871ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a6e0000'), "name"=>"Charles MacGyver", "reference"=>"Ena Bauch", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2373ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305fb7c573533348a6e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7c573533348a6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2942ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7c573533348a6e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2981ms
Completed 200 OK in 3ms (Views: 0.2ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a6f0000'), "name"=>"Ellsworth Hodkiewicz", "reference"=>"Kaylah Mitchell", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a710000'), "name"=>"Allen Fay", "reference"=>"Carlo Gulgowski", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3797ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305fb7c573533348a710000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7c573533348a710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2744ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7c573533348a710000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3033ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a720000'), "name"=>"Lauryn Schuster", "reference"=>"Isidro Bartell", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2788ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305fb7c573533348a720000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7c573533348a720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2556ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fb7c573533348a720000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2779ms
Redirected to http://test.host/products/5305fb7c573533348a720000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a730000'), "firstname"=>"Lolita", "lastname"=>"McLaughlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4419ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1827ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a740000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3372ms
Redirected to http://test.host/users/5305fb7c573533348a740000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2096ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a750000'), "firstname"=>"John", "lastname"=>"Wisoky"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3167ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1815ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305fb7c573533348a750000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb7c573533348a750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2641ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb7c573533348a750000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2671ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1879ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a760000'), "firstname"=>"Bridie", "lastname"=>"Schowalter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2511ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305fb7c573533348a760000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb7c573533348a760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2368ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a770000'), "firstname"=>"Esteban", "lastname"=>"Sawayn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms
Completed 200 OK in 11ms (Views: 10.4ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a780000'), "firstname"=>"Nakia", "lastname"=>"Emmerich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3759ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a790000'), "firstname"=>"Era", "lastname"=>"Hermiston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4040ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305fb7c573533348a790000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb7c573533348a790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fb7c573533348a7a0000'), "firstname"=>"Hellen", "lastname"=>"Sporer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3900ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305fb7c573533348a7a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fb7c573533348a7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305fb7c573533348a7a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6297ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3093ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4612ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2682ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2877ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2644ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8000000'), "firstname"=>"Camila", "lastname"=>"Beier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4453ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1705ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3654ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1759ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8020000'), "firstname"=>"Aurore", "lastname"=>"Heathcote"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2813ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305fbb957353334b8020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fbb957353334b8020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2388ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms)
Completed 200 OK in 52ms (Views: 51.1ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8030000'), "firstname"=>"Keon", "lastname"=>"Bogan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4142ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8040000'), "firstname"=>"Buford", "lastname"=>"Vandervort"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4002ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305fbb957353334b8040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fbb957353334b8040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2906ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8050000'), "firstname"=>"Amani", "lastname"=>"Predovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4521ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305fbb957353334b8050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fbb957353334b8050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8060000'), "name"=>"Esteban Hills", "reference"=>"Cecile Casper", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305fbb957353334b8070000'), "author_name"=>"Zachary Koch", "content"=>["Expedita voluptas qui perferendis nobis aspernatur dicta earum. Repellat est mollitia et quaerat reprehenderit. Fugit incidunt repudiandae est minus ullam. Quas voluptatem qui necessitatibus corrupti. Cupiditate aliquid molestiae aut quia porro id."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4568ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2367ms
Processing by Admin::CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305fbb957353334b8060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3236ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fbb957353334b8080000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3865ms
Redirected to http://test.host/admin/products/5305fbb957353334b8060000/comments/5305fbb957353334b8080000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8090000'), "name"=>"Lisette Cummerata", "reference"=>"Mr. Leonie Hauck", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305fbb957353334b80a0000'), "author_name"=>"Abdullah Mayert", "content"=>["Aliquam eos error mollitia sint quis sunt alias. A sequi itaque facere maxime sunt. Numquam dolores repudiandae."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms
Processing by Admin::CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305fbb957353334b8090000", "id"=>"5305fbb957353334b80a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2645ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fbb957353334b80a0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5431ms
Redirected to http://test.host/admin/products/5305fbb957353334b8090000/comments
Completed 302 Found in 32ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2926ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b80b0000'), "name"=>"Mr. Isadore Weber", "reference"=>"Wayne Ward", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305fbb957353334b80c0000'), "author_name"=>"Giuseppe Reichel I", "content"=>["Placeat totam et eligendi. Est ratione ex odio voluptas aut in. Hic quibusdam et molestiae quo veritatis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3830ms
Processing by Admin::CommentsController#edit as HTML
Parameters: {"product_id"=>"5305fbb957353334b80b0000", "id"=>"5305fbb957353334b80c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b80b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3116ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 10ms (Views: 7.8ms)
----------------------------------------------------
Admin::CommentsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b80d0000'), "name"=>"Carrie Gleichner", "reference"=>"Charlotte Johnston MD", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305fbb957353334b80e0000'), "author_name"=>"Providenci Runolfsdottir", "content"=>["Quia at tenetur velit. Et quo iure velit itaque et ut voluptatem. Aut fugit corrupti sit corporis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5394ms
Processing by Admin::CommentsController#index as HTML
Parameters: {"product_id"=>"5305fbb957353334b80d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b80d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4598ms
Completed 200 OK in 7ms (Views: 4.6ms)
--------------------------------------------------
Admin::CommentsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b80f0000'), "name"=>"Donato Rutherford", "reference"=>"Alayna Howell", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305fbb957353334b8100000'), "author_name"=>"Beryl Goyette", "content"=>["Esse fugiat dolor eos et maiores laborum et. Quo et aut et a eveniet neque. Consequuntur culpa recusandae in aut ea."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4522ms
Processing by Admin::CommentsController#new as HTML
Parameters: {"product_id"=>"5305fbb957353334b80f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b80f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2748ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.3ms)
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8110000'), "name"=>"George Okuneva", "reference"=>"Courtney White", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305fbb957353334b8120000'), "author_name"=>"Marjolaine Heidenreich", "content"=>["Omnis quo quibusdam. Iusto quibusdam unde doloremque iste culpa ut. Sed qui eum est."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8542ms
Processing by Admin::CommentsController#show as HTML
Parameters: {"product_id"=>"5305fbb957353334b8110000", "id"=>"5305fbb957353334b8120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2784ms
Completed 200 OK in 6ms (Views: 4.1ms)
-------------------------------------------------
Admin::CommentsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8130000'), "name"=>"Annamae Schmitt II", "reference"=>"Mr. Destinee DuBuque", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305fbb957353334b8140000'), "author_name"=>"Ardella Goyette", "content"=>["Cumque mollitia delectus eos. Qui nam est beatae rem repudiandae hic. Esse laboriosam enim doloremque placeat vero sit eveniet. Tempore non unde facilis veniam recusandae. Accusantium non et quas ut animi."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5443ms
Processing by Admin::CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305fbb957353334b8140000", "product_id"=>"5305fbb957353334b8130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2812ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8130000'), "comments._id"=>BSON::ObjectId('5305fbb957353334b8140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4381ms
Redirected to http://test.host/admin/products/5305fbb957353334b8130000/comments/5305fbb957353334b8140000
Completed 302 Found in 4ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8150000'), "name"=>"Marilou Maggio", "reference"=>"Neoma Blick", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305fbb957353334b8160000'), "firstname"=>"Annabelle", "lastname"=>"Bartoletti"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5164ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5305fbb957353334b8150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3857ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8150000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3453ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5305fbb957353334b8170000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2451ms
Redirected to http://test.host/admin/products/5305fbb957353334b8150000/manager
Completed 302 Found in 5ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8180000'), "name"=>"Marcia Kuhlman", "reference"=>"Emil Conroy", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('5305fbb957353334b8190000'), "firstname"=>"Imani", "lastname"=>"Collier"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3816ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"5305fbb957353334b8190000", "product_id"=>"5305fbb957353334b8180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2696ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.2ms)
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b81a0000'), "name"=>"Solon Becker", "reference"=>"Dr. Jayden Emmerich", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('5305fbb957353334b81b0000'), "firstname"=>"Ivah", "lastname"=>"VonRueden"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4236ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"5305fbb957353334b81a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b81a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2925ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 5.8ms)
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b81c0000'), "name"=>"Emmie Gislason DVM", "reference"=>"Dion Wyman", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('5305fbb957353334b81d0000'), "firstname"=>"Earl", "lastname"=>"Jast"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4169ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"5305fbb957353334b81d0000", "product_id"=>"5305fbb957353334b81c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b81c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2390ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b81e0000'), "name"=>"Ismael Prohaska", "reference"=>"Althea Murazik", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5305fbb957353334b81f0000'), "firstname"=>"Stefan", "lastname"=>"Cronin"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4452ms
Processing by Admin::ManagersController#update as HTML
Parameters: {"id"=>"5305fbb957353334b81f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5305fbb957353334b81e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b81e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2426ms
Unpermitted parameters: name
Redirected to http://test.host/admin/products/5305fbb957353334b81e0000/manager
Completed 302 Found in 3ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8200000'), "name"=>"Evelyn Wyman I", "reference"=>"Leif Klocko", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4991ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2381ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3841ms
Redirected to http://test.host/admin/products/5305fbb957353334b8210000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2246ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8220000'), "name"=>"Tremayne Shanahan", "reference"=>"Ms. Sibyl Greenfelder", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3357ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1851ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305fbb957353334b8220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2602ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3007ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1961ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8230000'), "name"=>"Annette Renner", "reference"=>"Mr. Kevin Kessler", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2624ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305fbb957353334b8230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2676ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 9ms (Views: 8.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8240000'), "name"=>"Tessie Kulas", "reference"=>"Mrs. Abner Barton", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4131ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5538ms
Completed 200 OK in 14ms (Views: 13.7ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8250000'), "name"=>"Rae Dickinson", "reference"=>"Jacquelyn Schowalter MD", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 22ms (Views: 6.5ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8280000'), "name"=>"Kale Bergnaum Sr.", "reference"=>"Dorothea Labadie MD", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4319ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305fbb957353334b8280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8290000'), "name"=>"Daphney Lehner", "reference"=>"Cayla O'Kon MD", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3921ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305fbb957353334b8290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2635ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8290000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.2328ms
Redirected to http://test.host/admin/products/5305fbb957353334b8290000
Completed 302 Found in 7ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b82a0000'), "firstname"=>"Yasmin", "lastname"=>"Witting"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4621ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2506ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b82b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4739ms
Redirected to http://test.host/admin/users/5305fbb957353334b82b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2447ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b82c0000'), "firstname"=>"Georgianna", "lastname"=>"Hyatt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3287ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1783ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305fbb957353334b82c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fbb957353334b82c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2467ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fbb957353334b82c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2969ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1877ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b82d0000'), "firstname"=>"Angel", "lastname"=>"Parker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2447ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305fbb957353334b82d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fbb957353334b82d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2458ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.0ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b82e0000'), "firstname"=>"Evangeline", "lastname"=>"Zieme"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4029ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms
Completed 200 OK in 39ms (Views: 38.9ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b82f0000'), "firstname"=>"Art", "lastname"=>"West"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4108ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8300000'), "firstname"=>"Christophe", "lastname"=>"Pfeffer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4121ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305fbb957353334b8300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fbb957353334b8300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2651ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8310000'), "firstname"=>"Nikko", "lastname"=>"Cormier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305fbb957353334b8310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fbb957353334b8310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305fbb957353334b8310000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8320000'), "firstname"=>"Lera", "lastname"=>"Kessler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4308ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1945ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8330000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.1295ms
Redirected to http://test.host/administrator
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2022ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8340000'), "firstname"=>"Pierce", "lastname"=>"Wehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3131ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305fbb957353334b8340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fbb957353334b8340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2613ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 6.9ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8350000'), "firstname"=>"Kallie", "lastname"=>"Grady"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4147ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8360000'), "firstname"=>"Heidi", "lastname"=>"Lowe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4256ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305fbb957353334b8360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fbb957353334b8360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3717ms
Completed 200 OK in 6ms (Views: 4.0ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8370000'), "firstname"=>"Vicente", "lastname"=>"White"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4274ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305fbb957353334b8370000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fbb957353334b8370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8380000'), "name"=>"Flavio Funk", "reference"=>"Izaiah Olson", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305fbb957353334b8390000'), "author_name"=>"Vince Huel", "content"=>["Laudantium hic est. Sed voluptas laudantium nulla. Sed atque et suscipit. Sint sunt voluptatibus illo alias veritatis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4529ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2098ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305fbb957353334b8380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2799ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fbb957353334b83a0000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3329ms
Redirected to http://test.host/products/5305fbb957353334b8380000/comments/5305fbb957353334b83a0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2144ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b83b0000'), "name"=>"Mr. Coy Herzog", "reference"=>"Dr. Oceane Bernhard", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305fbb957353334b83c0000'), "author_name"=>"Urban Zemlak Sr.", "content"=>["Quidem adipisci sequi consequuntur ad in quas. At quisquam dolor totam adipisci vel. Est porro ea fuga corporis officia doloremque ab. Voluptatem rerum nobis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3934ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b83b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2005ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305fbb957353334b83b0000", "id"=>"5305fbb957353334b83c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b83b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3990ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b83b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fbb957353334b83c0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3436ms
Redirected to http://test.host/products/5305fbb957353334b83b0000/comments
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b83b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2096ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b83d0000'), "name"=>"Mrs. Cullen Runolfsson", "reference"=>"Marian Goyette DDS", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305fbb957353334b83e0000'), "author_name"=>"Felton Lockman II", "content"=>["Maiores et qui. Dolores cupiditate enim veniam explicabo ut inventore. Dolores molestiae culpa perferendis consequatur consequatur mollitia neque. Nam sit totam quas. Aut consectetur voluptas sunt."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3668ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305fbb957353334b83d0000", "id"=>"5305fbb957353334b83e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b83d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2399ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 9ms (Views: 7.1ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b83f0000'), "name"=>"Mrs. Jonatan Roob", "reference"=>"Charlene Rohan", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305fbb957353334b8400000'), "author_name"=>"Keara Murazik", "content"=>["Perferendis occaecati accusantium et in dolore. Dolor laborum ipsam distinctio non ullam suscipit. Veniam reprehenderit quasi a repellat quo."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4869ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305fbb957353334b83f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b83f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2676ms
Completed 200 OK in 39ms (Views: 36.8ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8410000'), "name"=>"Louvenia Schimmel", "reference"=>"Mike Breitenberg", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305fbb957353334b8420000'), "author_name"=>"Dewitt VonRueden Jr.", "content"=>["Ratione qui odio soluta. Fugit nam quo suscipit. Saepe quos fuga repellendus nihil consequuntur quae voluptas. Qui doloremque dolorem eveniet."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4369ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305fbb957353334b8410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3075ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.3ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8430000'), "name"=>"Vergie Halvorson", "reference"=>"Vada Schneider", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305fbb957353334b8440000'), "author_name"=>"Elliott Luettgen", "content"=>["Nihil sunt sunt. Tenetur veritatis voluptas. Ex numquam qui. Doloremque nemo ab aut fugiat. Quos aliquam sed nemo atque blanditiis ex."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4066ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305fbb957353334b8430000", "id"=>"5305fbb957353334b8440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2792ms
Completed 200 OK in 6ms (Views: 3.9ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8450000'), "name"=>"Ken Orn", "reference"=>"Bria Ryan", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305fbb957353334b8460000'), "author_name"=>"Evans Huels", "content"=>["Et est sit culpa praesentium fugit sed repudiandae. At tempora laborum et eum aperiam doloremque. Error perferendis expedita consequatur. Voluptatibus ad consectetur eos quos nisi incidunt."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4348ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305fbb957353334b8460000", "product_id"=>"5305fbb957353334b8450000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3351ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbb957353334b8450000'), "comments._id"=>BSON::ObjectId('5305fbb957353334b8460000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5236ms
Redirected to http://test.host/products/5305fbb957353334b8450000/comments/5305fbb957353334b8460000
Completed 302 Found in 6ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8470000'), "firstname"=>"Candace", "lastname"=>"Bogan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5212ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2628ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8480000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms
Redirected to http://test.host/admin/clients/5305fbb957353334b8480000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3604ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8490000'), "firstname"=>"Shaniya", "lastname"=>"Tillman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4010ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2386ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305fbb957353334b8490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fbb957353334b8490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2974ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fbb957353334b8490000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3459ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2387ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b84a0000'), "firstname"=>"Cordelia", "lastname"=>"O'Keefe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2945ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305fbb957353334b84a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fbb957353334b84a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b84b0000'), "firstname"=>"Hildegard", "lastname"=>"O'Connell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4481ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms
Completed 200 OK in 8ms (Views: 7.2ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b84c0000'), "firstname"=>"Will", "lastname"=>"Gutkowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 39ms (Views: 38.4ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b84d0000'), "firstname"=>"Colt", "lastname"=>"Schumm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4235ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305fbb957353334b84d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fbb957353334b84d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2562ms
Completed 200 OK in 6ms (Views: 4.6ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b84e0000'), "firstname"=>"Vicente", "lastname"=>"Hamill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4402ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305fbb957353334b84e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fbb957353334b84e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2677ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fbb957353334b84e0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3243ms
Redirected to http://test.host/admin/clients/5305fbb957353334b84e0000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b84f0000'), "firstname"=>"Rosalee", "lastname"=>"McKenzie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2863ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1847ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8500000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3220ms
Redirected to http://test.host/clients/5305fbb957353334b8500000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1933ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8510000'), "firstname"=>"Joannie", "lastname"=>"Pouros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2398ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1764ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305fbb957353334b8510000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fbb957353334b8510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fbb957353334b8510000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2573ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1855ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8520000'), "firstname"=>"Kristoffer", "lastname"=>"Shanahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2554ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305fbb957353334b8520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fbb957353334b8520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8530000'), "firstname"=>"Effie", "lastname"=>"Lubowitz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3425ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4365ms
Completed 200 OK in 12ms (Views: 10.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fbb957353334b8540000'), "firstname"=>"Paige", "lastname"=>"Cormier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0043ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b8550000'), "firstname"=>"Rachael", "lastname"=>"McCullough"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4976ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305fbba57353334b8550000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fbba57353334b8550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2651ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b8560000'), "firstname"=>"Tiana", "lastname"=>"Feest"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3683ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305fbba57353334b8560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fbba57353334b8560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2651ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fbba57353334b8560000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2623ms
Redirected to http://test.host/clients/5305fbba57353334b8560000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b8570000'), "name"=>"Jazmin Keebler Jr.", "reference"=>"Sally Wolf", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5305fbba57353334b8580000'), "firstname"=>"Rashawn", "lastname"=>"Cartwright"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4281ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5305fbba57353334b8570000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbba57353334b8570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2866ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbba57353334b8570000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2778ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbba57353334b8570000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5305fbba57353334b8590000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2421ms
Redirected to http://test.host/products/5305fbba57353334b8570000/manager
Completed 302 Found in 5ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b85a0000'), "name"=>"Hunter Bahringer", "reference"=>"Cristina Rolfson", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305fbba57353334b85b0000'), "firstname"=>"Emmie", "lastname"=>"Brown"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5744ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"5305fbba57353334b85b0000", "product_id"=>"5305fbba57353334b85a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbba57353334b85a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3602ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 9ms (Views: 7.2ms)
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b85c0000'), "name"=>"Carmella Bogisich IV", "reference"=>"Fernando Mante III", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305fbba57353334b85d0000'), "firstname"=>"Gia", "lastname"=>"Keeling"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4903ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"5305fbba57353334b85c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbba57353334b85c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2674ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.1ms)
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b85e0000'), "name"=>"Mrs. Amira Mante", "reference"=>"Dena Yost", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('5305fbba57353334b85f0000'), "firstname"=>"Zena", "lastname"=>"Bailey"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4222ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"5305fbba57353334b85f0000", "product_id"=>"5305fbba57353334b85e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbba57353334b85e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3747ms
Completed 200 OK in 6ms (Views: 4.2ms)
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b8600000'), "name"=>"Kristoffer Leannon", "reference"=>"Alexandro Satterfield", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('5305fbba57353334b8610000'), "firstname"=>"Marcos", "lastname"=>"Thiel"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4258ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"5305fbba57353334b8610000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5305fbba57353334b8600000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbba57353334b8600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3343ms
Unpermitted parameters: name
Redirected to http://test.host/products/5305fbba57353334b8600000/manager
Completed 302 Found in 3ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b8620000'), "name"=>"Lonny Bednar", "reference"=>"Harrison Dicki", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4359ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1874ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b8630000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms
Redirected to http://test.host/products/5305fbba57353334b8630000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2472ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b8640000'), "name"=>"Miss Mason Gislason", "reference"=>"Geovany Mills V", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5245ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2374ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305fbba57353334b8640000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbba57353334b8640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3205ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbba57353334b8640000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3170ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2182ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b8650000'), "name"=>"Dr. Grant Bogan", "reference"=>"Destin Muller Sr.", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2968ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305fbba57353334b8650000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbba57353334b8650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b8660000'), "name"=>"Michelle Moore", "reference"=>"Mr. Berniece Jakubowski", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7670ms
Completed 200 OK in 23ms (Views: 22.5ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b8670000'), "name"=>"Marisol Corkery", "reference"=>"Martina Mills", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3792ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6991ms
Completed 200 OK in 5ms (Views: 2.0ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b8680000'), "name"=>"Tia Dicki", "reference"=>"Elta Bernhard", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3247ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305fbba57353334b8680000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbba57353334b8680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3294ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b8690000'), "name"=>"Eleazar Predovic", "reference"=>"Kianna Lebsack", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4088ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 7ms (Views: 6.2ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b86b0000'), "name"=>"Mr. Amina Morar", "reference"=>"Delaney Lemke", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305fbba57353334b86b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbba57353334b86b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms
Completed 200 OK in 5ms (Views: 3.6ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b86c0000'), "name"=>"Mikayla O'Reilly", "reference"=>"Maximillia Hills MD", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4250ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1897ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b86d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0667ms
Completed 201 Created in 5ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2745ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b86e0000'), "name"=>"Jordon Weimann", "reference"=>"Esta Mayer", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4249ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305fbba57353334b86e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbba57353334b86e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3534ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbba57353334b86e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3137ms
Completed 200 OK in 3ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b86f0000'), "name"=>"Arlo Stracke IV", "reference"=>"Miss Giovanny Koss", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3114ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b8710000'), "name"=>"Sylvester Barrows Jr.", "reference"=>"Corine Weber", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4184ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305fbba57353334b8710000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbba57353334b8710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2708ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbba57353334b8710000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3350ms
Completed 202 Accepted in 4ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b8720000'), "name"=>"Wilfred Schroeder DDS", "reference"=>"Dameon Turner", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3184ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305fbba57353334b8720000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbba57353334b8720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fbba57353334b8720000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2787ms
Redirected to http://test.host/products/5305fbba57353334b8720000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b8730000'), "firstname"=>"Amelia", "lastname"=>"Cronin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4435ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1853ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b8740000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3872ms
Redirected to http://test.host/users/5305fbba57353334b8740000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2490ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b8750000'), "firstname"=>"Brianne", "lastname"=>"Hettinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3656ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1890ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305fbba57353334b8750000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fbba57353334b8750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fbba57353334b8750000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2667ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1927ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b8760000'), "firstname"=>"Katelynn", "lastname"=>"Wolff"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2482ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305fbba57353334b8760000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fbba57353334b8760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2752ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b8770000'), "firstname"=>"Nat", "lastname"=>"Schaden"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4519ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3646ms
Completed 200 OK in 11ms (Views: 10.2ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b8780000'), "firstname"=>"Bo", "lastname"=>"VonRueden"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.3215ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b8790000'), "firstname"=>"Estell", "lastname"=>"Goyette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4240ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305fbba57353334b8790000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fbba57353334b8790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3062ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fbba57353334b87a0000'), "firstname"=>"Angelina", "lastname"=>"Hammes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3888ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305fbba57353334b87a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fbba57353334b87a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2539ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305fbba57353334b87a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6578ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3016ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4834ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3221ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3198ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3086ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fd1f57353334ea000000'), "firstname"=>"Cathy", "lastname"=>"Tillman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4519ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1808ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fd1f57353334ea010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1940ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fd1f57353334ea020000'), "firstname"=>"Nola", "lastname"=>"Pfeffer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3071ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305fd1f57353334ea020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fd1f57353334ea020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms)
Completed 200 OK in 52ms (Views: 51.0ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fd1f57353334ea030000'), "firstname"=>"Joanne", "lastname"=>"Kertzmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4180ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fd1f57353334ea040000'), "firstname"=>"Markus", "lastname"=>"Leuschke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305fd1f57353334ea040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fd1f57353334ea040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2327ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fd1f57353334ea050000'), "firstname"=>"Elmer", "lastname"=>"Schimmel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5794ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305fd1f57353334ea050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fd1f57353334ea050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3568ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 3ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd1f57353334ea060000'), "name"=>"Lazaro Jenkins", "reference"=>"Fermin Jerde", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305fd1f57353334ea070000'), "author_name"=>"Willard Hermann", "content"=>["Est dolorum accusamus est. Et reiciendis fugit molestiae quia ex quia eius. Laborum molestias expedita praesentium doloribus tempore quas."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5118ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd1f57353334ea060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2562ms
Processing by Admin::CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305fd1f57353334ea060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd1f57353334ea060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3217ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd1f57353334ea060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fd1f57353334ea080000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms
Redirected to http://test.host/admin/products/5305fd1f57353334ea060000/comments/5305fd1f57353334ea080000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd1f57353334ea060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3112ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd1f57353334ea090000'), "name"=>"Rhianna Eichmann", "reference"=>"Garfield Marvin", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305fd1f57353334ea0a0000'), "author_name"=>"Kamryn Hermiston", "content"=>["Soluta eos qui et esse quas voluptate. Cum harum exercitationem iure sit modi non et. Vero autem magni iure quaerat omnis asperiores. Mollitia placeat unde ex."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4080ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd1f57353334ea090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2485ms
Processing by Admin::CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305fd1f57353334ea090000", "id"=>"5305fd1f57353334ea0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd1f57353334ea090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3009ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd1f57353334ea090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fd1f57353334ea0a0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 27.0446ms
Redirected to http://test.host/admin/products/5305fd1f57353334ea090000/comments
Completed 302 Found in 30ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd1f57353334ea090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2828ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd1f57353334ea0b0000'), "name"=>"Reagan Hudson", "reference"=>"Aisha Baumbach", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305fd1f57353334ea0c0000'), "author_name"=>"Mr. Emelie Fisher", "content"=>["Illo placeat ullam doloremque nam omnis. Sint et aut aut quas consequatur fugit quia. Nobis praesentium voluptas tenetur eaque et amet. Dolor et voluptas et quis qui consequatur nostrum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3774ms
Processing by Admin::CommentsController#edit as HTML
Parameters: {"product_id"=>"5305fd1f57353334ea0b0000", "id"=>"5305fd1f57353334ea0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd1f57353334ea0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3334ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 10ms (Views: 7.7ms)
----------------------------------------------------
Admin::CommentsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd1f57353334ea0d0000'), "name"=>"Luna Veum", "reference"=>"Ryann Swaniawski", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305fd1f57353334ea0e0000'), "author_name"=>"Rory Vandervort Jr.", "content"=>["Et enim et nihil nulla minima. Impedit eos fugit. Laboriosam eum sit facilis. Et rerum sequi quae. Nostrum aliquid sed."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4843ms
Processing by Admin::CommentsController#index as HTML
Parameters: {"product_id"=>"5305fd1f57353334ea0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd1f57353334ea0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms
Completed 200 OK in 6ms (Views: 4.5ms)
--------------------------------------------------
Admin::CommentsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd1f57353334ea0f0000'), "name"=>"Doyle Ondricka", "reference"=>"Mabel Schowalter", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305fd1f57353334ea100000'), "author_name"=>"Makayla Wehner", "content"=>["Minima iste deleniti voluptatem. Est vel quasi perspiciatis quia deserunt et. Eius consectetur consequatur autem odio deserunt ex est. Et blanditiis vitae debitis optio. Aut voluptatum earum est illum aut."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms
Processing by Admin::CommentsController#new as HTML
Parameters: {"product_id"=>"5305fd1f57353334ea0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd1f57353334ea0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2691ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.1ms)
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd1f57353334ea110000'), "name"=>"Raegan Jacobson", "reference"=>"Leif Schaefer DDS", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305fd1f57353334ea120000'), "author_name"=>"Sunny Beahan", "content"=>["Eaque necessitatibus dignissimos delectus recusandae fuga laudantium earum. Cumque ab et laborum. Non laudantium maiores porro. Itaque voluptates eum rem aut temporibus alias. Asperiores officia consequuntur accusamus sapiente veniam vitae."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4380ms
Processing by Admin::CommentsController#show as HTML
Parameters: {"product_id"=>"5305fd1f57353334ea110000", "id"=>"5305fd1f57353334ea120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd1f57353334ea110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2555ms
Completed 200 OK in 6ms (Views: 3.9ms)
-------------------------------------------------
Admin::CommentsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd1f57353334ea130000'), "name"=>"Shyann Romaguera", "reference"=>"Bailey Robel", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305fd1f57353334ea140000'), "author_name"=>"Lynn Bartoletti", "content"=>["Perspiciatis at ut illum. Et vitae sed fugit sed velit aperiam. Omnis ex deserunt quae consequuntur ab et. Distinctio omnis pariatur dolor explicabo repellendus doloribus. Et ipsum enim quidem."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4373ms
Processing by Admin::CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305fd1f57353334ea140000", "product_id"=>"5305fd1f57353334ea130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd1f57353334ea130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd1f57353334ea130000'), "comments._id"=>BSON::ObjectId('5305fd1f57353334ea140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4263ms
Redirected to http://test.host/admin/products/5305fd1f57353334ea130000/comments/5305fd1f57353334ea140000
Completed 302 Found in 4ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea150000'), "name"=>"Aurelia Jerde", "reference"=>"Amara Runolfsson", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('5305fd2057353334ea160000'), "firstname"=>"Fanny", "lastname"=>"Murazik"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4546ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5305fd2057353334ea150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2994ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea150000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3549ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5305fd2057353334ea170000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2594ms
Redirected to http://test.host/admin/products/5305fd2057353334ea150000/manager
Completed 302 Found in 5ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea180000'), "name"=>"Carroll Orn Sr.", "reference"=>"Sheridan Barrows", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('5305fd2057353334ea190000'), "firstname"=>"Melvin", "lastname"=>"Cummings"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4000ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"5305fd2057353334ea190000", "product_id"=>"5305fd2057353334ea180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4551ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 10ms (Views: 7.4ms)
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea1a0000'), "name"=>"Elyse Kiehn I", "reference"=>"Reese Homenick", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('5305fd2057353334ea1b0000'), "firstname"=>"Sally", "lastname"=>"Hansen"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4912ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"5305fd2057353334ea1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.0ms)
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea1c0000'), "name"=>"Billie Beier", "reference"=>"Bradford Ratke", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('5305fd2057353334ea1d0000'), "firstname"=>"Jarred", "lastname"=>"Wiegand"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4180ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"5305fd2057353334ea1d0000", "product_id"=>"5305fd2057353334ea1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea1e0000'), "name"=>"Natasha Collins", "reference"=>"Orpha Donnelly", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('5305fd2057353334ea1f0000'), "firstname"=>"Dario", "lastname"=>"Wiza"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4150ms
Processing by Admin::ManagersController#update as HTML
Parameters: {"id"=>"5305fd2057353334ea1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5305fd2057353334ea1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2366ms
Unpermitted parameters: name
Redirected to http://test.host/admin/products/5305fd2057353334ea1e0000/manager
Completed 302 Found in 3ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea200000'), "name"=>"Madilyn Upton PhD", "reference"=>"Rafael Mraz I", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4236ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1820ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3716ms
Redirected to http://test.host/admin/products/5305fd2057353334ea210000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2431ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea220000'), "name"=>"Mazie Borer", "reference"=>"Mr. Kassandra Bednar", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3801ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2245ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305fd2057353334ea220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3057ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3442ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1928ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea230000'), "name"=>"Lon Adams", "reference"=>"Dolly Pagac", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2595ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305fd2057353334ea230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2553ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 9ms (Views: 8.2ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea240000'), "name"=>"Ms. Rico Cronin", "reference"=>"Dawn Larkin DVM", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5170ms
Completed 200 OK in 14ms (Views: 13.3ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea250000'), "name"=>"Santina Von", "reference"=>"Meta Kilback", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 23ms (Views: 6.1ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea280000'), "name"=>"Astrid Rosenbaum", "reference"=>"Martine Collins", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6204ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305fd2057353334ea280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2762ms
Completed 200 OK in 5ms (Views: 3.8ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea290000'), "name"=>"Mrs. Liliane Leannon", "reference"=>"Miss Winston Lang", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3726ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305fd2057353334ea290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2679ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea290000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3530ms
Redirected to http://test.host/admin/products/5305fd2057353334ea290000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea2a0000'), "firstname"=>"Zoie", "lastname"=>"Runolfsson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3780ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2065ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea2b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3504ms
Redirected to http://test.host/admin/users/5305fd2057353334ea2b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2080ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea2c0000'), "firstname"=>"Daren", "lastname"=>"Kihn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3045ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1700ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305fd2057353334ea2c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fd2057353334ea2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2410ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fd2057353334ea2c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3075ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1955ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea2d0000'), "firstname"=>"Nikita", "lastname"=>"Runolfsdottir"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2496ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305fd2057353334ea2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fd2057353334ea2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2345ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 9ms (Views: 7.7ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea2e0000'), "firstname"=>"Sally", "lastname"=>"Cole"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5172ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3329ms
Completed 200 OK in 38ms (Views: 37.7ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea2f0000'), "firstname"=>"Wilbert", "lastname"=>"Reynolds"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea300000'), "firstname"=>"Ottis", "lastname"=>"Shanahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4094ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305fd2057353334ea300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fd2057353334ea300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2602ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea310000'), "firstname"=>"Ian", "lastname"=>"Hauck"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.2051ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305fd2057353334ea310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fd2057353334ea310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2568ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305fd2057353334ea310000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea320000'), "firstname"=>"Ivory", "lastname"=>"Stroman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4118ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2263ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea330000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3306ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1771ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea340000'), "firstname"=>"Cheyanne", "lastname"=>"Pouros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2872ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305fd2057353334ea340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fd2057353334ea340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2404ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea350000'), "firstname"=>"Alexandro", "lastname"=>"Hand"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4248ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea360000'), "firstname"=>"Rebeka", "lastname"=>"Boehm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3520ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305fd2057353334ea360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fd2057353334ea360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea370000'), "firstname"=>"Augustus", "lastname"=>"McCullough"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3561ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305fd2057353334ea370000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fd2057353334ea370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2930ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea380000'), "name"=>"Lottie Wyman", "reference"=>"Jayda Fadel II", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305fd2057353334ea390000'), "author_name"=>"Angie Bahringer", "content"=>["Iusto voluptatibus sunt fuga qui nesciunt. Perferendis debitis temporibus impedit ex delectus quis ea. Neque quod unde vitae totam officiis ullam. Nam eum incidunt voluptatem. Ad ratione reprehenderit dolorem eos ut."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4107ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2108ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305fd2057353334ea380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3124ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fd2057353334ea3a0000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms
Redirected to http://test.host/products/5305fd2057353334ea380000/comments/5305fd2057353334ea3a0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2235ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea3b0000'), "name"=>"Ms. Dandre Mayert", "reference"=>"Rachelle Mitchell", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305fd2057353334ea3c0000'), "author_name"=>"Miss Allen Rath", "content"=>["Sed et rerum molestiae animi autem et. Ea sapiente sit qui quidem. Quam sit et quia mollitia. Molestiae qui ut. Fugiat nobis iure."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3580ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2239ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305fd2057353334ea3b0000", "id"=>"5305fd2057353334ea3c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2645ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fd2057353334ea3c0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3032ms
Redirected to http://test.host/products/5305fd2057353334ea3b0000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2022ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea3d0000'), "name"=>"Eliza Schumm", "reference"=>"Josefa Kutch", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305fd2057353334ea3e0000'), "author_name"=>"Columbus Dibbert V", "content"=>["Provident suscipit iure. Reprehenderit exercitationem dolorem. Et et doloremque. Labore fugiat quia veritatis est."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2462ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305fd2057353334ea3d0000", "id"=>"5305fd2057353334ea3e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2538ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 9ms (Views: 7.4ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea3f0000'), "name"=>"Izabella Grant", "reference"=>"Declan Metz DVM", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305fd2057353334ea400000'), "author_name"=>"Miss Alec Bechtelar", "content"=>["Neque et dolores fugiat esse expedita. Nemo porro quaerat facilis a qui. Mollitia quod libero ipsum et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4171ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305fd2057353334ea3f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms
Completed 200 OK in 37ms (Views: 35.3ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea410000'), "name"=>"Maybelle Gleichner", "reference"=>"Lavinia Schowalter", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305fd2057353334ea420000'), "author_name"=>"Hertha Ernser", "content"=>["Veritatis qui tenetur ipsa autem ullam. Asperiores omnis enim ut. Tempora dolores aut."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4366ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305fd2057353334ea410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2615ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.3ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea430000'), "name"=>"Miss Darwin Harvey", "reference"=>"Rodrigo Lesch", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305fd2057353334ea440000'), "author_name"=>"Adrain Trantow PhD", "content"=>["Aut qui aut aliquam inventore. Aliquam necessitatibus quos. Ut rerum sunt deserunt fugit quia est. Quam eos voluptate iste totam. Nostrum est eveniet amet optio dolorem veniam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4662ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305fd2057353334ea430000", "id"=>"5305fd2057353334ea440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2905ms
Completed 200 OK in 6ms (Views: 4.0ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea450000'), "name"=>"Marjorie Batz V", "reference"=>"Rico Kutch", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305fd2057353334ea460000'), "author_name"=>"Julian Leuschke", "content"=>["Optio qui et. Est fugiat dolorem. Odio praesentium consequatur excepturi. Eaque voluptatem optio occaecati neque incidunt nulla."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4589ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305fd2057353334ea460000", "product_id"=>"5305fd2057353334ea450000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea450000'), "comments._id"=>BSON::ObjectId('5305fd2057353334ea460000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4677ms
Redirected to http://test.host/products/5305fd2057353334ea450000/comments/5305fd2057353334ea460000
Completed 302 Found in 5ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea470000'), "firstname"=>"Marshall", "lastname"=>"Larkin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4616ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2262ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea480000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms
Redirected to http://test.host/admin/clients/5305fd2057353334ea480000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2382ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea490000'), "firstname"=>"Newton", "lastname"=>"Purdy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3510ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2092ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305fd2057353334ea490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fd2057353334ea490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fd2057353334ea490000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3250ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1855ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea4a0000'), "firstname"=>"Abbey", "lastname"=>"Kshlerin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2380ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305fd2057353334ea4a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fd2057353334ea4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2234ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.3ms)
Completed 200 OK in 11ms (Views: 9.9ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea4b0000'), "firstname"=>"Kennedi", "lastname"=>"Johnson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6803ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3145ms
Completed 200 OK in 8ms (Views: 6.9ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea4c0000'), "firstname"=>"Leif", "lastname"=>"Schmidt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4248ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 38ms (Views: 37.0ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea4d0000'), "firstname"=>"Morgan", "lastname"=>"Fritsch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4230ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305fd2057353334ea4d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fd2057353334ea4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2534ms
Completed 200 OK in 6ms (Views: 4.3ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea4e0000'), "firstname"=>"Maeve", "lastname"=>"McLaughlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305fd2057353334ea4e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fd2057353334ea4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2681ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fd2057353334ea4e0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3078ms
Redirected to http://test.host/admin/clients/5305fd2057353334ea4e0000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea4f0000'), "firstname"=>"Annamae", "lastname"=>"Gutmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2796ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1784ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea500000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3061ms
Redirected to http://test.host/clients/5305fd2057353334ea500000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1905ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea510000'), "firstname"=>"Beth", "lastname"=>"Bosco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2341ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1749ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305fd2057353334ea510000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fd2057353334ea510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2316ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fd2057353334ea510000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2570ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1819ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea520000'), "firstname"=>"Shaun", "lastname"=>"Mante"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2354ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305fd2057353334ea520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fd2057353334ea520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2295ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.3ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea530000'), "firstname"=>"Myrtice", "lastname"=>"Gutmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3091ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3336ms
Completed 200 OK in 11ms (Views: 10.2ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea540000'), "firstname"=>"Buddy", "lastname"=>"Becker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3663ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea550000'), "firstname"=>"Lane", "lastname"=>"Upton"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3472ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305fd2057353334ea550000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fd2057353334ea550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2642ms
Completed 200 OK in 5ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea560000'), "firstname"=>"Neha", "lastname"=>"Wisoky"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3167ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305fd2057353334ea560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fd2057353334ea560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2574ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fd2057353334ea560000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2812ms
Redirected to http://test.host/clients/5305fd2057353334ea560000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea570000'), "name"=>"Calista Greenfelder", "reference"=>"Catharine Lesch", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305fd2057353334ea580000'), "firstname"=>"Araceli", "lastname"=>"Mante"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4182ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5305fd2057353334ea570000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2725ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea570000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4125ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea570000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5305fd2057353334ea590000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2787ms
Redirected to http://test.host/products/5305fd2057353334ea570000/manager
Completed 302 Found in 6ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea5a0000'), "name"=>"Maximus Rowe PhD", "reference"=>"Lonny Witting", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5305fd2057353334ea5b0000'), "firstname"=>"Zoila", "lastname"=>"Hammes"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3624ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"5305fd2057353334ea5b0000", "product_id"=>"5305fd2057353334ea5a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2741ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.4ms)
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea5c0000'), "name"=>"Oda Bode", "reference"=>"Mr. Arch Feest", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305fd2057353334ea5d0000'), "firstname"=>"Aubree", "lastname"=>"Wyman"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4087ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"5305fd2057353334ea5c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2725ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 8ms (Views: 6.4ms)
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea5e0000'), "name"=>"Vicenta Durgan", "reference"=>"Jaren Gutkowski", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('5305fd2057353334ea5f0000'), "firstname"=>"Hector", "lastname"=>"Konopelski"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4731ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"5305fd2057353334ea5f0000", "product_id"=>"5305fd2057353334ea5e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3049ms
Completed 200 OK in 6ms (Views: 3.8ms)
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea600000'), "name"=>"Henri Parker", "reference"=>"Kendra Spinka", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('5305fd2057353334ea610000'), "firstname"=>"Reyes", "lastname"=>"Swift"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4292ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"5305fd2057353334ea610000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5305fd2057353334ea600000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3781ms
Unpermitted parameters: name
Redirected to http://test.host/products/5305fd2057353334ea600000/manager
Completed 302 Found in 34ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea620000'), "name"=>"Dr. Meagan Johnston", "reference"=>"Ms. Tremaine Pouros", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4333ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2159ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea630000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3660ms
Redirected to http://test.host/products/5305fd2057353334ea630000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1809ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea640000'), "name"=>"Dee Hoeger", "reference"=>"Daren Thiel", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3070ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1996ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305fd2057353334ea640000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3169ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea640000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3084ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2363ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea650000'), "name"=>"Reta Schinner", "reference"=>"Stephan Wiegand", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2633ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305fd2057353334ea650000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2395ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms)
Completed 200 OK in 10ms (Views: 8.5ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea660000'), "name"=>"Nyasia Kuhic", "reference"=>"Dr. Antwan Wilderman", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3906ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7776ms
Completed 200 OK in 23ms (Views: 22.4ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea670000'), "name"=>"Skylar Funk", "reference"=>"Annalise Weber", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3821ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7422ms
Completed 200 OK in 5ms (Views: 2.0ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea680000'), "name"=>"Seth Balistreri II", "reference"=>"Connor Bode DDS", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305fd2057353334ea680000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3088ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea690000'), "name"=>"Mr. Josiah Price", "reference"=>"Dexter Lindgren", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3524ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 7ms (Views: 6.3ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea6b0000'), "name"=>"Ms. Jamaal Osinski", "reference"=>"Miss Destiny Rolfson", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3864ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305fd2057353334ea6b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2637ms
Completed 200 OK in 5ms (Views: 3.7ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea6c0000'), "name"=>"Ms. Muriel Torphy", "reference"=>"Daija Turner", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.3784ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2494ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea6d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3041ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2562ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea6e0000'), "name"=>"Cordia Hoppe", "reference"=>"Mr. Loy MacGyver", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3031ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305fd2057353334ea6e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea6e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2746ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea6f0000'), "name"=>"Russ Lockman Jr.", "reference"=>"Janessa Mills III", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2989ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea710000'), "name"=>"Kadin Bartell", "reference"=>"Jennie Wolff PhD", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3258ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305fd2057353334ea710000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea710000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2953ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea720000'), "name"=>"Ms. Sunny Smith", "reference"=>"Rachelle Hammes", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2580ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305fd2057353334ea720000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3461ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd2057353334ea720000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3158ms
Redirected to http://test.host/products/5305fd2057353334ea720000
Completed 302 Found in 4ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea730000'), "firstname"=>"Opal", "lastname"=>"Pouros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5124ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2285ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea740000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms
Redirected to http://test.host/users/5305fd2057353334ea740000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2000ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea750000'), "firstname"=>"Eve", "lastname"=>"Lebsack"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3550ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1735ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305fd2057353334ea750000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fd2057353334ea750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3223ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fd2057353334ea750000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2958ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1878ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea760000'), "firstname"=>"Alva", "lastname"=>"Nienow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2492ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305fd2057353334ea760000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fd2057353334ea760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2315ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea770000'), "firstname"=>"Reece", "lastname"=>"Schamberger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4233ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3608ms
Completed 200 OK in 11ms (Views: 10.2ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea780000'), "firstname"=>"Nicolette", "lastname"=>"Predovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3835ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea790000'), "firstname"=>"Rosemary", "lastname"=>"Zemlak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4240ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305fd2057353334ea790000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fd2057353334ea790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3013ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd2057353334ea7a0000'), "firstname"=>"Nya", "lastname"=>"Crooks"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3912ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305fd2057353334ea7a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fd2057353334ea7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2492ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305fd2057353334ea7a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6135ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3537ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4859ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3218ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3155ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3087ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fd3f5735333514000000'), "firstname"=>"Demarco", "lastname"=>"Kihn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4448ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1797ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fd3f5735333514010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3868ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1959ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fd3f5735333514020000'), "firstname"=>"Stevie", "lastname"=>"Klein"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3058ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305fd3f5735333514020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fd3f5735333514020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2570ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms)
Completed 200 OK in 52ms (Views: 51.1ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fd3f5735333514030000'), "firstname"=>"Neva", "lastname"=>"Schaden"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 5ms (Views: 5.0ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fd3f5735333514040000'), "firstname"=>"Lilly", "lastname"=>"Dickens"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305fd3f5735333514040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fd3f5735333514040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2572ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fd3f5735333514050000'), "firstname"=>"Rahul", "lastname"=>"Wisozk"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3913ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305fd3f5735333514050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fd3f5735333514050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2500ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd3f5735333514060000'), "name"=>"Miss Luciano DuBuque", "reference"=>"Markus Muller", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305fd3f5735333514070000'), "author_name"=>"Newell Torphy MD", "content"=>["Voluptatum recusandae deserunt ullam assumenda. Ratione iste ex saepe est soluta. Velit magni ut quaerat quia quia."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4664ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd3f5735333514060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2123ms
Processing by Admin::CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305fd3f5735333514060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd3f5735333514060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4703ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd3f5735333514060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fd475735333514080000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4740ms
Redirected to http://test.host/admin/products/5305fd3f5735333514060000/comments/5305fd475735333514080000
Completed 302 Found in 7686ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd3f5735333514060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd475735333514090000'), "name"=>"Lourdes Welch", "reference"=>"Kali Wolff", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305fd4757353335140a0000'), "author_name"=>"Cullen Heathcote", "content"=>["Assumenda nemo et occaecati voluptas. Ipsum numquam temporibus quis in sit. Reiciendis ut laboriosam. Inventore voluptatem eos ut ipsum incidunt."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4401ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd475735333514090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2951ms
Processing by Admin::CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305fd475735333514090000", "id"=>"5305fd4757353335140a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd475735333514090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4211ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd475735333514090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fd4757353335140a0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3672ms
Redirected to http://test.host/admin/products/5305fd475735333514090000/comments
Completed 302 Found in 1482ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd475735333514090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2116ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd4957353335140b0000'), "name"=>"Edmund Turner DVM", "reference"=>"Mr. Emmie Turcotte", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305fd4957353335140c0000'), "author_name"=>"Kristoffer Marks III", "content"=>["Cum dolores in cumque a est ea. Aperiam est ad. Cum temporibus quis consequatur non voluptas quam eveniet."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3711ms
Processing by Admin::CommentsController#edit as HTML
Parameters: {"product_id"=>"5305fd4957353335140b0000", "id"=>"5305fd4957353335140c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd4957353335140b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4344ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 1087ms (Views: 7.5ms)
----------------------------------------------------
Admin::CommentsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd4a57353335140d0000'), "name"=>"Helena Hoeger", "reference"=>"Josianne Wiza", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305fd4a57353335140e0000'), "author_name"=>"Eusebio Grady V", "content"=>["Voluptatem excepturi vel minima repudiandae est. Perferendis enim sit sed sapiente qui ab. Asperiores placeat laboriosam dolores debitis perferendis rerum et. Fugiat sunt unde ratione. Quas alias provident iusto quibusdam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5218ms
Processing by Admin::CommentsController#index as HTML
Parameters: {"product_id"=>"5305fd4a57353335140d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd4a57353335140d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3893ms
Completed 200 OK in 1490ms (Views: 4.5ms)
--------------------------------------------------
Admin::CommentsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd4b57353335140f0000'), "name"=>"Mr. Tod Reinger", "reference"=>"Chasity Howe Sr.", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305fd4b5735333514100000'), "author_name"=>"Ervin Graham", "content"=>["Quae magnam quia est cum minima at excepturi. Ut non officiis et excepturi et vel. Similique sapiente quasi modi. Quibusdam rem eveniet non consequatur sit."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4711ms
Processing by Admin::CommentsController#new as HTML
Parameters: {"product_id"=>"5305fd4b57353335140f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd4b57353335140f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4281ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 1281ms (Views: 5.2ms)
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd4c5735333514110000'), "name"=>"Amanda Gerhold", "reference"=>"Wendy Daugherty Jr.", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305fd4c5735333514120000'), "author_name"=>"Giovanny O'Connell", "content"=>["Iste qui quam eligendi sed debitis voluptatem laudantium. At dolor praesentium. Rerum tenetur a hic in. Numquam sequi exercitationem."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4756ms
Processing by Admin::CommentsController#show as HTML
Parameters: {"product_id"=>"5305fd4c5735333514110000", "id"=>"5305fd4c5735333514120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd4c5735333514110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4360ms
Completed 200 OK in 1229ms (Views: 4.0ms)
-------------------------------------------------
Admin::CommentsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd4e5735333514130000'), "name"=>"Luther Rogahn Sr.", "reference"=>"Marlon Thompson", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305fd4e5735333514140000'), "author_name"=>"Kip Sawayn", "content"=>["Ut quibusdam fuga neque optio mollitia qui inventore. Excepturi ipsum odit. Est eum similique dolor. Quia sequi pariatur voluptas adipisci asperiores."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4541ms
Processing by Admin::CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305fd4e5735333514140000", "product_id"=>"5305fd4e5735333514130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd4e5735333514130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3919ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd4e5735333514130000'), "comments._id"=>BSON::ObjectId('5305fd4e5735333514140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4456ms
Redirected to http://test.host/admin/products/5305fd4e5735333514130000/comments/5305fd4e5735333514140000
Completed 302 Found in 2900ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd515735333514150000'), "name"=>"Lukas Kemmer", "reference"=>"Ms. Karlee Toy", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5305fd515735333514160000'), "firstname"=>"Hermann", "lastname"=>"Thompson"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5258ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5305fd515735333514150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd515735333514150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3971ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd515735333514150000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4768ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd515735333514150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5305fd525735333514170000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3009ms
Redirected to http://test.host/admin/products/5305fd515735333514150000/manager
Completed 302 Found in 1127ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd525735333514180000'), "name"=>"Favian Keeling", "reference"=>"Graciela Pollich", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('5305fd525735333514190000'), "firstname"=>"Herman", "lastname"=>"Wehner"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 26.2681ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"5305fd525735333514190000", "product_id"=>"5305fd525735333514180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd525735333514180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3901ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 96ms (Views: 7.8ms)
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd5257353335141a0000'), "name"=>"Hailie Ortiz Jr.", "reference"=>"Dagmar Metz DVM", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5305fd5257353335141b0000'), "firstname"=>"Rebekah", "lastname"=>"Tromp"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 12.4226ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"5305fd5257353335141a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd5257353335141a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3943ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 103ms (Views: 5.5ms)
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd5257353335141c0000'), "name"=>"Luisa Rolfson", "reference"=>"Alexandra Corwin", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('5305fd5257353335141d0000'), "firstname"=>"Roberto", "lastname"=>"Sipes"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1596ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"5305fd5257353335141d0000", "product_id"=>"5305fd5257353335141c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd5257353335141c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms
Completed 200 OK in 118ms (Views: 4.0ms)
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd5257353335141e0000'), "name"=>"Daphney Bednar", "reference"=>"Lura McDermott", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305fd5257353335141f0000'), "firstname"=>"Clinton", "lastname"=>"Sawayn"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4736ms
Processing by Admin::ManagersController#update as HTML
Parameters: {"id"=>"5305fd5257353335141f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5305fd5257353335141e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd5257353335141e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4078ms
Unpermitted parameters: name
Redirected to http://test.host/admin/products/5305fd5257353335141e0000/manager
Completed 302 Found in 111ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd525735333514200000'), "name"=>"Maegan Eichmann", "reference"=>"Miss Josefa Tillman", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4838ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1993ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd525735333514210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4267ms
Redirected to http://test.host/admin/products/5305fd525735333514210000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3037ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd525735333514220000'), "name"=>"Eva Shanahan", "reference"=>"Joshuah Mohr", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5613ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3885ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305fd525735333514220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd525735333514220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4114ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd525735333514220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3688ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2416ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd525735333514230000'), "name"=>"Dudley Nolan PhD", "reference"=>"Chad Denesik Jr.", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3092ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305fd525735333514230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd525735333514230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3073ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms)
Completed 200 OK in 10ms (Views: 8.6ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd525735333514240000'), "name"=>"Britney Ritchie", "reference"=>"Lenna Gerlach", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4168ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6399ms
Completed 200 OK in 15ms (Views: 14.2ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd525735333514250000'), "name"=>"Ms. Sydney Carter", "reference"=>"Dr. Tavares Bednar", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3690ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 22ms (Views: 5.7ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd525735333514280000'), "name"=>"Lizzie Homenick", "reference"=>"Candice Gutkowski", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6588ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305fd525735333514280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd525735333514280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4273ms
Completed 200 OK in 6ms (Views: 3.9ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd525735333514290000'), "name"=>"Vincenza Tromp", "reference"=>"Amiya Purdy", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4640ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305fd525735333514290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd525735333514290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3139ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd525735333514290000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3792ms
Redirected to http://test.host/admin/products/5305fd525735333514290000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd5257353335142a0000'), "firstname"=>"Max", "lastname"=>"Mayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4957ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2304ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd5257353335142b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3832ms
Redirected to http://test.host/admin/users/5305fd5257353335142b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2633ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd5257353335142c0000'), "firstname"=>"Adriel", "lastname"=>"Cole"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3637ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2260ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305fd5257353335142c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fd5257353335142c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fd5257353335142c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3009ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1889ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd5257353335142d0000'), "firstname"=>"Shanny", "lastname"=>"Swaniawski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2496ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305fd5257353335142d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fd5257353335142d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2766ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.3ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd5257353335142e0000'), "firstname"=>"Columbus", "lastname"=>"Smitham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4551ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms
Completed 200 OK in 7ms (Views: 6.7ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd5257353335142f0000'), "firstname"=>"Adelia", "lastname"=>"Pouros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4239ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd525735333514300000'), "firstname"=>"Ahmad", "lastname"=>"Zulauf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4264ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305fd525735333514300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fd525735333514300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2484ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd525735333514310000'), "firstname"=>"Marlee", "lastname"=>"Ledner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3893ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305fd525735333514310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fd525735333514310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2522ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305fd525735333514310000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fd525735333514320000'), "firstname"=>"Yazmin", "lastname"=>"Treutel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4323ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1859ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fd525735333514330000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4815ms
Redirected to http://test.host/administrator
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2228ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fd525735333514340000'), "firstname"=>"Ahmad", "lastname"=>"Abernathy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305fd525735333514340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fd525735333514340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2978ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.8ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fd525735333514350000'), "firstname"=>"Paris", "lastname"=>"Ruecker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4534ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 4.9ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fd525735333514360000'), "firstname"=>"Adolfo", "lastname"=>"Hoppe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4065ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305fd525735333514360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fd525735333514360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3147ms
Completed 200 OK in 6ms (Views: 4.1ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305fd525735333514370000'), "firstname"=>"Darius", "lastname"=>"Fadel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4807ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305fd525735333514370000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305fd525735333514370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2931ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd525735333514380000'), "name"=>"Carol Baumbach", "reference"=>"Mrs. Cyril Rutherford", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305fd525735333514390000'), "author_name"=>"Hope Jenkins", "content"=>["Quia labore ex voluptas. Voluptatum maxime ipsum nam non voluptates. Porro qui ratione numquam sapiente doloremque."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5115ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd525735333514380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2569ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305fd525735333514380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd525735333514380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3728ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd525735333514380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fd5357353335143a0000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4215ms
Redirected to http://test.host/products/5305fd525735333514380000/comments/5305fd5357353335143a0000
Completed 302 Found in 76ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd525735333514380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2870ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd5357353335143b0000'), "name"=>"Ezekiel Halvorson", "reference"=>"Ebba Leannon", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305fd5357353335143c0000'), "author_name"=>"Dr. Dessie Hagenes", "content"=>["Dolor qui est consequuntur recusandae. Suscipit exercitationem magnam ratione quaerat voluptates. Sapiente architecto et sint."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4717ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd5357353335143b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2415ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305fd5357353335143b0000", "id"=>"5305fd5357353335143c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd5357353335143b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4347ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd5357353335143b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fd5357353335143c0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4321ms
Redirected to http://test.host/products/5305fd5357353335143b0000/comments
Completed 302 Found in 77ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd5357353335143b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2768ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd5357353335143d0000'), "name"=>"Caterina Bayer", "reference"=>"Maya Olson", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305fd5357353335143e0000'), "author_name"=>"Frank Heathcote DVM", "content"=>["Est quidem eum fugit itaque repudiandae vel. Debitis eius distinctio. Totam magni architecto atque ipsam enim. Quae dolores saepe voluptatibus. Ut ducimus dolores qui voluptate."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3862ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305fd5357353335143d0000", "id"=>"5305fd5357353335143e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd5357353335143d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4599ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 152ms (Views: 7.7ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd5357353335143f0000'), "name"=>"Marisa Schmitt", "reference"=>"Modesto Tromp", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305fd535735333514400000'), "author_name"=>"Ms. Jocelyn Gerhold", "content"=>["Pariatur id provident autem sit nesciunt deleniti ipsam. Nobis quaerat et velit alias autem. Veniam mollitia et tempora distinctio illo delectus ea. Nisi dolor ut blanditiis maxime aspernatur aut. Expedita animi aspernatur quia quo recusandae aliquid praesentium."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5904ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305fd5357353335143f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd5357353335143f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms
Completed 200 OK in 111ms (Views: 5.0ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd535735333514410000'), "name"=>"Mr. Odessa Langosh", "reference"=>"Makayla Lakin", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305fd535735333514420000'), "author_name"=>"Tiara Bergstrom", "content"=>["Rerum consequatur pariatur. Qui enim expedita esse eum maiores non eos. Repellendus aliquam quia commodi. Consectetur repellat qui ipsum magnam facilis provident. Dolorum voluptatem quasi cumque sapiente inventore."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5039ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305fd535735333514410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd535735333514410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4607ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 200 OK in 121ms (Views: 5.9ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd535735333514430000'), "name"=>"Allene Carter", "reference"=>"Milo Simonis", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305fd535735333514440000'), "author_name"=>"Jaqueline McDermott", "content"=>["Aut qui eos vel ut. Sapiente quidem tempore quo velit est veniam harum. Eveniet et quae laudantium. Veritatis earum voluptates."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5005ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305fd535735333514430000", "id"=>"5305fd535735333514440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd535735333514430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3987ms
Completed 200 OK in 88ms (Views: 4.1ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd535735333514450000'), "name"=>"Mr. Elva Blick", "reference"=>"Dr. Reilly Schamberger", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305fd535735333514460000'), "author_name"=>"Miss Phoebe Bayer", "content"=>["Minus quia eligendi dolorem harum temporibus. Voluptatem ipsum voluptas et reprehenderit error exercitationem consectetur. Quas consequatur natus. Quia ex illo architecto ut sint. Consequatur et animi sed natus quae beatae."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4530ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305fd535735333514460000", "product_id"=>"5305fd535735333514450000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd535735333514450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3859ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd535735333514450000'), "comments._id"=>BSON::ObjectId('5305fd535735333514460000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4985ms
Redirected to http://test.host/products/5305fd535735333514450000/comments/5305fd535735333514460000
Completed 302 Found in 88ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd535735333514470000'), "firstname"=>"Alaina", "lastname"=>"Rosenbaum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5047ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1969ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd535735333514480000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3430ms
Redirected to http://test.host/admin/clients/5305fd535735333514480000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2092ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd535735333514490000'), "firstname"=>"Stacey", "lastname"=>"Dare"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4583ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2317ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305fd535735333514490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fd535735333514490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3119ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fd535735333514490000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3174ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1971ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd5357353335144a0000'), "firstname"=>"Keeley", "lastname"=>"Will"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2727ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305fd5357353335144a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fd5357353335144a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2841ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.2ms)
Completed 200 OK in 43ms (Views: 41.4ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd5357353335144b0000'), "firstname"=>"Wyman", "lastname"=>"Greenfelder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4143ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3399ms
Completed 200 OK in 9ms (Views: 7.8ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd5357353335144c0000'), "firstname"=>"Tina", "lastname"=>"Dibbert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.8ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd5357353335144d0000'), "firstname"=>"Shirley", "lastname"=>"Stamm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4082ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305fd5357353335144d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fd5357353335144d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2818ms
Completed 200 OK in 6ms (Views: 5.0ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd5357353335144e0000'), "firstname"=>"Jude", "lastname"=>"Hagenes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4519ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305fd5357353335144e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fd5357353335144e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3015ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fd5357353335144e0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3951ms
Redirected to http://test.host/admin/clients/5305fd5357353335144e0000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd5357353335144f0000'), "firstname"=>"Linnea", "lastname"=>"Stiedemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3242ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2285ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd535735333514500000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3552ms
Redirected to http://test.host/clients/5305fd535735333514500000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2358ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd535735333514510000'), "firstname"=>"Larissa", "lastname"=>"Block"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2199ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305fd535735333514510000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fd535735333514510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2401ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fd535735333514510000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2587ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1861ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd535735333514520000'), "firstname"=>"Rory", "lastname"=>"Koelpin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2466ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305fd535735333514520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fd535735333514520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2422ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.2ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd535735333514530000'), "firstname"=>"Carmelo", "lastname"=>"Hermann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4347ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4031ms
Completed 200 OK in 11ms (Views: 10.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd535735333514540000'), "firstname"=>"Christop", "lastname"=>"Morissette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3929ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd535735333514550000'), "firstname"=>"Salma", "lastname"=>"Cassin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4158ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305fd535735333514550000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fd535735333514550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3606ms
Completed 200 OK in 5ms (Views: 3.7ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305fd535735333514560000'), "firstname"=>"Tara", "lastname"=>"Gibson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3906ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305fd535735333514560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fd535735333514560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2567ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305fd535735333514560000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2891ms
Redirected to http://test.host/clients/5305fd535735333514560000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd535735333514570000'), "name"=>"Dr. Glenda Sauer", "reference"=>"Brad Morar", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('5305fd535735333514580000'), "firstname"=>"Tressa", "lastname"=>"Gulgowski"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5091ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5305fd535735333514570000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd535735333514570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3978ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd535735333514570000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3565ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd535735333514570000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5305fd545735333514590000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2702ms
Redirected to http://test.host/products/5305fd535735333514570000/manager
Completed 302 Found in 77ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd5457353335145a0000'), "name"=>"Hal Cummerata", "reference"=>"Santa Schamberger", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5305fd5457353335145b0000'), "firstname"=>"Arnaldo", "lastname"=>"Erdman"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4304ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"5305fd5457353335145b0000", "product_id"=>"5305fd5457353335145a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd5457353335145a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3964ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 87ms (Views: 7.6ms)
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd5457353335145c0000'), "name"=>"Dr. Noel Bechtelar", "reference"=>"Glenna King", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5305fd5457353335145d0000'), "firstname"=>"Norwood", "lastname"=>"Muller"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4741ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"5305fd5457353335145c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd5457353335145c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4098ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 122ms (Views: 5.5ms)
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd5457353335145e0000'), "name"=>"Agustina Little", "reference"=>"Bette Ziemann V", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('5305fd5457353335145f0000'), "firstname"=>"Amani", "lastname"=>"Bailey"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4523ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"5305fd5457353335145f0000", "product_id"=>"5305fd5457353335145e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd5457353335145e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3632ms
Completed 200 OK in 88ms (Views: 3.9ms)
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd545735333514600000'), "name"=>"Delores Pagac", "reference"=>"Frida Volkman", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5305fd545735333514610000'), "firstname"=>"Maria", "lastname"=>"Hodkiewicz"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4904ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"5305fd545735333514610000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5305fd545735333514600000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd545735333514600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4055ms
Unpermitted parameters: name
Redirected to http://test.host/products/5305fd545735333514600000/manager
Completed 302 Found in 85ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd545735333514620000'), "name"=>"Glenda Kutch", "reference"=>"Haskell Murazik", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4468ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2024ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd545735333514630000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5733ms
Redirected to http://test.host/products/5305fd545735333514630000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3830ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd545735333514640000'), "name"=>"Valerie Stroman V", "reference"=>"Alexandrea Toy DVM", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5231ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2323ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305fd545735333514640000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd545735333514640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2937ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd545735333514640000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3068ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2337ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd545735333514650000'), "name"=>"Britney Walsh", "reference"=>"Maya Gutkowski", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3027ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305fd545735333514650000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd545735333514650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2458ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.3ms)
Completed 200 OK in 45ms (Views: 43.6ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd545735333514660000'), "name"=>"Merle Wiza", "reference"=>"Mr. Camilla Gutkowski", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4648ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8452ms
Completed 200 OK in 24ms (Views: 23.6ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd545735333514670000'), "name"=>"Louisa Beer", "reference"=>"Marietta Fay V", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.9942ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7919ms
Completed 200 OK in 5ms (Views: 2.0ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd545735333514680000'), "name"=>"Scotty Predovic Jr.", "reference"=>"Marcus Wyman Sr.", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305fd545735333514680000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd545735333514680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3068ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd545735333514690000'), "name"=>"Tracey Monahan", "reference"=>"Osborne Leffler", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3446ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 8ms (Views: 6.8ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd5457353335146b0000'), "name"=>"Julianne Hartmann", "reference"=>"Lorine Labadie", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4361ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305fd5457353335146b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd5457353335146b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms
Completed 200 OK in 5ms (Views: 3.6ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd5457353335146c0000'), "name"=>"Abigayle Labadie", "reference"=>"Jaunita Dickens", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3993ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2046ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd5457353335146d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3283ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1865ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd5457353335146e0000'), "name"=>"Mr. Lily Altenwerth", "reference"=>"Mr. Maia Daniel", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2455ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305fd5457353335146e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd5457353335146e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd5457353335146e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2542ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd5457353335146f0000'), "name"=>"Deon Auer", "reference"=>"Vaughn White II", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2676ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd545735333514710000'), "name"=>"Jasper Schuppe", "reference"=>"Arne Anderson Jr.", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4177ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305fd545735333514710000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd545735333514710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2618ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd545735333514710000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2902ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd545735333514720000'), "name"=>"Juvenal Mosciski", "reference"=>"Donato Robel", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2734ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305fd545735333514720000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd545735333514720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2695ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd545735333514720000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2823ms
Redirected to http://test.host/products/5305fd545735333514720000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd545735333514730000'), "firstname"=>"Xavier", "lastname"=>"Schumm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4604ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1848ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd545735333514740000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3178ms
Redirected to http://test.host/users/5305fd545735333514740000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1942ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd545735333514750000'), "firstname"=>"Price", "lastname"=>"Corkery"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3020ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1724ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305fd545735333514750000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fd545735333514750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3442ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fd545735333514750000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3687ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2418ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd545735333514760000'), "firstname"=>"Jamil", "lastname"=>"Hettinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2687ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305fd545735333514760000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fd545735333514760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2607ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd545735333514770000'), "firstname"=>"Edwardo", "lastname"=>"Breitenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4154ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3588ms
Completed 200 OK in 73ms (Views: 72.2ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd545735333514780000'), "firstname"=>"Dejuan", "lastname"=>"Abbott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4228ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd545735333514790000'), "firstname"=>"Stone", "lastname"=>"Koch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305fd545735333514790000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fd545735333514790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2617ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305fd5457353335147a0000'), "firstname"=>"Johnny", "lastname"=>"Kihn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3987ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305fd5457353335147a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305fd5457353335147a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305fd5457353335147a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6843ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3433ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4910ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2756ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2732ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2613ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd60573533352a000000'), "name"=>"Roel Schoen", "reference"=>"Danika Jenkins", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305fd60573533352a010000'), "author_name"=>"Alan Hahn", "content"=>["Saepe eum est sint vel. Animi eos eos voluptatem facere non optio ut. Rerum velit ut doloribus assumenda fugiat. Quia eum et cumque totam ab. Dolor doloribus sequi natus recusandae et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4874ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd60573533352a000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2289ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305fd60573533352a000000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd60573533352a000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4401ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd60573533352a000000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fd63573533352a020000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms
Redirected to http://test.host/products/5305fd60573533352a000000/comments/5305fd63573533352a020000
Completed 302 Found in 2687ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd60573533352a000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3247ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd63573533352a030000'), "name"=>"Muhammad Mohr", "reference"=>"Dr. Kristopher Olson", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305fd63573533352a040000'), "author_name"=>"Jessie Treutel", "content"=>["Consectetur eligendi velit explicabo. Sapiente enim illum dignissimos. Molestias voluptatem eos dicta hic. Ex cumque fuga. Accusamus magnam nobis ipsam ut omnis velit."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4158ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd63573533352a030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305fd63573533352a030000", "id"=>"5305fd63573533352a040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd63573533352a030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd63573533352a030000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fd63573533352a040000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3709ms
Redirected to http://test.host/products/5305fd63573533352a030000/comments
Completed 302 Found in 1173ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd63573533352a030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2340ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd64573533352a050000'), "name"=>"Velda Stanton MD", "reference"=>"Dr. Gino Raynor", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305fd64573533352a060000'), "author_name"=>"Carson Herzog", "content"=>["Quidem rerum similique ullam et molestiae accusantium. Et aut eum ut possimus hic. Asperiores voluptas ut excepturi nesciunt quia. Excepturi porro temporibus. Et veritatis debitis quia tempore."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4185ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305fd64573533352a050000", "id"=>"5305fd64573533352a060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd64573533352a050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4284ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.6ms)
Completed 200 OK in 1455ms (Views: 50.6ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd66573533352a070000'), "name"=>"Charlene Sauer", "reference"=>"Amely Lang", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305fd66573533352a080000'), "author_name"=>"Freddie Simonis", "content"=>["Unde voluptas et aperiam. Quidem numquam excepturi et. Ut pariatur provident nam. Consequatur velit doloremque magnam sed."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4627ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305fd66573533352a070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd66573533352a070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4289ms
Completed 200 OK in 948ms (Views: 4.4ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd66573533352a090000'), "name"=>"Celestine Hegmann", "reference"=>"Bridie Effertz", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305fd66573533352a0a0000'), "author_name"=>"Jaylin Murazik", "content"=>["Sed consequatur dicta qui. Ut quibusdam et dolores sed. Ratione iusto aut magnam incidunt. Occaecati animi recusandae. Enim explicabo quia enim et accusantium et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5141ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305fd66573533352a090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd66573533352a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4417ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 1114ms (Views: 5.2ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd68573533352a0b0000'), "name"=>"Orlando Heaney", "reference"=>"Dr. Oran Eichmann", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305fd68573533352a0c0000'), "author_name"=>"Miss Osborne Lubowitz", "content"=>["Molestiae doloribus enim necessitatibus eum. Aut enim totam voluptates veniam eum laborum. Totam voluptates dolores dolore velit. Laborum aspernatur odit iure dolorum asperiores aut temporibus. Molestiae ab maiores."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4512ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305fd68573533352a0b0000", "id"=>"5305fd68573533352a0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd68573533352a0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms
Completed 200 OK in 1216ms (Views: 4.4ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fd69573533352a0d0000'), "name"=>"Zola Muller", "reference"=>"Aida Ortiz II", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305fd69573533352a0e0000'), "author_name"=>"Christophe Harris", "content"=>["Harum iure dolorem enim qui veritatis dignissimos. Velit ab reprehenderit pariatur quibusdam aliquid consequuntur quas. Eum vitae amet iure totam. Eum in officia eum sit incidunt."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5010ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305fd69573533352a0e0000", "product_id"=>"5305fd69573533352a0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd69573533352a0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 4.3352ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fd69573533352a0d0000'), "comments._id"=>BSON::ObjectId('5305fd69573533352a0e0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6516ms
Redirected to http://test.host/products/5305fd69573533352a0d0000/comments/5305fd69573533352a0e0000
Completed 302 Found in 195244ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7033ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3265ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3027ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2041ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1977ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2006ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fe595735333609000000'), "name"=>"Alexis Schroeder", "reference"=>"Kip Bosco", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305fe595735333609010000'), "author_name"=>"Mrs. Ally Weber", "content"=>["Quas unde tempore neque et maiores odit et. Ea consequatur amet perspiciatis quisquam. Facere totam velit consequatur voluptatem reiciendis hic."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4634ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe595735333609000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2035ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305fe595735333609000000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe595735333609000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3247ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe595735333609000000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fe595735333609020000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3339ms
Redirected to http://test.host/products/5305fe595735333609000000/comments/5305fe595735333609020000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe595735333609000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2675ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fe595735333609030000'), "name"=>"Retha Barton", "reference"=>"Julio Bartoletti", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305fe595735333609040000'), "author_name"=>"Maci Kunde", "content"=>["Dolorum harum reprehenderit. Labore necessitatibus rerum cum maxime id et animi. Enim recusandae est officiis. Molestias et vero. Tenetur blanditiis accusamus numquam qui."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3657ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe595735333609030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2443ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305fe595735333609030000", "id"=>"5305fe595735333609040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe595735333609030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3048ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe595735333609030000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fe595735333609040000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3918ms
Redirected to http://test.host/products/5305fe595735333609030000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe595735333609030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2731ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fe595735333609050000'), "name"=>"Dr. Jeremy Kassulke", "reference"=>"Dr. Myrtle O'Hara", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305fe595735333609060000'), "author_name"=>"Margarita Larson IV", "content"=>["Et non officia mollitia minima. Ducimus nihil reiciendis. Suscipit aut dignissimos non impedit aut corrupti et. Pariatur ipsum incidunt eveniet quos consequatur."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3713ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305fe595735333609050000", "id"=>"5305fe595735333609060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe595735333609050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3112ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.8ms)
Completed 200 OK in 55ms (Views: 53.3ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fe595735333609070000'), "name"=>"Kacey Kshlerin", "reference"=>"Ms. Kiera Lueilwitz", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305fe595735333609080000'), "author_name"=>"Ms. Chasity Klein", "content"=>["Et ducimus nam veritatis. Cumque reiciendis dolorem atque aut. Et in nisi nobis omnis modi."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5058ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305fe595735333609070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe595735333609070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3188ms
Completed 200 OK in 6ms (Views: 4.6ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fe595735333609090000'), "name"=>"Ms. Brady Leannon", "reference"=>"Mrs. Wilma Fay", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305fe5957353336090a0000'), "author_name"=>"Anastasia Heidenreich", "content"=>["Ratione cum ullam vero veritatis. Ex et est rem illo optio ut. Quidem cum iusto rerum et cumque excepturi."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4994ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305fe595735333609090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe595735333609090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3098ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fe5957353336090b0000'), "name"=>"Kaleb Pouros", "reference"=>"Immanuel Morissette", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305fe5957353336090c0000'), "author_name"=>"Meta Grady Jr.", "content"=>["Qui repudiandae qui eum quae sed quod. Soluta modi voluptas quos occaecati sequi sunt. Ipsa quo et nesciunt voluptatem. Et ut delectus veritatis incidunt quia. Voluptatem accusantium sunt praesentium beatae quia quia ratione."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4391ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305fe5957353336090b0000", "id"=>"5305fe5957353336090c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe5957353336090b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3016ms
Completed 200 OK in 6ms (Views: 4.2ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fe5957353336090d0000'), "name"=>"Malika MacGyver", "reference"=>"Mr. Maryjane Wiegand", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305fe5957353336090e0000'), "author_name"=>"Chelsie Durgan", "content"=>["Id voluptas ab enim voluptatem sunt. Adipisci praesentium commodi explicabo id sed. Cupiditate est quia impedit maxime iure dignissimos. Et illo a doloribus."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4393ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305fe5957353336090e0000", "product_id"=>"5305fe5957353336090d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe5957353336090d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2686ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe5957353336090d0000'), "comments._id"=>BSON::ObjectId('5305fe5957353336090e0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4278ms
Redirected to http://test.host/products/5305fe5957353336090d0000/comments/5305fe5957353336090e0000
Completed 302 Found in 5ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6569ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3466ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3419ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2208ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2705ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1960ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fe865735333652000000'), "name"=>"Christ Aufderhar", "reference"=>"Eloisa Crona", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305fe865735333652010000'), "author_name"=>"Ken Sipes", "content"=>["Distinctio atque dolorem in eaque vel. Ipsam recusandae non rem reiciendis. Odio et numquam rerum quo beatae. Voluptatem excepturi veritatis tempore saepe reiciendis. Et nemo neque voluptatibus et harum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4699ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe865735333652000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2069ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305fe865735333652000000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe865735333652000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3246ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe865735333652000000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fe865735333652020000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3387ms
Redirected to http://test.host/products/5305fe865735333652000000/comments/5305fe865735333652020000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe865735333652000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2699ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fe865735333652030000'), "name"=>"Mrs. Arnulfo Mueller", "reference"=>"Miss Emma Hilpert", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305fe865735333652040000'), "author_name"=>"Shanie Kertzmann", "content"=>["Sint at quam. Quia ut modi nihil. Adipisci quod tenetur repudiandae. Dolorum aliquam qui quas quo incidunt libero. Odit impedit doloribus maiores dolor."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3817ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe865735333652030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2228ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305fe865735333652030000", "id"=>"5305fe865735333652040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe865735333652030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2688ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe865735333652030000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305fe865735333652040000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3638ms
Redirected to http://test.host/products/5305fe865735333652030000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe865735333652030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2404ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fe865735333652050000'), "name"=>"Fanny Wolff", "reference"=>"Amaya Keeling DVM", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305fe865735333652060000'), "author_name"=>"Dr. Sherwood Jacobs", "content"=>["In neque nostrum porro ut incidunt labore eveniet. Fuga ut voluptatem. Perspiciatis rerum perferendis officiis optio aut eaque."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305fe865735333652050000", "id"=>"5305fe865735333652060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe865735333652050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2973ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.1ms)
Completed 200 OK in 54ms (Views: 52.3ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fe865735333652070000'), "name"=>"Mr. Tyrel Stokes", "reference"=>"Ms. Cullen Walker", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305fe865735333652080000'), "author_name"=>"Arianna Bins", "content"=>["Harum et tenetur odio accusamus et facilis saepe. Possimus est accusamus. Quo sed architecto incidunt omnis natus."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4591ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305fe865735333652070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe865735333652070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2722ms
Completed 200 OK in 6ms (Views: 4.5ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fe865735333652090000'), "name"=>"Frederick Emard", "reference"=>"Garry Nienow", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305fe8657353336520a0000'), "author_name"=>"Joy Swift II", "content"=>["Delectus quis maiores impedit blanditiis occaecati. Veniam molestias omnis quisquam. Corrupti autem eaque. Mollitia est vero cum ut molestias. Ut dignissimos mollitia repudiandae ut id."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4400ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305fe865735333652090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe865735333652090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2694ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.1ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fe8657353336520b0000'), "name"=>"Nichole Williamson", "reference"=>"Makenna Kunze", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305fe8657353336520c0000'), "author_name"=>"Grant Balistreri", "content"=>["Provident sit assumenda. Mollitia at eum magnam et voluptatem eius. Qui porro aut."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4401ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305fe8657353336520b0000", "id"=>"5305fe8657353336520c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe8657353336520b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3162ms
Completed 200 OK in 7ms (Views: 4.2ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305fe8657353336520d0000'), "name"=>"Mr. Lila Nolan", "reference"=>"Mr. Luciano Hettinger", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305fe8657353336520e0000'), "author_name"=>"Terrill Barrows", "content"=>["Est et ipsum assumenda voluptatem ut nesciunt. Omnis recusandae quibusdam ut qui quae enim sunt. Dolorum delectus qui nihil ut expedita alias. Sunt officiis aspernatur sit non odio."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4347ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305fe8657353336520e0000", "product_id"=>"5305fe8657353336520d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe8657353336520d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3068ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305fe8657353336520d0000'), "comments._id"=>BSON::ObjectId('5305fe8657353336520e0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 29.6426ms
Redirected to http://test.host/products/5305fe8657353336520d0000/comments/5305fe8657353336520e0000
Completed 302 Found in 28000ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6174ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2756ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2622ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1933ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2627ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2412ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305feb6573533367a000000'), "name"=>"Damion Flatley", "reference"=>"Summer Gislason", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305feb6573533367a010000'), "author_name"=>"Adrianna Kuhlman", "content"=>["Nobis assumenda ab sint voluptatem saepe veritatis. Sunt at fuga sapiente accusamus eum. Laborum commodi quia. Mollitia ut aut ipsam eius iure. Error doloribus itaque sed repellendus."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5027ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305feb6573533367a000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2560ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305feb6573533367a000000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305feb6573533367a000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3173ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305feb6573533367a000000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305feb6573533367a020000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3747ms
Redirected to http://test.host/products/5305feb6573533367a000000/comments/5305feb6573533367a020000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305feb6573533367a000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2784ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305feb6573533367a030000'), "name"=>"Ariel VonRueden PhD", "reference"=>"Reed Schimmel", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305feb6573533367a040000'), "author_name"=>"Adah Kovacek", "content"=>["Architecto harum non ea illo aut veniam quo. Molestiae nulla dignissimos a. Vel doloribus vero et sint incidunt dicta."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3641ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305feb6573533367a030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2124ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305feb6573533367a030000", "id"=>"5305feb6573533367a040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305feb6573533367a030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3108ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305feb6573533367a030000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305feb6573533367a040000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms
Redirected to http://test.host/products/5305feb6573533367a030000/comments
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305feb6573533367a030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2475ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305feb6573533367a050000'), "name"=>"Ramona Gerhold", "reference"=>"Lorine Lemke", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5305feb6573533367a060000'), "author_name"=>"Ramona Kunde", "content"=>["Odit quibusdam unde pariatur dolor enim. Autem voluptas itaque et. Porro culpa ad consequuntur ut. Alias provident et expedita quia excepturi. Dolorem possimus recusandae fugiat."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3457ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305feb6573533367a050000", "id"=>"5305feb6573533367a060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305feb6573533367a050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2617ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.4ms)
Completed 200 OK in 55ms (Views: 53.5ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305feb6573533367a070000'), "name"=>"Velva Orn", "reference"=>"Barney Zemlak I", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305feb6573533367a080000'), "author_name"=>"Mrs. Aniyah Bednar", "content"=>["Ex omnis velit corporis numquam. Quaerat quibusdam nemo. Qui voluptate illo eos commodi minima quod illum. Magni odio molestiae delectus excepturi aliquid."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4483ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305feb6573533367a070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305feb6573533367a070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2719ms
Completed 200 OK in 6ms (Views: 4.5ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305feb6573533367a090000'), "name"=>"Dr. Laverna Yundt", "reference"=>"Roel Hand", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305feb6573533367a0a0000'), "author_name"=>"Dr. Katlynn Moen", "content"=>["Velit voluptate qui a. Ut voluptatem illo vero. Qui voluptatem laboriosam maxime. Neque rerum impedit."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4359ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305feb6573533367a090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305feb6573533367a090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.1ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305feb6573533367a0b0000'), "name"=>"Dewitt Jones", "reference"=>"Dr. Troy Jacobs", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305feb6573533367a0c0000'), "author_name"=>"Oran Brown", "content"=>["Voluptatum consequuntur consequatur ut deserunt velit non corrupti. Sapiente autem voluptatum esse quasi. Commodi voluptatem ut. Id odit aut."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4167ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305feb6573533367a0b0000", "id"=>"5305feb6573533367a0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305feb6573533367a0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms
Completed 200 OK in 7ms (Views: 4.3ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305feb6573533367a0d0000'), "name"=>"Mr. Cameron Jacobi", "reference"=>"Dell Mohr", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305feb6573533367a0e0000'), "author_name"=>"Cory Corkery", "content"=>["Ducimus id nesciunt nostrum illo tempore velit. Blanditiis unde aliquam eius. Quidem quis officiis ea numquam fugiat sit eos. Nobis repellat aut nihil quibusdam ut ut. Aut sed est molestiae et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4490ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305feb6573533367a0e0000", "product_id"=>"5305feb6573533367a0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305feb6573533367a0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2619ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305feb6573533367a0d0000'), "comments._id"=>BSON::ObjectId('5305feb6573533367a0e0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4247ms
Redirected to http://test.host/products/5305feb6573533367a0d0000/comments/5305feb6573533367a0e0000
Completed 302 Found in 44105ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6978ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4097ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3856ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2759ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2907ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2628ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1657353336d2000000'), "name"=>"Arne Powlowski", "reference"=>"Cierra Hills", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305ff1657353336d2010000'), "author_name"=>"Barrett Metz Jr.", "content"=>["Qui iure dolores qui ea at. Ratione ut laboriosam sed tenetur placeat. In qui vero modi quae assumenda molestiae."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5265ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1657353336d2000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305ff1657353336d2000000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1657353336d2000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3088ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1657353336d2000000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305ff1657353336d2020000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3684ms
Redirected to http://test.host/products/5305ff1657353336d2000000/comments/5305ff1657353336d2020000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1657353336d2000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2792ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1657353336d2030000'), "name"=>"Elsie Weber V", "reference"=>"Waylon Schiller MD", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305ff1657353336d2040000'), "author_name"=>"Dr. Americo Kuvalis", "content"=>["Quas ipsa et hic. Deleniti a aut sed rem eligendi. Odit repellendus in voluptatum dolor."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3664ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1657353336d2030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2252ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305ff1657353336d2030000", "id"=>"5305ff1657353336d2040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1657353336d2030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2595ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1657353336d2030000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305ff1657353336d2040000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3658ms
Redirected to http://test.host/products/5305ff1657353336d2030000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1657353336d2030000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2060ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1657353336d2050000'), "name"=>"Keshawn Goldner", "reference"=>"Miss Tressie Von", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305ff1657353336d2060000'), "author_name"=>"Chelsey Predovic", "content"=>["Culpa itaque doloribus exercitationem consectetur voluptas dolor temporibus. Iusto asperiores qui quia voluptatem. Ad quidem aperiam vel ut recusandae deserunt."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305ff1657353336d2050000", "id"=>"5305ff1657353336d2060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1657353336d2050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2657ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.4ms)
Completed 200 OK in 57ms (Views: 55.0ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1657353336d2070000'), "name"=>"Mrs. Angus Auer", "reference"=>"Philip Goyette III", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('5305ff1657353336d2080000'), "author_name"=>"Alaina Goldner", "content"=>["Sint quo ratione facere rerum. At deleniti placeat unde. Cupiditate rerum adipisci nesciunt ut itaque assumenda nam. Possimus dolor est sed."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5009ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305ff1657353336d2070000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1657353336d2070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2984ms
Completed 200 OK in 7ms (Views: 4.7ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1657353336d2090000'), "name"=>"Mr. Houston Bernhard", "reference"=>"Jennifer Christiansen", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305ff1657353336d20a0000'), "author_name"=>"Ms. Joelle Koepp", "content"=>["Tempore saepe sed veritatis ea. Et dolorem aut. Delectus libero repellat odit ut."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4399ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305ff1657353336d2090000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1657353336d2090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2919ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1657353336d20b0000'), "name"=>"Keanu Champlin MD", "reference"=>"Ms. Arno Mraz", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5305ff1657353336d20c0000'), "author_name"=>"Ms. Rosanna Emmerich", "content"=>["Et cupiditate quo enim totam temporibus voluptatem eius. Inventore dicta consequatur. Et qui impedit."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4315ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305ff1657353336d20b0000", "id"=>"5305ff1657353336d20c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1657353336d20b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4701ms
Completed 200 OK in 7ms (Views: 4.4ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1657353336d20d0000'), "name"=>"Ms. Kayden Glover", "reference"=>"Marian Witting", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305ff1657353336d20e0000'), "author_name"=>"Mr. Kacie Toy", "content"=>["Dolorum reprehenderit aut nam. Aut quas iure in unde deserunt. Sit enim quaerat."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4618ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305ff1657353336d20e0000", "product_id"=>"5305ff1657353336d20d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1657353336d20d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2977ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1657353336d20d0000'), "comments._id"=>BSON::ObjectId('5305ff1657353336d20e0000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4670ms
Redirected to http://test.host/products/5305ff1657353336d20d0000/comments/5305ff1657353336d20e0000
Completed 302 Found in 5ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5883ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2733ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2533ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1479ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1661ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2317ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ff1a5735333715000000'), "firstname"=>"Onie", "lastname"=>"Herman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4607ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1798ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ff1a5735333715010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1989ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ff1a5735333715020000'), "firstname"=>"Ocie", "lastname"=>"Wehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2944ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5305ff1a5735333715020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305ff1a5735333715020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms)
Completed 200 OK in 53ms (Views: 52.0ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ff1a5735333715030000'), "firstname"=>"Fleta", "lastname"=>"Osinski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4599ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ff1a5735333715040000'), "firstname"=>"Jensen", "lastname"=>"Borer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4078ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5305ff1a5735333715040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305ff1a5735333715040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2994ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ff1a5735333715050000'), "firstname"=>"Alisa", "lastname"=>"Douglas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5305ff1a5735333715050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305ff1a5735333715050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1a5735333715060000'), "name"=>"Miss Madelynn Krajcik", "reference"=>"Christa Ondricka", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5305ff1a5735333715070000'), "author_name"=>"Dr. Dovie Thompson", "content"=>["Sint minima accusantium excepturi. Ad rerum voluptate quisquam natus vitae. Amet blanditiis sint eius praesentium. Est sed numquam asperiores rerum commodi qui sed."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4566ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1a5735333715060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2142ms
Processing by Admin::CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305ff1a5735333715060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1a5735333715060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2751ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1a5735333715060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305ff1a5735333715080000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3763ms
Redirected to http://test.host/admin/products/5305ff1a5735333715060000/comments/5305ff1a5735333715080000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1a5735333715060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2861ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1a5735333715090000'), "name"=>"Maverick Ziemann", "reference"=>"Vilma Schulist", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305ff1a57353337150a0000'), "author_name"=>"Ernesto Cremin", "content"=>["Quia facilis dolorum. Sit odio voluptatem ex maiores ea. Nisi expedita hic nulla iure. Sit rerum modi placeat incidunt deleniti in ab. Laborum praesentium sint recusandae voluptates consectetur."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4158ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1a5735333715090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2394ms
Processing by Admin::CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305ff1a5735333715090000", "id"=>"5305ff1a57353337150a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1a5735333715090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2401ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1a5735333715090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305ff1a57353337150a0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4819ms
Redirected to http://test.host/admin/products/5305ff1a5735333715090000/comments
Completed 302 Found in 32ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1a5735333715090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2252ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1a57353337150b0000'), "name"=>"Miss Paris Stanton", "reference"=>"Natalie Ernser", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305ff1a57353337150c0000'), "author_name"=>"Zula Wilderman V", "content"=>["Aspernatur corporis error omnis. Voluptates rem nihil non omnis perspiciatis harum. Non quos ducimus fuga eos dolor labore a. Culpa soluta temporibus suscipit quas molestiae. Hic corrupti vel iste."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3407ms
Processing by Admin::CommentsController#edit as HTML
Parameters: {"product_id"=>"5305ff1a57353337150b0000", "id"=>"5305ff1a57353337150c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1a57353337150b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3344ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 10ms (Views: 7.7ms)
----------------------------------------------------
Admin::CommentsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337150d0000'), "name"=>"Reba Carroll", "reference"=>"Dr. Stacy Parisian", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5305ff1b57353337150e0000'), "author_name"=>"Kathryne Frami DVM", "content"=>["Provident saepe voluptatem quis corporis rerum. Veritatis ullam est. Beatae est nostrum soluta qui harum. Officiis odit impedit. Quis velit placeat."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.0460ms
Processing by Admin::CommentsController#index as HTML
Parameters: {"product_id"=>"5305ff1b57353337150d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b57353337150d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4019ms
Completed 200 OK in 7ms (Views: 4.6ms)
--------------------------------------------------
Admin::CommentsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337150f0000'), "name"=>"Jettie Wilkinson", "reference"=>"Elsa Romaguera", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305ff1b5735333715100000'), "author_name"=>"Mrs. Mona McGlynn", "content"=>["Et saepe ea quia facere. Aspernatur aut est quas ea. Atque asperiores error provident voluptas qui quia rerum. Architecto sit sit non impedit."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4818ms
Processing by Admin::CommentsController#new as HTML
Parameters: {"product_id"=>"5305ff1b57353337150f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b57353337150f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3378ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.1ms)
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715110000'), "name"=>"Easter Becker", "reference"=>"Cole Funk", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305ff1b5735333715120000'), "author_name"=>"Dr. Randi Gibson", "content"=>["Aliquam et sed voluptas enim. Nam nisi eveniet minima adipisci rerum ab quos. Repellat eos beatae doloribus assumenda. Consequuntur non doloribus nam. Quia et impedit quo maiores."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4410ms
Processing by Admin::CommentsController#show as HTML
Parameters: {"product_id"=>"5305ff1b5735333715110000", "id"=>"5305ff1b5735333715120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2709ms
Completed 200 OK in 6ms (Views: 4.4ms)
-------------------------------------------------
Admin::CommentsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715130000'), "name"=>"Mr. Elian Mraz", "reference"=>"Deven Sauer DDS", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305ff1b5735333715140000'), "author_name"=>"Miss Floy Walker", "content"=>["Perferendis sequi laboriosam et nulla. Necessitatibus molestiae expedita saepe id. Ut suscipit architecto saepe. Non libero est alias sunt delectus. Nobis mollitia voluptatem enim."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4570ms
Processing by Admin::CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305ff1b5735333715140000", "product_id"=>"5305ff1b5735333715130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2712ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715130000'), "comments._id"=>BSON::ObjectId('5305ff1b5735333715140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4133ms
Redirected to http://test.host/admin/products/5305ff1b5735333715130000/comments/5305ff1b5735333715140000
Completed 302 Found in 4ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715150000'), "name"=>"Alize Ledner", "reference"=>"Sydnee Cummerata", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('5305ff1b5735333715160000'), "firstname"=>"Nicola", "lastname"=>"Bechtelar"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5138ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5305ff1b5735333715150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3458ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715150000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3837ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5305ff1b5735333715170000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2865ms
Redirected to http://test.host/admin/products/5305ff1b5735333715150000/manager
Completed 302 Found in 5ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715180000'), "name"=>"Robbie Pfannerstill", "reference"=>"Diana Kautzer", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5305ff1b5735333715190000'), "firstname"=>"Annamae", "lastname"=>"Bernhard"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3874ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"5305ff1b5735333715190000", "product_id"=>"5305ff1b5735333715180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2891ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.2ms)
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337151a0000'), "name"=>"Dr. Maddison Harvey", "reference"=>"Mrs. Alanna Fadel", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('5305ff1b57353337151b0000'), "firstname"=>"Loren", "lastname"=>"Rice"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4200ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"5305ff1b57353337151a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b57353337151a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2564ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 7ms (Views: 5.8ms)
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337151c0000'), "name"=>"Melyssa Gerhold", "reference"=>"Erika DuBuque", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('5305ff1b57353337151d0000'), "firstname"=>"Rahul", "lastname"=>"Carter"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4248ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"5305ff1b57353337151d0000", "product_id"=>"5305ff1b57353337151c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b57353337151c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2542ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337151e0000'), "name"=>"Shanel Weimann", "reference"=>"Grayce Hoppe", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5305ff1b57353337151f0000'), "firstname"=>"Marie", "lastname"=>"Lueilwitz"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7364ms
Processing by Admin::ManagersController#update as HTML
Parameters: {"id"=>"5305ff1b57353337151f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5305ff1b57353337151e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b57353337151e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms
Unpermitted parameters: name
Redirected to http://test.host/admin/products/5305ff1b57353337151e0000/manager
Completed 302 Found in 3ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715200000'), "name"=>"Madalyn Von", "reference"=>"Mrs. Libbie Feeney", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4543ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1862ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms
Redirected to http://test.host/admin/products/5305ff1b5735333715210000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1989ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715220000'), "name"=>"Mr. Eleanora Toy", "reference"=>"Maynard Donnelly", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3350ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1814ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5305ff1b5735333715220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2786ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2955ms
Redirected to http://test.host/admin/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1908ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715230000'), "name"=>"Emerald Corkery", "reference"=>"Loren Ondricka", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2776ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5305ff1b5735333715230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2571ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715240000'), "name"=>"Providenci Ratke", "reference"=>"Tyree Jast", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6136ms
Completed 200 OK in 14ms (Views: 13.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715250000'), "name"=>"Kara Spinka IV", "reference"=>"Ms. Alexandrea Abbott", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 22ms (Views: 6.4ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715280000'), "name"=>"Bailee Cassin", "reference"=>"Franco Boehm", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4056ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5305ff1b5735333715280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2535ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715290000'), "name"=>"Jaqueline Littel DDS", "reference"=>"Ottilie Beier", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4020ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305ff1b5735333715290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715290000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3293ms
Redirected to http://test.host/admin/products/5305ff1b5735333715290000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337152a0000'), "firstname"=>"Breana", "lastname"=>"Ortiz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1774ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337152b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3500ms
Redirected to http://test.host/admin/users/5305ff1b57353337152b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2357ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337152c0000'), "firstname"=>"Karelle", "lastname"=>"Gaylord"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4572ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1491ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5305ff1b57353337152c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ff1b57353337152c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2145ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ff1b57353337152c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2508ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1457ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337152d0000'), "firstname"=>"Geovanny", "lastname"=>"Bernhard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2501ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5305ff1b57353337152d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ff1b57353337152d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2614ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.2ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337152e0000'), "firstname"=>"Wilburn", "lastname"=>"Marvin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4122ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3095ms
Completed 200 OK in 38ms (Views: 37.7ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337152f0000'), "firstname"=>"Furman", "lastname"=>"Eichmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4172ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715300000'), "firstname"=>"Aniya", "lastname"=>"Jenkins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4160ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5305ff1b5735333715300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ff1b5735333715300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2641ms
Completed 200 OK in 5ms (Views: 3.8ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715310000'), "firstname"=>"Eden", "lastname"=>"Johnston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.5772ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305ff1b5735333715310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ff1b5735333715310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5305ff1b5735333715310000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715320000'), "firstname"=>"Richard", "lastname"=>"Wisozk"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4744ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3279ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715330000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4262ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1950ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715340000'), "firstname"=>"Darien", "lastname"=>"Hilpert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3094ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5305ff1b5735333715340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305ff1b5735333715340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2636ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 6.9ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715350000'), "firstname"=>"Collin", "lastname"=>"Rau"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715360000'), "firstname"=>"Stewart", "lastname"=>"Carter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4281ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5305ff1b5735333715360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305ff1b5735333715360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3544ms
Completed 200 OK in 6ms (Views: 4.0ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715370000'), "firstname"=>"Tessie", "lastname"=>"Gleichner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4231ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5305ff1b5735333715370000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5305ff1b5735333715370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2498ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715380000'), "name"=>"Shany Hilpert Sr.", "reference"=>"Lucinda D'Amore II", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305ff1b5735333715390000'), "author_name"=>"Mr. Imani Ratke", "content"=>["Alias non laudantium. Tenetur qui iure illum. Omnis omnis atque est nesciunt sit veritatis. Velit est est soluta."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4362ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2074ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5305ff1b5735333715380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2764ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5305ff1b57353337153a0000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3300ms
Redirected to http://test.host/products/5305ff1b5735333715380000/comments/5305ff1b57353337153a0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2104ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337153b0000'), "name"=>"Dr. Kip Blick", "reference"=>"Obie Shanahan", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5305ff1b57353337153c0000'), "author_name"=>"Miss Effie Bradtke", "content"=>["Exercitationem expedita non voluptatum quos repudiandae. Delectus dignissimos eveniet. Mollitia iure repudiandae expedita nihil. Modi dolorum rem et. Quidem laboriosam in minus pariatur facere."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4000ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b57353337153b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2148ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5305ff1b57353337153b0000", "id"=>"5305ff1b57353337153c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b57353337153b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3627ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b57353337153b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5305ff1b57353337153c0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3012ms
Redirected to http://test.host/products/5305ff1b57353337153b0000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b57353337153b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1934ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337153d0000'), "name"=>"Mrs. Rhoda Fay", "reference"=>"Ed Deckow", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('5305ff1b57353337153e0000'), "author_name"=>"Bernadette Gulgowski", "content"=>["In quia qui aliquam et quasi unde sed. Earum harum ea sit et asperiores enim omnis. Atque fuga earum dolore."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3242ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5305ff1b57353337153d0000", "id"=>"5305ff1b57353337153e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b57353337153d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2701ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 9ms (Views: 7.1ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337153f0000'), "name"=>"Albin Conroy", "reference"=>"Connor Rath", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305ff1b5735333715400000'), "author_name"=>"Rocky Dare", "content"=>["Voluptas perspiciatis fugit nulla optio porro enim. Quis quo commodi ea in ut necessitatibus. Rerum ipsum dolore facere aut. Quia inventore molestias voluptatem dicta veritatis voluptatem. Cumque veniam nostrum dolore."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5978ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5305ff1b57353337153f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b57353337153f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3085ms
Completed 200 OK in 39ms (Views: 37.2ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715410000'), "name"=>"Nyah McGlynn", "reference"=>"Imani Ledner", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5305ff1b5735333715420000'), "author_name"=>"Terence Hodkiewicz", "content"=>["Ducimus eos minima labore dolores fugit. Vel aspernatur dignissimos quasi enim beatae rerum. Ut quis inventore velit nemo quod. Neque et consequatur aliquam in aut. Rerum nam laborum molestiae ipsum cumque architecto voluptatem."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4715ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5305ff1b5735333715410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3388ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.3ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715430000'), "name"=>"Reggie Lehner", "reference"=>"Miss Maverick Cummings", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305ff1b5735333715440000'), "author_name"=>"Miss Oda Green", "content"=>["Nulla odio alias voluptatem autem mollitia est. A libero aut sed quod. Et architecto rem est veritatis sed qui. Modi sit ut maiores expedita nam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4877ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5305ff1b5735333715430000", "id"=>"5305ff1b5735333715440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2788ms
Completed 200 OK in 6ms (Views: 3.9ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715450000'), "name"=>"Chase D'Amore", "reference"=>"Rashawn Cronin", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5305ff1b5735333715460000'), "author_name"=>"Gerry Hand", "content"=>["Officiis consequatur quod. Fuga voluptatem ullam est est. Ex nihil fuga nemo accusamus sed suscipit."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4350ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5305ff1b5735333715460000", "product_id"=>"5305ff1b5735333715450000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3466ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715450000'), "comments._id"=>BSON::ObjectId('5305ff1b5735333715460000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5542ms
Redirected to http://test.host/products/5305ff1b5735333715450000/comments/5305ff1b5735333715460000
Completed 302 Found in 6ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715470000'), "firstname"=>"Ned", "lastname"=>"Kuphal"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4963ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2291ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715480000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4262ms
Redirected to http://test.host/admin/clients/5305ff1b5735333715480000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3358ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715490000'), "firstname"=>"Yadira", "lastname"=>"Hudson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5030ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2275ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305ff1b5735333715490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ff1b5735333715490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3014ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ff1b5735333715490000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3445ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2339ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337154a0000'), "firstname"=>"Tressie", "lastname"=>"Gerlach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2517ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305ff1b57353337154a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ff1b57353337154a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2492ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337154b0000'), "firstname"=>"Dejah", "lastname"=>"Witting"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.3415ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3199ms
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337154c0000'), "firstname"=>"Mateo", "lastname"=>"Schiller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4172ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 39ms (Views: 38.3ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337154d0000'), "firstname"=>"Thalia", "lastname"=>"Stark"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4485ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305ff1b57353337154d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ff1b57353337154d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2989ms
Completed 200 OK in 7ms (Views: 4.9ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337154e0000'), "firstname"=>"Nasir", "lastname"=>"Koelpin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4352ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305ff1b57353337154e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ff1b57353337154e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2651ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ff1b57353337154e0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2916ms
Redirected to http://test.host/admin/clients/5305ff1b57353337154e0000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337154f0000'), "firstname"=>"Vergie", "lastname"=>"Jacobs"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2835ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1426ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715500000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2604ms
Redirected to http://test.host/clients/5305ff1b5735333715500000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1474ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715510000'), "firstname"=>"Chanelle", "lastname"=>"Klocko"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1964ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1302ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5305ff1b5735333715510000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ff1b5735333715510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2029ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ff1b5735333715510000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2248ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1468ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715520000'), "firstname"=>"Spencer", "lastname"=>"Franecki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2516ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5305ff1b5735333715520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ff1b5735333715520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2497ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715530000'), "firstname"=>"Madison", "lastname"=>"Block"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3692ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4182ms
Completed 200 OK in 11ms (Views: 10.6ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715540000'), "firstname"=>"Ernest", "lastname"=>"Christiansen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3663ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.6ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715550000'), "firstname"=>"Maritza", "lastname"=>"Ullrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5305ff1b5735333715550000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ff1b5735333715550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2768ms
Completed 200 OK in 5ms (Views: 3.5ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715560000'), "firstname"=>"Mason", "lastname"=>"Predovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3975ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5305ff1b5735333715560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ff1b5735333715560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2560ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5305ff1b5735333715560000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2563ms
Redirected to http://test.host/clients/5305ff1b5735333715560000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715570000'), "name"=>"Amiya Yost", "reference"=>"Aaron Frami", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('5305ff1b5735333715580000'), "firstname"=>"Ernie", "lastname"=>"Hermann"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4393ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5305ff1b5735333715570000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3324ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715570000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2744ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715570000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5305ff1b5735333715590000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1905ms
Redirected to http://test.host/products/5305ff1b5735333715570000/manager
Completed 302 Found in 5ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337155a0000'), "name"=>"Kole O'Kon", "reference"=>"Pink Botsford IV", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5305ff1b57353337155b0000'), "firstname"=>"Richard", "lastname"=>"Hirthe"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3718ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"5305ff1b57353337155b0000", "product_id"=>"5305ff1b57353337155a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b57353337155a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2971ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 7.9ms)
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337155c0000'), "name"=>"Jordi Carter", "reference"=>"Curtis Simonis", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('5305ff1b57353337155d0000'), "firstname"=>"Janice", "lastname"=>"White"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4725ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"5305ff1b57353337155c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b57353337155c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2867ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337155e0000'), "name"=>"Teagan Wiegand", "reference"=>"Vida Ziemann", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5305ff1b57353337155f0000'), "firstname"=>"Carmella", "lastname"=>"Rolfson"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4694ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"5305ff1b57353337155f0000", "product_id"=>"5305ff1b57353337155e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b57353337155e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3049ms
Completed 200 OK in 5ms (Views: 3.7ms)
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715600000'), "name"=>"Russ Medhurst", "reference"=>"Mr. Onie Weber", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('5305ff1b5735333715610000'), "firstname"=>"Karine", "lastname"=>"Strosin"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5091ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"5305ff1b5735333715610000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5305ff1b5735333715600000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3588ms
Unpermitted parameters: name
Redirected to http://test.host/products/5305ff1b5735333715600000/manager
Completed 302 Found in 3ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715620000'), "name"=>"Ms. Jorge Luettgen", "reference"=>"Amber Mante", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4519ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1853ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715630000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3713ms
Redirected to http://test.host/products/5305ff1b5735333715630000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1997ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715640000'), "name"=>"Dr. Orville Schoen", "reference"=>"Mr. Clarabelle Oberbrunner", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3324ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1805ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5305ff1b5735333715640000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2602ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715640000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3113ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2050ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715650000'), "name"=>"Clark Zieme", "reference"=>"Kristoffer Greenfelder Jr.", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4448ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5305ff1b5735333715650000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 10ms (Views: 8.2ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715660000'), "name"=>"Nayeli Weber", "reference"=>"Ewald Kozey", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4133ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7399ms
Completed 200 OK in 23ms (Views: 22.5ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715670000'), "name"=>"Lawrence Terry", "reference"=>"Jeremie Ullrich", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3782ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6971ms
Completed 200 OK in 5ms (Views: 2.0ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715680000'), "name"=>"Onie Senger", "reference"=>"Hannah Bode", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3258ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5305ff1b5735333715680000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2562ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715690000'), "name"=>"Clarabelle Koepp", "reference"=>"Tristian Heathcote DVM", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2873ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 7ms (Views: 6.4ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337156b0000'), "name"=>"Candace Cummings", "reference"=>"Luciano Bernier", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4299ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5305ff1b57353337156b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b57353337156b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2574ms
Completed 200 OK in 5ms (Views: 3.6ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337156c0000'), "name"=>"Mr. Aditya Leffler", "reference"=>"Elva Ebert", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1803ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337156d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1667ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337156e0000'), "name"=>"John O'Keefe", "reference"=>"Hipolito Stamm", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2334ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5305ff1b57353337156e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b57353337156e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b57353337156e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2526ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337156f0000'), "name"=>"Kara Frami", "reference"=>"Antonetta Thompson", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2621ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715710000'), "name"=>"Gina Steuber", "reference"=>"Mya Doyle", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4239ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305ff1b5735333715710000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3577ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715710000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2885ms
Completed 202 Accepted in 4ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715720000'), "name"=>"Willie McLaughlin", "reference"=>"Allie Gulgowski", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2708ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5305ff1b5735333715720000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5305ff1b5735333715720000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2782ms
Redirected to http://test.host/products/5305ff1b5735333715720000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715730000'), "firstname"=>"Kaci", "lastname"=>"Christiansen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4271ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2971ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715740000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3666ms
Redirected to http://test.host/users/5305ff1b5735333715740000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1999ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715750000'), "firstname"=>"Lonie", "lastname"=>"Predovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3266ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1928ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5305ff1b5735333715750000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ff1b5735333715750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3781ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ff1b5735333715750000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2807ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1897ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715760000'), "firstname"=>"Jose", "lastname"=>"Kulas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2528ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5305ff1b5735333715760000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ff1b5735333715760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2500ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715770000'), "firstname"=>"Gladyce", "lastname"=>"Ernser"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4107ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3681ms
Completed 200 OK in 10ms (Views: 9.9ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715780000'), "firstname"=>"Ignatius", "lastname"=>"Schultz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3709ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.3ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ff1b5735333715790000'), "firstname"=>"Myron", "lastname"=>"Jacobson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4108ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5305ff1b5735333715790000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ff1b5735333715790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2455ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5305ff1b57353337157a0000'), "firstname"=>"Thora", "lastname"=>"Green"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3893ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5305ff1b57353337157a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5305ff1b57353337157a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms
Unpermitted parameters: name
Redirected to http://test.host/users/5305ff1b57353337157a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6116ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4443ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2712ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2905ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2788ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530600a857353338e6000000'), "firstname"=>"Mariano", "lastname"=>"Weber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4529ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1842ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530600a857353338e6010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3626ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1961ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530600a857353338e6020000'), "firstname"=>"Tre", "lastname"=>"Bashirian"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2992ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"530600a857353338e6020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530600a857353338e6020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms)
Completed 200 OK in 53ms (Views: 51.5ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530600a857353338e6030000'), "firstname"=>"Clarissa", "lastname"=>"Murazik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4277ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530600a857353338e6040000'), "firstname"=>"Mattie", "lastname"=>"Nader"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4089ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"530600a857353338e6040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530600a857353338e6040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2642ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530600a857353338e6050000'), "firstname"=>"Vance", "lastname"=>"Brekke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3945ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"530600a857353338e6050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530600a857353338e6050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a857353338e6060000'), "name"=>"Juvenal Bradtke", "reference"=>"Ms. Micaela Glover", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530600a857353338e6070000'), "author_name"=>"Annabell Leffler", "content"=>["Blanditiis dolor temporibus modi in praesentium est distinctio. Corrupti adipisci aut vel minima libero. Quasi ea alias illo."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4448ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a857353338e6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1875ms
Processing by Admin::CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530600a857353338e6060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a857353338e6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2875ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a857353338e6060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530600a857353338e6080000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4020ms
Redirected to http://test.host/admin/products/530600a857353338e6060000/comments/530600a857353338e6080000
Completed 302 Found in 5ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a857353338e6060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3144ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a857353338e6090000'), "name"=>"Micaela Schulist DDS", "reference"=>"Freddie Nader III", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530600a857353338e60a0000'), "author_name"=>"Garnett Kassulke", "content"=>["Rerum quo cupiditate possimus. Tempore odit non rerum placeat. Neque debitis natus rerum eum voluptatum totam. Sint enim qui ut sequi quisquam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a857353338e6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2256ms
Processing by Admin::CommentsController#destroy as HTML
Parameters: {"product_id"=>"530600a857353338e6090000", "id"=>"530600a857353338e60a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a857353338e6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2814ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a857353338e6090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530600a857353338e60a0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4913ms
Redirected to http://test.host/admin/products/530600a857353338e6090000/comments
Completed 302 Found in 31ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a857353338e6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e60b0000'), "name"=>"Cleve Ruecker V", "reference"=>"Dr. Amie Volkman", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530600a957353338e60c0000'), "author_name"=>"Lorine Wisoky", "content"=>["Non dolorem porro aliquid sint minus. Saepe dicta nisi rerum repellendus. Error ut ea nihil consectetur. Non sed a et officiis quo cumque vel. Eius voluptate ut deleniti sapiente sequi fugit."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3558ms
Processing by Admin::CommentsController#edit as HTML
Parameters: {"product_id"=>"530600a957353338e60b0000", "id"=>"530600a957353338e60c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e60b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 10ms (Views: 7.7ms)
----------------------------------------------------
Admin::CommentsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e60d0000'), "name"=>"Andre Halvorson", "reference"=>"Juanita Dicki IV", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('530600a957353338e60e0000'), "author_name"=>"Miss Devon Schultz", "content"=>["Quibusdam asperiores modi adipisci et quos quia veniam. Velit ut iure natus. Molestiae nemo debitis similique vitae. Aut voluptate veritatis voluptas. Voluptas deleniti sed."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4541ms
Processing by Admin::CommentsController#index as HTML
Parameters: {"product_id"=>"530600a957353338e60d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e60d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4142ms
Completed 200 OK in 7ms (Views: 4.6ms)
--------------------------------------------------
Admin::CommentsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e60f0000'), "name"=>"Angeline Schoen", "reference"=>"Mrs. Jon Luettgen", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530600a957353338e6100000'), "author_name"=>"Mr. Dayana Denesik", "content"=>["Enim consectetur consequatur est ea voluptatem velit et. Consequuntur ut illo nam dolores. Quia quia impedit deleniti ut. Voluptatem sit id ut eos dignissimos nihil."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4420ms
Processing by Admin::CommentsController#new as HTML
Parameters: {"product_id"=>"530600a957353338e60f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e60f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2666ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.1ms)
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6110000'), "name"=>"Sammie Leuschke V", "reference"=>"Celine Orn", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530600a957353338e6120000'), "author_name"=>"Jakob Welch", "content"=>["Consequatur et ex ut minima vitae sequi molestiae. Accusamus in consequatur vero aperiam hic. Omnis architecto et ea iusto perferendis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4372ms
Processing by Admin::CommentsController#show as HTML
Parameters: {"product_id"=>"530600a957353338e6110000", "id"=>"530600a957353338e6120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2643ms
Completed 200 OK in 6ms (Views: 3.9ms)
-------------------------------------------------
Admin::CommentsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6130000'), "name"=>"Cali Little", "reference"=>"Harry Keeling", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530600a957353338e6140000'), "author_name"=>"Athena Keeling III", "content"=>["Provident placeat consequatur nulla itaque tenetur reiciendis ullam. Esse nihil sed impedit. Ullam qui voluptas. Quas sapiente tempore deleniti dolores et. Non quam ipsum incidunt earum ducimus neque."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4437ms
Processing by Admin::CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530600a957353338e6140000", "product_id"=>"530600a957353338e6130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2344ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6130000'), "comments._id"=>BSON::ObjectId('530600a957353338e6140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4014ms
Redirected to http://test.host/admin/products/530600a957353338e6130000/comments/530600a957353338e6140000
Completed 302 Found in 4ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6150000'), "name"=>"Susie Volkman PhD", "reference"=>"Juanita Barton", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530600a957353338e6160000'), "firstname"=>"Martina", "lastname"=>"Rippin"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4378ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530600a957353338e6150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3807ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6150000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3751ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530600a957353338e6170000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2379ms
Redirected to http://test.host/admin/products/530600a957353338e6150000/manager
Completed 302 Found in 5ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6180000'), "name"=>"Cheyenne Sanford I", "reference"=>"Bernadette Harber", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530600a957353338e6190000'), "firstname"=>"Gladyce", "lastname"=>"Rosenbaum"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3760ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"530600a957353338e6190000", "product_id"=>"530600a957353338e6180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2671ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.2ms)
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e61a0000'), "name"=>"Ms. Raven Bode", "reference"=>"Dr. Ivory Morissette", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530600a957353338e61b0000'), "firstname"=>"Candida", "lastname"=>"Collins"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4227ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"530600a957353338e61a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e61a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.5ms)
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e61c0000'), "name"=>"Roy Friesen", "reference"=>"Lily Champlin DDS", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530600a957353338e61d0000'), "firstname"=>"Dulce", "lastname"=>"Jacobs"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4510ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"530600a957353338e61d0000", "product_id"=>"530600a957353338e61c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e61c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2603ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e61e0000'), "name"=>"Aditya Corkery", "reference"=>"Suzanne Pfannerstill", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530600a957353338e61f0000'), "firstname"=>"Eleanora", "lastname"=>"Labadie"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4148ms
Processing by Admin::ManagersController#update as HTML
Parameters: {"id"=>"530600a957353338e61f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530600a957353338e61e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e61e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2608ms
Unpermitted parameters: name
Redirected to http://test.host/admin/products/530600a957353338e61e0000/manager
Completed 302 Found in 3ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6200000'), "name"=>"Kyla Larkin", "reference"=>"Ms. Magnolia Mann", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4424ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1842ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7626ms
Redirected to http://test.host/admin/products/530600a957353338e6210000
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2302ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6220000'), "name"=>"Meta Upton", "reference"=>"Emmy Weissnat", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3491ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1827ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"530600a957353338e6220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2621ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2977ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1840ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6230000'), "name"=>"Joan Haag", "reference"=>"Maude Schowalter", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2624ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"530600a957353338e6230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2597ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 9ms (Views: 8.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6240000'), "name"=>"Finn Collier MD", "reference"=>"Victoria Wiegand", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4251ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5597ms
Completed 200 OK in 14ms (Views: 13.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6250000'), "name"=>"Clotilde Reinger", "reference"=>"Zechariah Williamson", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3850ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 22ms (Views: 6.3ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6280000'), "name"=>"Harold Lynch", "reference"=>"Ms. Kenyon Fahey", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4210ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"530600a957353338e6280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2516ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6290000'), "name"=>"Mr. Abigale Cummerata", "reference"=>"Freida Trantow", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4002ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530600a957353338e6290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2563ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6290000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3197ms
Redirected to http://test.host/admin/products/530600a957353338e6290000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530600a957353338e62a0000'), "firstname"=>"Millie", "lastname"=>"Wuckert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1803ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530600a957353338e62b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4629ms
Redirected to http://test.host/admin/users/530600a957353338e62b0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3030ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530600a957353338e62c0000'), "firstname"=>"Natalie", "lastname"=>"Marks"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3336ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1728ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"530600a957353338e62c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530600a957353338e62c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530600a957353338e62c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2904ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1909ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530600a957353338e62d0000'), "firstname"=>"Haylee", "lastname"=>"Donnelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.3981ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"530600a957353338e62d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530600a957353338e62d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2788ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.0ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530600a957353338e62e0000'), "firstname"=>"Fausto", "lastname"=>"Ortiz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4295ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3803ms
Completed 200 OK in 39ms (Views: 38.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530600a957353338e62f0000'), "firstname"=>"Domenica", "lastname"=>"Goodwin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4108ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530600a957353338e6300000'), "firstname"=>"Dario", "lastname"=>"McKenzie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4130ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"530600a957353338e6300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530600a957353338e6300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2587ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530600a957353338e6310000'), "firstname"=>"Jess", "lastname"=>"Beer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3953ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530600a957353338e6310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530600a957353338e6310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2538ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/530600a957353338e6310000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530600a957353338e6320000'), "firstname"=>"Rudolph", "lastname"=>"Shanahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4306ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1963ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530600a957353338e6330000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4454ms
Redirected to http://test.host/administrator
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2263ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530600a957353338e6340000'), "firstname"=>"Justine", "lastname"=>"Bailey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3335ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"530600a957353338e6340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530600a957353338e6340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3043ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 6.9ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530600a957353338e6350000'), "firstname"=>"Eldred", "lastname"=>"Baumbach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4344ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530600a957353338e6360000'), "firstname"=>"Polly", "lastname"=>"Koelpin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0199ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"530600a957353338e6360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530600a957353338e6360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3342ms
Completed 200 OK in 6ms (Views: 4.0ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530600a957353338e6370000'), "firstname"=>"Nya", "lastname"=>"Graham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4026ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"530600a957353338e6370000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530600a957353338e6370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6380000'), "name"=>"Hollie Feil MD", "reference"=>"Kailyn Rogahn", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530600a957353338e6390000'), "author_name"=>"Delores Schmidt", "content"=>["Tempore sed eos reprehenderit laudantium pariatur laboriosam. Quibusdam eius odit. Doloremque temporibus dignissimos laborum rerum ut aspernatur ea. Ea nostrum reprehenderit dolor."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4775ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530600a957353338e6380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3022ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530600a957353338e63a0000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3338ms
Redirected to http://test.host/products/530600a957353338e6380000/comments/530600a957353338e63a0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2534ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e63b0000'), "name"=>"Orville Larson", "reference"=>"Neva Wiegand", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530600a957353338e63c0000'), "author_name"=>"Aurore Bauch III", "content"=>["Hic nihil rerum voluptas. Possimus eum omnis molestias sequi. Dicta dolore beatae non quisquam sed. Autem ullam qui commodi. Quis iusto omnis deleniti occaecati."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4469ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e63b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"530600a957353338e63b0000", "id"=>"530600a957353338e63c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e63b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4339ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e63b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530600a957353338e63c0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3527ms
Redirected to http://test.host/products/530600a957353338e63b0000/comments
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e63b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2378ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e63d0000'), "name"=>"Mrs. Bette Kub", "reference"=>"Dr. Fleta Robel", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530600a957353338e63e0000'), "author_name"=>"Daniela Keebler", "content"=>["Cupiditate non enim sunt modi ab mollitia impedit. Fugit odio quibusdam. Qui dolores provident voluptates. Et sit fugit ut voluptas amet quis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3507ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"530600a957353338e63d0000", "id"=>"530600a957353338e63e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e63d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3454ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 9ms (Views: 7.1ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e63f0000'), "name"=>"Mrs. Willie Halvorson", "reference"=>"Pattie Pollich II", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530600a957353338e6400000'), "author_name"=>"Ms. Terrell Hegmann", "content"=>["Adipisci enim recusandae facere voluptas. Nulla consequatur aspernatur dignissimos consequuntur vel atque exercitationem. Officia quibusdam ut numquam voluptatem quia qui. Voluptate ea nulla enim illo."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4498ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"530600a957353338e63f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e63f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2654ms
Completed 200 OK in 38ms (Views: 36.0ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6410000'), "name"=>"Lamar Dickens", "reference"=>"Rosalinda Blick", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530600a957353338e6420000'), "author_name"=>"Trace O'Hara", "content"=>["Repellendus accusamus sequi. Nostrum debitis omnis sint quae. Odio officia vero tempora dolorum nihil ipsa modi. Quia minima ducimus velit commodi."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4796ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"530600a957353338e6410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2871ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.5ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6430000'), "name"=>"Ethel Bergnaum", "reference"=>"Chris Torphy", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('530600a957353338e6440000'), "author_name"=>"Obie Barrows", "content"=>["Voluptatem molestiae deleniti voluptas reprehenderit voluptas laudantium. Quaerat molestiae laboriosam quidem voluptatem ipsam tenetur alias. Optio quaerat nobis mollitia dolorum exercitationem eos ratione."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4826ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"530600a957353338e6430000", "id"=>"530600a957353338e6440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2802ms
Completed 200 OK in 6ms (Views: 4.0ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6450000'), "name"=>"Robbie O'Reilly", "reference"=>"Giovanny Runolfsson", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('530600a957353338e6460000'), "author_name"=>"Cathrine Hansen", "content"=>["Praesentium et vel aut ipsa doloribus aut. Necessitatibus ex nemo. Molestias sit deleniti laboriosam magni debitis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4385ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530600a957353338e6460000", "product_id"=>"530600a957353338e6450000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3492ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6450000'), "comments._id"=>BSON::ObjectId('530600a957353338e6460000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5523ms
Redirected to http://test.host/products/530600a957353338e6450000/comments/530600a957353338e6460000
Completed 302 Found in 6ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530600a957353338e6470000'), "firstname"=>"Andres", "lastname"=>"Lebsack"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4486ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1835ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530600a957353338e6480000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4357ms
Redirected to http://test.host/admin/clients/530600a957353338e6480000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3156ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530600a957353338e6490000'), "firstname"=>"Drake", "lastname"=>"Hartmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4858ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1970ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530600a957353338e6490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530600a957353338e6490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2926ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530600a957353338e6490000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3463ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2334ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530600a957353338e64a0000'), "firstname"=>"Mandy", "lastname"=>"Doyle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2926ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530600a957353338e64a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530600a957353338e64a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2886ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530600a957353338e64b0000'), "firstname"=>"Molly", "lastname"=>"Wisozk"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4092ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3223ms
Completed 200 OK in 8ms (Views: 7.2ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530600a957353338e64c0000'), "firstname"=>"Eldridge", "lastname"=>"Anderson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4232ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 38ms (Views: 37.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530600a957353338e64d0000'), "firstname"=>"Abbey", "lastname"=>"Bailey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4414ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530600a957353338e64d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530600a957353338e64d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2757ms
Completed 200 OK in 6ms (Views: 4.6ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530600a957353338e64e0000'), "firstname"=>"Juliana", "lastname"=>"Bauch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4628ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530600a957353338e64e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530600a957353338e64e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2766ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530600a957353338e64e0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3277ms
Redirected to http://test.host/admin/clients/530600a957353338e64e0000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530600a957353338e64f0000'), "firstname"=>"Armani", "lastname"=>"Murray"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2785ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1846ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530600a957353338e6500000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3050ms
Redirected to http://test.host/clients/530600a957353338e6500000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1910ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530600a957353338e6510000'), "firstname"=>"Alayna", "lastname"=>"Hoppe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2324ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1717ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"530600a957353338e6510000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530600a957353338e6510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530600a957353338e6510000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2679ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1847ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530600a957353338e6520000'), "firstname"=>"Betsy", "lastname"=>"Blick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2434ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"530600a957353338e6520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530600a957353338e6520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530600a957353338e6530000'), "firstname"=>"Arianna", "lastname"=>"Larson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3731ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4126ms
Completed 200 OK in 11ms (Views: 10.6ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530600a957353338e6540000'), "firstname"=>"Annetta", "lastname"=>"Frami"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3802ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.6ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530600a957353338e6550000'), "firstname"=>"Ora", "lastname"=>"Smitham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4055ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"530600a957353338e6550000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530600a957353338e6550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3197ms
Completed 200 OK in 5ms (Views: 3.7ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('530600a957353338e6560000'), "firstname"=>"Milan", "lastname"=>"Kuhn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"530600a957353338e6560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530600a957353338e6560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2318ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('530600a957353338e6560000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2203ms
Redirected to http://test.host/clients/530600a957353338e6560000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6570000'), "name"=>"Jalon Walker", "reference"=>"Ms. Jovan Renner", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530600a957353338e6580000'), "firstname"=>"Nathan", "lastname"=>"Jacobi"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.2431ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530600a957353338e6570000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2920ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6570000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3017ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6570000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530600a957353338e6590000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2383ms
Redirected to http://test.host/products/530600a957353338e6570000/manager
Completed 302 Found in 5ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e65a0000'), "name"=>"Mrs. Joanne Erdman", "reference"=>"Dr. Gabe Nicolas", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('530600a957353338e65b0000'), "firstname"=>"Ivy", "lastname"=>"Stanton"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3659ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"530600a957353338e65b0000", "product_id"=>"530600a957353338e65a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e65a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3658ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 10ms (Views: 7.4ms)
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e65c0000'), "name"=>"Alexandrine VonRueden", "reference"=>"Kyle Frami", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('530600a957353338e65d0000'), "firstname"=>"Dorcas", "lastname"=>"Kshlerin"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4371ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"530600a957353338e65c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e65c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.1ms)
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e65e0000'), "name"=>"Kane Wyman", "reference"=>"Andreane Rogahn", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('530600a957353338e65f0000'), "firstname"=>"Gustave", "lastname"=>"Schowalter"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4222ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"530600a957353338e65f0000", "product_id"=>"530600a957353338e65e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e65e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2610ms
Completed 200 OK in 5ms (Views: 3.7ms)
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6600000'), "name"=>"Dr. Nathen Reilly", "reference"=>"Elliot Williamson", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('530600a957353338e6610000'), "firstname"=>"Jayden", "lastname"=>"Beahan"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4884ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"530600a957353338e6610000", "manager"=>{"name"=>"Hello"}, "product_id"=>"530600a957353338e6600000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms
Unpermitted parameters: name
Redirected to http://test.host/products/530600a957353338e6600000/manager
Completed 302 Found in 3ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6620000'), "name"=>"Dr. Maurice Hackett", "reference"=>"Ms. Evert Hackett", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4257ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1647ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6630000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3975ms
Redirected to http://test.host/products/530600a957353338e6630000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2088ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6640000'), "name"=>"Clarissa Renner", "reference"=>"Gustave Cole", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3332ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1906ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"530600a957353338e6640000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2651ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6640000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.4419ms
Redirected to http://test.host/products
Completed 302 Found in 7ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2358ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6650000'), "name"=>"Carissa White", "reference"=>"Demond Mosciski", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2639ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"530600a957353338e6650000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2269ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.2ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6660000'), "name"=>"Linnea Marks", "reference"=>"Dr. Destin Thiel", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4603ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7580ms
Completed 200 OK in 24ms (Views: 23.1ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6670000'), "name"=>"Agustina Batz", "reference"=>"Nicholaus Russel", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3921ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6978ms
Completed 200 OK in 5ms (Views: 2.0ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6680000'), "name"=>"Dr. Kelli Larkin", "reference"=>"Ms. Daphne King", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3319ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"530600a957353338e6680000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2584ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6690000'), "name"=>"Bettye Ullrich", "reference"=>"Earnest Langosh", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4435ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 8ms (Views: 6.5ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e66b0000'), "name"=>"Pascale Grant DVM", "reference"=>"Keshaun Walker III", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4293ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"530600a957353338e66b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e66b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2522ms
Completed 200 OK in 5ms (Views: 3.6ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e66c0000'), "name"=>"Jeffrey Gutkowski", "reference"=>"Doug Dare", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3909ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1802ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e66d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3077ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1849ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e66e0000'), "name"=>"Bella Rosenbaum", "reference"=>"Koby Skiles", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2352ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"530600a957353338e66e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e66e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2856ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e66e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2603ms
Completed 200 OK in 3ms (Views: 0.2ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e66f0000'), "name"=>"Jaylin Feest", "reference"=>"Keven Rohan", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4328ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6710000'), "name"=>"Hal Klein", "reference"=>"Savanah Weissnat", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530600a957353338e6710000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2663ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6710000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2984ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530600a957353338e6720000'), "name"=>"Annamae Gerhold", "reference"=>"Rahsaan Metz", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.5953ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"530600a957353338e6720000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2697ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530600a957353338e6720000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2790ms
Redirected to http://test.host/products/530600a957353338e6720000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530600aa57353338e6730000'), "firstname"=>"Carleton", "lastname"=>"Kutch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5275ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1483ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530600aa57353338e6740000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms
Redirected to http://test.host/users/530600aa57353338e6740000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2002ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530600aa57353338e6750000'), "firstname"=>"Tiara", "lastname"=>"Trantow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3523ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2286ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"530600aa57353338e6750000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530600aa57353338e6750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3098ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530600aa57353338e6750000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3107ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2113ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530600aa57353338e6760000'), "firstname"=>"Eddie", "lastname"=>"Nicolas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2725ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"530600aa57353338e6760000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530600aa57353338e6760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2488ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530600aa57353338e6770000'), "firstname"=>"Herminia", "lastname"=>"Schroeder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3574ms
Completed 200 OK in 11ms (Views: 10.6ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530600aa57353338e6780000'), "firstname"=>"Tania", "lastname"=>"Howell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3840ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530600aa57353338e6790000'), "firstname"=>"Ruben", "lastname"=>"Thompson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4077ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"530600aa57353338e6790000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530600aa57353338e6790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2431ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('530600aa57353338e67a0000'), "firstname"=>"Keaton", "lastname"=>"Cronin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4121ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"530600aa57353338e67a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('530600aa57353338e67a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms
Unpermitted parameters: name
Redirected to http://test.host/users/530600aa57353338e67a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6435ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3042ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4204ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2368ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2474ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2809ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ab257353374dc000000'), "firstname"=>"Sheila", "lastname"=>"Swaniawski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4429ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1806ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ab257353374dc010000'), "firstname"=>"Wendy", "lastname"=>"Daniel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3801ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"53061ab257353374dc010000"}
Completed 500 Internal Server Error in 0ms
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ab257353374dc020000'), "firstname"=>"Jailyn", "lastname"=>"Flatley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3511ms
Processing by Admin::AdministratorsController#new as HTML
Completed 500 Internal Server Error in 0ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ab257353374dc030000'), "firstname"=>"Orion", "lastname"=>"Bartell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"53061ab257353374dc030000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ab257353374dc040000'), "firstname"=>"Alexandro", "lastname"=>"Jacobi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3495ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"53061ab257353374dc040000", "administrator"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab257353374dc050000'), "name"=>"Cora Daniel II", "reference"=>"Mrs. Serena Macejkovic", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53061ab257353374dc060000'), "author_name"=>"Wendell Bergstrom Jr.", "content"=>["Laborum eum unde quas sit error tempora facere. Modi voluptatum et quaerat officia voluptatem. Neque et accusantium reprehenderit est ea incidunt voluptas. Quaerat voluptatum accusantium tempore eos ea. Nam dolores quasi."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4769ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab257353374dc050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2266ms
Processing by Admin::CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061ab257353374dc050000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab257353374dc050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3295ms
Completed 500 Internal Server Error in 1ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab257353374dc070000'), "name"=>"Mattie Johnston MD", "reference"=>"Darien Volkman", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061ab257353374dc080000'), "author_name"=>"Gilda Quigley V", "content"=>["Velit quia qui nostrum iusto impedit id cum. Aut odio sed velit placeat optio quo. Voluptatum dolore et odio aut. Modi est quibusdam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7002ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab257353374dc070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2335ms
Processing by Admin::CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061ab257353374dc070000", "id"=>"53061ab257353374dc080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab257353374dc070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2914ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab257353374dc070000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53061ab257353374dc080000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3589ms
Redirected to http://test.host/admin/products/53061ab257353374dc070000/comments
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab257353374dc070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2112ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab257353374dc090000'), "name"=>"Elinor Conn", "reference"=>"Jeanette Hammes", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061ab257353374dc0a0000'), "author_name"=>"Jordane Conn MD", "content"=>["Architecto nam iure eos. Eum harum ut. Dolor ducimus et veniam consectetur ipsa voluptatem quo."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3161ms
Processing by Admin::CommentsController#edit as HTML
Parameters: {"product_id"=>"53061ab257353374dc090000", "id"=>"53061ab257353374dc0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab257353374dc090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2693ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 500 Internal Server Error in 12ms
----------------------------------------------------
Admin::CommentsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab257353374dc0b0000'), "name"=>"Eriberto Torp III", "reference"=>"Tristian Bauch", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53061ab257353374dc0c0000'), "author_name"=>"Miss Myrtice Boyer", "content"=>["Voluptate voluptas maxime. Est et quos beatae et quam dolores. Doloremque qui et totam. Harum totam excepturi. Voluptas eaque laborum dolor quaerat repudiandae."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4676ms
Processing by Admin::CommentsController#index as HTML
Parameters: {"product_id"=>"53061ab257353374dc0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab257353374dc0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2703ms
Completed 200 OK in 41ms (Views: 39.4ms)
--------------------------------------------------
Admin::CommentsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab257353374dc0d0000'), "name"=>"Ms. Easter Koch", "reference"=>"Isaiah Runolfsson", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53061ab257353374dc0e0000'), "author_name"=>"Frank Aufderhar I", "content"=>["Animi pariatur consequuntur velit. Voluptatum quo rem et odio. Voluptas omnis non sit voluptas doloribus molestiae autem."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4540ms
Processing by Admin::CommentsController#new as HTML
Parameters: {"product_id"=>"53061ab257353374dc0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab257353374dc0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2771ms
Completed 500 Internal Server Error in 1ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab257353374dc0f0000'), "name"=>"Harley McCullough", "reference"=>"Estell Lebsack IV", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53061ab257353374dc100000'), "author_name"=>"Madeline Schmitt", "content"=>["Sint et eligendi qui. Numquam non dignissimos dolores aperiam quaerat ipsam molestiae. Autem error placeat dolores omnis. Illum illo facere. Odio rerum autem id cupiditate velit unde odit."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3481ms
Processing by Admin::CommentsController#show as HTML
Parameters: {"product_id"=>"53061ab257353374dc0f0000", "id"=>"53061ab257353374dc100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab257353374dc0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms
Completed 500 Internal Server Error in 5ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab257353374dc110000'), "name"=>"Charley Lakin", "reference"=>"Myrna Gutmann", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53061ab257353374dc120000'), "author_name"=>"Isidro Beer", "content"=>["Fugit voluptatum neque voluptatem repellat. Sint quis saepe aperiam. Veritatis architecto itaque possimus. Aut quia mollitia voluptas sed."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4545ms
Processing by Admin::CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061ab257353374dc120000", "product_id"=>"53061ab257353374dc110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab257353374dc110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2756ms
Completed 500 Internal Server Error in 2ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab257353374dc130000'), "name"=>"Dr. Marlene Batz", "reference"=>"Fanny Kshlerin", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53061ab257353374dc140000'), "firstname"=>"Tomasa", "lastname"=>"Donnelly"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4765ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061ab257353374dc130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab257353374dc130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2891ms
Completed 500 Internal Server Error in 1ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab257353374dc150000'), "name"=>"Raphael Kiehn", "reference"=>"Aileen Feest", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53061ab257353374dc160000'), "firstname"=>"Alene", "lastname"=>"Gleason"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3767ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"53061ab257353374dc160000", "product_id"=>"53061ab257353374dc150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab257353374dc150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2737ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.2ms)
Completed 500 Internal Server Error in 6ms
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab257353374dc170000'), "name"=>"Claudie Quitzon", "reference"=>"Leora Fisher Sr.", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53061ab257353374dc180000'), "firstname"=>"Marquise", "lastname"=>"Hills"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4167ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"53061ab257353374dc170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab257353374dc170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms
Completed 500 Internal Server Error in 1ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab257353374dc190000'), "name"=>"Kellie Reilly", "reference"=>"Nestor Reilly", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53061ab257353374dc1a0000'), "firstname"=>"Florencio", "lastname"=>"Koepp"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3211ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"53061ab257353374dc1a0000", "product_id"=>"53061ab257353374dc190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab257353374dc190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3656ms
Completed 500 Internal Server Error in 5ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc1b0000'), "name"=>"Winston Mayer", "reference"=>"Kamille Quitzon", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53061ab357353374dc1c0000'), "firstname"=>"Guiseppe", "lastname"=>"Larkin"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4368ms
Processing by Admin::ManagersController#update as HTML
Parameters: {"id"=>"53061ab357353374dc1c0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061ab357353374dc1b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab357353374dc1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2597ms
Completed 500 Internal Server Error in 2ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc1d0000'), "name"=>"Lavonne Greenfelder", "reference"=>"Erika Waelchi", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4112ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1782ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc1e0000'), "name"=>"Nikki Reichel I", "reference"=>"Kenton Kassulke Sr.", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3718ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1786ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53061ab357353374dc1e0000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc1f0000'), "name"=>"Jakayla Leannon III", "reference"=>"Melissa Howell", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3550ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53061ab357353374dc1f0000"}
Completed 500 Internal Server Error in 0ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc200000'), "name"=>"Mr. Carolyn Borer", "reference"=>"Brianne Hackett", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5027ms
Processing by Admin::ProductsController#index as HTML
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc210000'), "name"=>"Holden Goldner", "reference"=>"Tressie Sanford", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms
Processing by Admin::ProductsController#new as HTML
Completed 500 Internal Server Error in 0ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc220000'), "name"=>"Christine Hodkiewicz", "reference"=>"Mr. Kayden Schowalter", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3806ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53061ab357353374dc220000"}
Completed 500 Internal Server Error in 30ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc230000'), "name"=>"Letha Connelly", "reference"=>"Elvera Sanford", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4286ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061ab357353374dc230000"}
Completed 500 Internal Server Error in 0ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc240000'), "firstname"=>"Cindy", "lastname"=>"Douglas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4643ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1845ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc250000'), "firstname"=>"Harmon", "lastname"=>"Monahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3971ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2214ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53061ab357353374dc250000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc260000'), "firstname"=>"Douglas", "lastname"=>"Windler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4666ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53061ab357353374dc260000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc270000'), "firstname"=>"Kimberly", "lastname"=>"Hintz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3924ms
Processing by Admin::UsersController#index as HTML
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc280000'), "firstname"=>"Kayley", "lastname"=>"Price"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3338ms
Processing by Admin::UsersController#new as HTML
Completed 500 Internal Server Error in 0ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc290000'), "firstname"=>"Reed", "lastname"=>"Schneider"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3774ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53061ab357353374dc290000"}
Completed 500 Internal Server Error in 0ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc2a0000'), "firstname"=>"Ewell", "lastname"=>"Jakubowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061ab357353374dc2a0000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc2b0000'), "firstname"=>"Camden", "lastname"=>"Lynch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4766ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1847ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc2c0000'), "firstname"=>"Rogelio", "lastname"=>"Kihn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5072ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"53061ab357353374dc2c0000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc2d0000'), "firstname"=>"Rosina", "lastname"=>"Ullrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4617ms
Processing by AdministratorsController#new as HTML
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc2e0000'), "firstname"=>"Earline", "lastname"=>"Lemke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3896ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"53061ab357353374dc2e0000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc2f0000'), "firstname"=>"Hollie", "lastname"=>"Mills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3727ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"53061ab357353374dc2f0000", "administrator"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc300000'), "name"=>"Lisa Effertz", "reference"=>"Norris Stoltenberg", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53061ab357353374dc310000'), "author_name"=>"Nathaniel Veum", "content"=>["Magni eum accusamus at neque sunt minus culpa. Corrupti at nesciunt deserunt atque ipsam fugiat voluptas. Placeat molestiae nam ea voluptas animi rerum. Et qui at velit."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4339ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab357353374dc300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2079ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061ab357353374dc300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab357353374dc300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3087ms
Completed 500 Internal Server Error in 2ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc320000'), "name"=>"Patience Rowe", "reference"=>"Jordyn Walker Sr.", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53061ab357353374dc330000'), "author_name"=>"Ms. Johathan Greenfelder", "content"=>["Laudantium et possimus atque autem quisquam in. Est mollitia aperiam accusamus ea blanditiis. Voluptatem non ipsum ut optio et aut vel. Vel earum ea aut a eos repellat."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4423ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab357353374dc320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3200ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061ab357353374dc320000", "id"=>"53061ab357353374dc330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab357353374dc320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3822ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab357353374dc320000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53061ab357353374dc330000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3178ms
Redirected to http://test.host/products/53061ab357353374dc320000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab357353374dc320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2024ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc340000'), "name"=>"Emmy Waters", "reference"=>"Junior Tillman", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061ab357353374dc350000'), "author_name"=>"Rosario Swift MD", "content"=>["Et hic eaque ducimus repudiandae. Laboriosam accusamus perspiciatis quis culpa totam eveniet corporis. Architecto enim at tenetur."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3530ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"53061ab357353374dc340000", "id"=>"53061ab357353374dc350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab357353374dc340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3238ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.2ms)
Completed 500 Internal Server Error in 6ms
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc360000'), "name"=>"Enoch Rempel", "reference"=>"Alexandrea Bergnaum", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53061ab357353374dc370000'), "author_name"=>"Herminia Kilback", "content"=>["Aliquam est fugiat voluptate voluptas id et sapiente. Et quia illo accusamus iusto ipsum qui sapiente. Voluptas tempora occaecati est."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5249ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"53061ab357353374dc360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab357353374dc360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3275ms
Completed 200 OK in 8ms (Views: 6.1ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc380000'), "name"=>"Raphael Smitham", "reference"=>"Fernando Farrell", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53061ab357353374dc390000'), "author_name"=>"Berenice Grant", "content"=>["Consequuntur similique inventore molestiae quas eum. Nam quia error enim in atque. Voluptatum in autem harum ut doloremque consectetur mollitia."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4841ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"53061ab357353374dc380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab357353374dc380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2731ms
Completed 500 Internal Server Error in 1ms
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc3a0000'), "name"=>"Hazel Sporer", "reference"=>"Mrs. Elaina Sporer", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061ab357353374dc3b0000'), "author_name"=>"Joey Bechtelar", "content"=>["Minima rem mollitia molestias ea nobis aliquid non. Sint aliquam non alias quia tenetur. Repellat et nulla qui placeat molestias. Unde possimus sed in architecto illo necessitatibus perspiciatis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3445ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"53061ab357353374dc3a0000", "id"=>"53061ab357353374dc3b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab357353374dc3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms
Completed 500 Internal Server Error in 4ms
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc3c0000'), "name"=>"Caleigh Connelly", "reference"=>"Nia McKenzie", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061ab357353374dc3d0000'), "author_name"=>"Torey Brekke", "content"=>["Reiciendis quae libero architecto rem. Sed occaecati magni quis reiciendis voluptas. Quia earum velit. Quia inventore et facere similique."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4273ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061ab357353374dc3d0000", "product_id"=>"53061ab357353374dc3c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab357353374dc3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3106ms
Completed 500 Internal Server Error in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc3e0000'), "firstname"=>"Crystel", "lastname"=>"Schamberger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4422ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1828ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc3f0000'), "firstname"=>"Jace", "lastname"=>"Smith"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4042ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2228ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061ab357353374dc3f0000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc400000'), "firstname"=>"Lonnie", "lastname"=>"Dickinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061ab357353374dc400000"}
Completed 500 Internal Server Error in 0ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc410000'), "firstname"=>"Merle", "lastname"=>"VonRueden"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3697ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 0ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc420000'), "firstname"=>"Bertha", "lastname"=>"Gottlieb"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5237ms
Processing by Iord::GenericController#new as HTML
Completed 500 Internal Server Error in 0ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc430000'), "firstname"=>"Lera", "lastname"=>"Altenwerth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4436ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061ab357353374dc430000"}
Completed 500 Internal Server Error in 0ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc440000'), "firstname"=>"Tad", "lastname"=>"Sporer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3864ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061ab357353374dc440000"}
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc450000'), "firstname"=>"Eliza", "lastname"=>"Littel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7038ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1982ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc460000'), "firstname"=>"Dwight", "lastname"=>"Jaskolski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1866ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061ab357353374dc460000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc470000'), "firstname"=>"Chauncey", "lastname"=>"Mayert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061ab357353374dc470000"}
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc480000'), "firstname"=>"Alva", "lastname"=>"Olson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3834ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 0ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc490000'), "firstname"=>"Tianna", "lastname"=>"Dickinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3660ms
Processing by Iord::GenericController#new as HTML
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc4a0000'), "firstname"=>"Leda", "lastname"=>"Kirlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4878ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061ab357353374dc4a0000"}
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc4b0000'), "firstname"=>"Zander", "lastname"=>"Ankunding"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4142ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061ab357353374dc4b0000"}
Completed 500 Internal Server Error in 0ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc4c0000'), "name"=>"Freddy Hermiston", "reference"=>"Miss Tatum McKenzie", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53061ab357353374dc4d0000'), "firstname"=>"Lessie", "lastname"=>"Gusikowski"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4904ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061ab357353374dc4c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab357353374dc4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2961ms
Completed 500 Internal Server Error in 2ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc4e0000'), "name"=>"Dr. Carlos Homenick", "reference"=>"Maximillian Bergstrom", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53061ab357353374dc4f0000'), "firstname"=>"Olaf", "lastname"=>"Jast"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3973ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"53061ab357353374dc4f0000", "product_id"=>"53061ab357353374dc4e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab357353374dc4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3906ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.3ms)
Completed 500 Internal Server Error in 6ms
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc500000'), "name"=>"Mike Swaniawski", "reference"=>"Glenda Price", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53061ab357353374dc510000'), "firstname"=>"Morton", "lastname"=>"Boyer"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4809ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"53061ab357353374dc500000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab357353374dc500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2673ms
Completed 500 Internal Server Error in 1ms
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc520000'), "name"=>"Tatyana Barrows", "reference"=>"Miss Clara Metz", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53061ab357353374dc530000'), "firstname"=>"Jerod", "lastname"=>"Gulgowski"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3228ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"53061ab357353374dc530000", "product_id"=>"53061ab357353374dc520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab357353374dc520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2792ms
Completed 500 Internal Server Error in 4ms
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc540000'), "name"=>"Dr. Hermann Wuckert", "reference"=>"Woodrow McGlynn", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53061ab357353374dc550000'), "firstname"=>"Rosemarie", "lastname"=>"Macejkovic"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4162ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"53061ab357353374dc550000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061ab357353374dc540000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ab357353374dc540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2656ms
Completed 500 Internal Server Error in 2ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc560000'), "name"=>"Miss Harley Schmitt", "reference"=>"Miss Katrina Spencer", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1038ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3163ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc570000'), "name"=>"Jerry Greenholt", "reference"=>"Mr. Jevon O'Conner", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4063ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1814ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53061ab357353374dc570000"}
Completed 500 Internal Server Error in 0ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc580000'), "name"=>"Charlotte Kub", "reference"=>"Ms. Quincy Wunsch", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3646ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53061ab357353374dc580000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc590000'), "name"=>"Archibald Boehm", "reference"=>"Athena Walsh", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3506ms
Processing by ProductsController#index as HTML
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc5a0000'), "name"=>"Brandt Torphy V", "reference"=>"Joel Gaylord", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3454ms
Processing by ProductsController#index as JSON
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc5b0000'), "name"=>"Geovanni Runolfsdottir", "reference"=>"Blake Kerluke", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3594ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53061ab357353374dc5b0000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc5c0000'), "name"=>"Kaylee Conn", "reference"=>"Chelsea Wolff", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3735ms
Processing by ProductsController#new as HTML
Completed 500 Internal Server Error in 0ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc5d0000'), "name"=>"Miss Callie Champlin", "reference"=>"Glenda Ward", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4598ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53061ab357353374dc5d0000"}
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc5e0000'), "name"=>"Clovis Farrell", "reference"=>"Marianna Johnson", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3581ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1814ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc5f0000'), "name"=>"Glenna Kuvalis PhD", "reference"=>"Sarai Collier", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3568ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53061ab357353374dc5f0000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc600000'), "name"=>"Pearlie Funk", "reference"=>"Tomasa Prohaska", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3471ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 500 Internal Server Error in 1ms
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc610000'), "name"=>"Allison Doyle", "reference"=>"Lucinda Marks Sr.", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3718ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061ab357353374dc610000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc620000'), "name"=>"Catalina Leffler", "reference"=>"Arlene Ledner", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3532ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061ab357353374dc620000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc630000'), "firstname"=>"Tyree", "lastname"=>"Lebsack"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4976ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1813ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc640000'), "firstname"=>"Mara", "lastname"=>"Collier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1745ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53061ab357353374dc640000"}
Completed 500 Internal Server Error in 0ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc650000'), "firstname"=>"Norval", "lastname"=>"Nader"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53061ab357353374dc650000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc660000'), "firstname"=>"Linnie", "lastname"=>"Lehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3297ms
Processing by UsersController#index as HTML
Completed 500 Internal Server Error in 32ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc670000'), "firstname"=>"Thea", "lastname"=>"Kerluke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4221ms
Processing by UsersController#new as HTML
Completed 500 Internal Server Error in 0ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc680000'), "firstname"=>"Evan", "lastname"=>"Weber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3486ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53061ab357353374dc680000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ab357353374dc690000'), "firstname"=>"Colleen", "lastname"=>"McLaughlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3482ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061ab357353374dc690000"}
Completed 500 Internal Server Error in 0ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6041ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2732ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4076ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2506ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3119ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3010ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c000000'), "firstname"=>"Dejon", "lastname"=>"Schmeler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4511ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1797ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c010000'), "firstname"=>"Guiseppe", "lastname"=>"Hyatt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4001ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"53061ac9573533752c010000"}
Completed 500 Internal Server Error in 0ms
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c020000'), "firstname"=>"Aimee", "lastname"=>"Adams"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3475ms
Processing by Admin::AdministratorsController#new as HTML
Completed 500 Internal Server Error in 0ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c030000'), "firstname"=>"Darrel", "lastname"=>"Will"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3271ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"53061ac9573533752c030000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c040000'), "firstname"=>"Hattie", "lastname"=>"Balistreri"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"53061ac9573533752c040000", "administrator"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c050000'), "name"=>"Salvatore Sipes", "reference"=>"Frederick Nienow III", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53061ac9573533752c060000'), "author_name"=>"Alba Schoen II", "content"=>["Omnis ut numquam officia. Dicta facilis quae perspiciatis error vero. Enim aut facere."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4776ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2574ms
Processing by Admin::CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061ac9573533752c050000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3353ms
Completed 500 Internal Server Error in 1ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c070000'), "name"=>"Winfield Gorczany III", "reference"=>"Ms. Claudie Wyman", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53061ac9573533752c080000'), "author_name"=>"Eldridge Runte", "content"=>["Modi laborum et reprehenderit sequi deleniti maiores. Ullam ad ab error eveniet blanditiis molestias labore. Commodi quas rerum molestiae quibusdam iste. Maxime omnis recusandae."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4367ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2532ms
Processing by Admin::CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061ac9573533752c070000", "id"=>"53061ac9573533752c080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3124ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c070000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53061ac9573533752c080000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3989ms
Redirected to http://test.host/admin/products/53061ac9573533752c070000/comments
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c090000'), "name"=>"Lucius Corwin", "reference"=>"Ahmed Larson", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53061ac9573533752c0a0000'), "author_name"=>"Miss Claudine Wolff", "content"=>["Est est facilis nulla ut veritatis laudantium. Placeat voluptatem nulla vitae maiores ad qui sit. Sapiente earum placeat officia. In dolorem dolore earum accusamus ad maiores. Tempore consequatur qui in nam perspiciatis qui."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3180ms
Processing by Admin::CommentsController#edit as HTML
Parameters: {"product_id"=>"53061ac9573533752c090000", "id"=>"53061ac9573533752c0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2691ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 500 Internal Server Error in 11ms
----------------------------------------------------
Admin::CommentsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c0b0000'), "name"=>"Ms. Terrence Cartwright", "reference"=>"Vergie Quitzon", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061ac9573533752c0c0000'), "author_name"=>"Vada Aufderhar", "content"=>["Exercitationem voluptas tenetur est. Assumenda hic deleniti ut sunt eos corrupti nihil. Consectetur error odio ut odit voluptatum fugit sit."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5173ms
Processing by Admin::CommentsController#index as HTML
Parameters: {"product_id"=>"53061ac9573533752c0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2721ms
Completed 200 OK in 41ms (Views: 39.2ms)
--------------------------------------------------
Admin::CommentsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c0d0000'), "name"=>"Walker Klein", "reference"=>"Mrs. Dolores Emard", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53061ac9573533752c0e0000'), "author_name"=>"Aliza Abernathy", "content"=>["Odio soluta consequatur dignissimos aut. Quam aut suscipit in qui unde dignissimos. Deleniti sunt non aliquam cupiditate doloremque perferendis. Neque qui ut maiores ullam debitis voluptatem rerum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4443ms
Processing by Admin::CommentsController#new as HTML
Parameters: {"product_id"=>"53061ac9573533752c0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms
Completed 500 Internal Server Error in 1ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c0f0000'), "name"=>"Donnie Gleichner", "reference"=>"Isom Hoeger", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53061ac9573533752c100000'), "author_name"=>"Miss Theresia Brown", "content"=>["Doloribus sit deleniti odio sed modi voluptatem. Perspiciatis autem eum earum illo. Doloremque quaerat dolorum facere."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3415ms
Processing by Admin::CommentsController#show as HTML
Parameters: {"product_id"=>"53061ac9573533752c0f0000", "id"=>"53061ac9573533752c100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2737ms
Completed 500 Internal Server Error in 4ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c110000'), "name"=>"Kenyon Waters", "reference"=>"Carmen Turcotte", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53061ac9573533752c120000'), "author_name"=>"Tamia O'Hara", "content"=>["Et tenetur ut quisquam et debitis eveniet. Vel laborum rem quo blanditiis dolorem rerum. Consectetur fuga aliquam et earum amet."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4586ms
Processing by Admin::CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061ac9573533752c120000", "product_id"=>"53061ac9573533752c110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms
Completed 500 Internal Server Error in 2ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c130000'), "name"=>"Ellie Ritchie Sr.", "reference"=>"Robyn Gislason", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53061ac9573533752c140000'), "firstname"=>"Ruthie", "lastname"=>"Champlin"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4407ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061ac9573533752c130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3699ms
Completed 500 Internal Server Error in 2ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c150000'), "name"=>"Larissa Russel", "reference"=>"Ashly Koepp", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061ac9573533752c160000'), "firstname"=>"Lennie", "lastname"=>"Marks"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3810ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"53061ac9573533752c160000", "product_id"=>"53061ac9573533752c150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2791ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.2ms)
Completed 500 Internal Server Error in 6ms
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c170000'), "name"=>"Zelma Hessel", "reference"=>"Lenny Cole", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53061ac9573533752c180000'), "firstname"=>"Sophia", "lastname"=>"Rippin"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4157ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"53061ac9573533752c170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms
Completed 500 Internal Server Error in 1ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c190000'), "name"=>"Mr. Laura Berge", "reference"=>"Connie Botsford", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061ac9573533752c1a0000'), "firstname"=>"Sandy", "lastname"=>"Raynor"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"53061ac9573533752c1a0000", "product_id"=>"53061ac9573533752c190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2640ms
Completed 500 Internal Server Error in 4ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c1b0000'), "name"=>"Kian Kemmer I", "reference"=>"Judd Daniel", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53061ac9573533752c1c0000'), "firstname"=>"Chandler", "lastname"=>"Mante"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4759ms
Processing by Admin::ManagersController#update as HTML
Parameters: {"id"=>"53061ac9573533752c1c0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061ac9573533752c1b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2599ms
Completed 500 Internal Server Error in 2ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c1d0000'), "name"=>"Berenice Cormier", "reference"=>"Providenci Wuckert PhD", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4097ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1860ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c1e0000'), "name"=>"Hanna Keebler", "reference"=>"Holden Reynolds", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3699ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1821ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53061ac9573533752c1e0000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c1f0000'), "name"=>"Bennie Herzog", "reference"=>"Mr. Vickie Yundt", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3499ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53061ac9573533752c1f0000"}
Completed 500 Internal Server Error in 0ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c200000'), "name"=>"Addie Gottlieb", "reference"=>"Selina Blanda", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3930ms
Processing by Admin::ProductsController#index as HTML
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c210000'), "name"=>"Magnus Zieme", "reference"=>"Rebecca Little", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4557ms
Processing by Admin::ProductsController#new as HTML
Completed 500 Internal Server Error in 0ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c220000'), "name"=>"Hope McCullough", "reference"=>"Lennie Schneider III", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3557ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53061ac9573533752c220000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c230000'), "name"=>"Domingo Greenfelder V", "reference"=>"Filiberto Wisoky", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3505ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061ac9573533752c230000"}
Completed 500 Internal Server Error in 0ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c240000'), "firstname"=>"Teresa", "lastname"=>"Simonis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4227ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1842ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c250000'), "firstname"=>"Nathanael", "lastname"=>"White"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1812ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53061ac9573533752c250000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c260000'), "firstname"=>"Pansy", "lastname"=>"Johnson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3758ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53061ac9573533752c260000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c270000'), "firstname"=>"Jacklyn", "lastname"=>"Kuhic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4538ms
Processing by Admin::UsersController#index as HTML
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c280000'), "firstname"=>"Juliet", "lastname"=>"Feeney"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3418ms
Processing by Admin::UsersController#new as HTML
Completed 500 Internal Server Error in 0ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c290000'), "firstname"=>"Garret", "lastname"=>"Connelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3370ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53061ac9573533752c290000"}
Completed 500 Internal Server Error in 0ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c2a0000'), "firstname"=>"Effie", "lastname"=>"Keebler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3400ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061ac9573533752c2a0000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c2b0000'), "firstname"=>"Malika", "lastname"=>"Emmerich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4156ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1833ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c2c0000'), "firstname"=>"Jonathon", "lastname"=>"Olson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3678ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"53061ac9573533752c2c0000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c2d0000'), "firstname"=>"Johnathan", "lastname"=>"Frami"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3960ms
Processing by AdministratorsController#new as HTML
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c2e0000'), "firstname"=>"Joel", "lastname"=>"O'Keefe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4502ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"53061ac9573533752c2e0000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c2f0000'), "firstname"=>"Alyson", "lastname"=>"Ward"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3402ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"53061ac9573533752c2f0000", "administrator"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c300000'), "name"=>"Shaniya Abernathy", "reference"=>"Foster Gleichner", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53061ac9573533752c310000'), "author_name"=>"Kirk Leuschke", "content"=>["Magni vitae iure odit architecto. Maxime consequuntur illo optio consequatur incidunt. Asperiores quo beatae architecto vel magni. Et est ducimus aperiam omnis sequi amet voluptatem."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4391ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2068ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061ac9573533752c300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2789ms
Completed 500 Internal Server Error in 2ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c320000'), "name"=>"Miss Paxton Kuhn", "reference"=>"Kayleigh Lowe", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061ac9573533752c330000'), "author_name"=>"Mohammad Lebsack", "content"=>["Tempore quam aut ab laudantium molestias laboriosam. Cumque vero qui non qui. Rerum iusto dicta harum recusandae quos. Quia quibusdam sed illum a dolorem pariatur quia. Dolore quas reiciendis quod eligendi qui sed."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3847ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2010ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061ac9573533752c320000", "id"=>"53061ac9573533752c330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2639ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c320000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53061ac9573533752c330000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3369ms
Redirected to http://test.host/products/53061ac9573533752c320000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3347ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c340000'), "name"=>"Leanna Mante Sr.", "reference"=>"Mrs. Norma Kohler", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53061ac9573533752c350000'), "author_name"=>"Herminia Nicolas IV", "content"=>["Voluptatem illo soluta et dolores. Aut est perferendis explicabo sit impedit dolorem assumenda. Est et quasi."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"53061ac9573533752c340000", "id"=>"53061ac9573533752c350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2818ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.2ms)
Completed 500 Internal Server Error in 6ms
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c360000'), "name"=>"Helen Bergnaum", "reference"=>"Sanford Hagenes", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53061ac9573533752c370000'), "author_name"=>"Mr. Adrain Brakus", "content"=>["Reiciendis beatae sit amet quis fugiat eos. Qui quia voluptas. Omnis facere voluptas in voluptatum natus voluptatem qui. Pariatur id esse quae facilis velit et. Aut qui doloremque maiores ducimus exercitationem."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4257ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"53061ac9573533752c360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2649ms
Completed 200 OK in 37ms (Views: 35.7ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c380000'), "name"=>"Harrison Littel", "reference"=>"Jazmyne Zieme", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53061ac9573533752c390000'), "author_name"=>"Randall Grady", "content"=>["Velit cum quaerat aspernatur aut maiores est enim. Tempora ipsam est rerum inventore. Tempora quaerat dolor non. Quos qui occaecati quia."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4430ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"53061ac9573533752c380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3886ms
Completed 500 Internal Server Error in 2ms
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c3a0000'), "name"=>"Nels Volkman", "reference"=>"Mr. Jada Heller", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53061ac9573533752c3b0000'), "author_name"=>"Rudolph Howe", "content"=>["Sequi consequuntur saepe cupiditate sed non. Sint aut voluptas minima in fugiat eum. Facere modi sit eligendi."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4729ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"53061ac9573533752c3a0000", "id"=>"53061ac9573533752c3b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms
Completed 500 Internal Server Error in 4ms
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ac9573533752c3c0000'), "name"=>"Vickie Stroman", "reference"=>"Rhiannon Krajcik DDS", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53061ac9573533752c3d0000'), "author_name"=>"Dr. Evelyn Gaylord", "content"=>["Quas non autem eum atque velit veritatis. Voluptates et officia possimus voluptas tempora quia quas. Nam accusantium labore nihil qui ad."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4493ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061ac9573533752c3d0000", "product_id"=>"53061ac9573533752c3c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ac9573533752c3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2702ms
Completed 500 Internal Server Error in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061aca573533752c3e0000'), "firstname"=>"Breanne", "lastname"=>"Cassin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4534ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2256ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061aca573533752c3f0000'), "firstname"=>"Rae", "lastname"=>"Larkin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4130ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2293ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061aca573533752c3f0000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061aca573533752c400000'), "firstname"=>"Keegan", "lastname"=>"Crooks"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061aca573533752c400000"}
Completed 500 Internal Server Error in 0ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061aca573533752c410000'), "firstname"=>"Elmo", "lastname"=>"Konopelski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3724ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 0ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061aca573533752c420000'), "firstname"=>"Jackie", "lastname"=>"McKenzie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8992ms
Processing by Iord::GenericController#new as HTML
Completed 500 Internal Server Error in 0ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061aca573533752c430000'), "firstname"=>"Merl", "lastname"=>"Beer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5066ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061aca573533752c430000"}
Completed 500 Internal Server Error in 0ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061aca573533752c440000'), "firstname"=>"Donavon", "lastname"=>"Metz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4194ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061aca573533752c440000"}
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061aca573533752c450000'), "firstname"=>"Sven", "lastname"=>"Hand"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3605ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1870ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061aca573533752c460000'), "firstname"=>"Verda", "lastname"=>"O'Conner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3350ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1906ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061aca573533752c460000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061aca573533752c470000'), "firstname"=>"Payton", "lastname"=>"Rodriguez"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3319ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061aca573533752c470000"}
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061aca573533752c480000'), "firstname"=>"Candace", "lastname"=>"Larkin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3213ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 0ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061aca573533752c490000'), "firstname"=>"Beaulah", "lastname"=>"Lesch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3293ms
Processing by Iord::GenericController#new as HTML
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061aca573533752c4a0000'), "firstname"=>"Fiona", "lastname"=>"Hoppe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3208ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061aca573533752c4a0000"}
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061aca573533752c4b0000'), "firstname"=>"Tressie", "lastname"=>"Schmeler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3588ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061aca573533752c4b0000"}
Completed 500 Internal Server Error in 0ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061aca573533752c4c0000'), "name"=>"Annabelle Ryan", "reference"=>"Twila Swift IV", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53061aca573533752c4d0000'), "firstname"=>"Edna", "lastname"=>"Bradtke"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4378ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061aca573533752c4c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061aca573533752c4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2925ms
Completed 500 Internal Server Error in 2ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061aca573533752c4e0000'), "name"=>"Ms. Stevie Metz", "reference"=>"Kylie Weber", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53061aca573533752c4f0000'), "firstname"=>"Catalina", "lastname"=>"O'Reilly"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"53061aca573533752c4f0000", "product_id"=>"53061aca573533752c4e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061aca573533752c4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2679ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.3ms)
Completed 500 Internal Server Error in 37ms
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061aca573533752c500000'), "name"=>"Arvel Breitenberg V", "reference"=>"Benjamin Mayer", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53061aca573533752c510000'), "firstname"=>"Jaycee", "lastname"=>"Bradtke"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4364ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"53061aca573533752c500000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061aca573533752c500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3742ms
Completed 500 Internal Server Error in 2ms
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061aca573533752c520000'), "name"=>"Mrs. Alessandro Schmeler", "reference"=>"Mr. Michale Corwin", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53061aca573533752c530000'), "firstname"=>"Annette", "lastname"=>"Streich"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3240ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"53061aca573533752c530000", "product_id"=>"53061aca573533752c520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061aca573533752c520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2608ms
Completed 500 Internal Server Error in 4ms
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061aca573533752c540000'), "name"=>"Quinn Jaskolski", "reference"=>"Mrs. Kristin Buckridge", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53061aca573533752c550000'), "firstname"=>"June", "lastname"=>"Block"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.5873ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"53061aca573533752c550000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061aca573533752c540000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061aca573533752c540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2802ms
Completed 500 Internal Server Error in 2ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061aca573533752c560000'), "name"=>"Kaleb Hermiston", "reference"=>"Burley Smitham I", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4246ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2042ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061aca573533752c570000'), "name"=>"Isac Welch", "reference"=>"Ava Waelchi", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4886ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2344ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53061aca573533752c570000"}
Completed 500 Internal Server Error in 0ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061aca573533752c580000'), "name"=>"Fred Pollich IV", "reference"=>"Orion Sipes", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53061aca573533752c580000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061aca573533752c590000'), "name"=>"Lorenzo Schiller", "reference"=>"Zelma Pouros", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3954ms
Processing by ProductsController#index as HTML
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061aca573533752c5a0000'), "name"=>"Lisette Rosenbaum", "reference"=>"Mr. Christelle Powlowski", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms
Processing by ProductsController#index as JSON
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061aca573533752c5b0000'), "name"=>"Isom Connelly Jr.", "reference"=>"Giuseppe Dibbert", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4007ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53061aca573533752c5b0000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061aca573533752c5c0000'), "name"=>"Mr. Melvin Mann", "reference"=>"Emilie Lang", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms
Processing by ProductsController#new as HTML
Completed 500 Internal Server Error in 0ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061aca573533752c5d0000'), "name"=>"Madalyn Fahey", "reference"=>"Therese Stroman", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5166ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53061aca573533752c5d0000"}
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061aca573533752c5e0000'), "name"=>"Mr. Janessa Mraz", "reference"=>"Charlie Jast", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4288ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1835ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061aca573533752c5f0000'), "name"=>"Daisha Block V", "reference"=>"Dr. Roosevelt Robel", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53061aca573533752c5f0000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061aca573533752c600000'), "name"=>"Mr. Gay Ziemann", "reference"=>"Weldon Hodkiewicz", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3590ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 500 Internal Server Error in 1ms
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061aca573533752c610000'), "name"=>"Lexi Goodwin", "reference"=>"Makenna Cremin DDS", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3687ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061aca573533752c610000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061aca573533752c620000'), "name"=>"Dr. Grayce Hessel", "reference"=>"Claudia O'Conner", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3577ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061aca573533752c620000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061aca573533752c630000'), "firstname"=>"August", "lastname"=>"Lynch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4946ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2393ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061aca573533752c640000'), "firstname"=>"Lamont", "lastname"=>"Huel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3887ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1807ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53061aca573533752c640000"}
Completed 500 Internal Server Error in 0ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061aca573533752c650000'), "firstname"=>"Lenny", "lastname"=>"Ritchie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3487ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53061aca573533752c650000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061aca573533752c660000'), "firstname"=>"Chaya", "lastname"=>"Price"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3548ms
Processing by UsersController#index as HTML
Completed 500 Internal Server Error in 0ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061aca573533752c670000'), "firstname"=>"Kory", "lastname"=>"Yundt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3352ms
Processing by UsersController#new as HTML
Completed 500 Internal Server Error in 2ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061aca573533752c680000'), "firstname"=>"Ashlynn", "lastname"=>"Dietrich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4379ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53061aca573533752c680000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061aca573533752c690000'), "firstname"=>"Michaela", "lastname"=>"Braun"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4308ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061aca573533752c690000"}
Completed 500 Internal Server Error in 0ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6247ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3157ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4469ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3445ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3185ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2565ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061af057353375c3000000'), "firstname"=>"Garett", "lastname"=>"Emard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4414ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1822ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061af057353375c3010000'), "firstname"=>"Davin", "lastname"=>"Glover"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4026ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"53061af057353375c3010000"}
Completed 500 Internal Server Error in 0ms
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061af057353375c3020000'), "firstname"=>"Iva", "lastname"=>"Erdman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3522ms
Processing by Admin::AdministratorsController#new as HTML
Completed 500 Internal Server Error in 0ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061af057353375c3030000'), "firstname"=>"Alexis", "lastname"=>"Weimann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3296ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"53061af057353375c3030000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061af057353375c3040000'), "firstname"=>"April", "lastname"=>"Bashirian"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3507ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"53061af057353375c3040000", "administrator"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3050000'), "name"=>"Laverna Barrows", "reference"=>"Miss Sydney Bauch", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061af057353375c3060000'), "author_name"=>"Kale Bailey", "content"=>["Et omnis non laudantium. Magni ullam maiores asperiores iure repellat. Reiciendis non ex. Fugit quisquam cum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4634ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c3050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2683ms
Processing by Admin::CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061af057353375c3050000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c3050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms
Completed 500 Internal Server Error in 2ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3070000'), "name"=>"Jameson Jacobs", "reference"=>"Jaida Romaguera", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53061af057353375c3080000'), "author_name"=>"Antonetta Kris Sr.", "content"=>["Dolores est explicabo. Omnis distinctio quam delectus vero voluptatibus. Corporis atque cupiditate dicta neque. Ut in aut fugiat nobis qui blanditiis reprehenderit."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4317ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c3070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2570ms
Processing by Admin::CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061af057353375c3070000", "id"=>"53061af057353375c3080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c3070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2935ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c3070000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53061af057353375c3080000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3953ms
Redirected to http://test.host/admin/products/53061af057353375c3070000/comments
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c3070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2674ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3090000'), "name"=>"Jamey Kozey", "reference"=>"Dulce Spinka", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53061af057353375c30a0000'), "author_name"=>"Ms. Rosario Smitham", "content"=>["Fugiat repudiandae soluta. Impedit officiis explicabo minima. Veritatis qui vel quo incidunt eligendi accusamus velit. Laboriosam non asperiores rem sunt fugiat repudiandae quisquam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3651ms
Processing by Admin::CommentsController#edit as HTML
Parameters: {"product_id"=>"53061af057353375c3090000", "id"=>"53061af057353375c30a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c3090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3154ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 500 Internal Server Error in 11ms
----------------------------------------------------
Admin::CommentsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c30b0000'), "name"=>"Darby Rempel", "reference"=>"Celia Schmeler", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53061af057353375c30c0000'), "author_name"=>"Jillian Jacobs", "content"=>["Deserunt maiores eos. Sed eveniet vero rerum assumenda. Sit quisquam reiciendis ad voluptatem quam doloribus veniam. Est qui omnis cupiditate iusto qui."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4963ms
Processing by Admin::CommentsController#index as HTML
Parameters: {"product_id"=>"53061af057353375c30b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c30b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3677ms
Completed 200 OK in 41ms (Views: 39.1ms)
--------------------------------------------------
Admin::CommentsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c30d0000'), "name"=>"Diego Maggio Sr.", "reference"=>"Mr. Wava Wilderman", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061af057353375c30e0000'), "author_name"=>"Amanda Langworth", "content"=>["Omnis ut atque quasi nam dolorum. Pariatur et reiciendis omnis ad non voluptatem magnam. Ipsam error quibusdam nesciunt est delectus. Sed voluptatem quia quo vero tenetur. Quae autem voluptatem laboriosam mollitia quidem."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4362ms
Processing by Admin::CommentsController#new as HTML
Parameters: {"product_id"=>"53061af057353375c30d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c30d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3080ms
Completed 500 Internal Server Error in 1ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c30f0000'), "name"=>"Daphney Volkman", "reference"=>"Furman Stark", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53061af057353375c3100000'), "author_name"=>"Selena Jacobs", "content"=>["Voluptas harum sequi tempora eveniet. Voluptatem ducimus quia nihil sint est ut sed. Qui et et id enim quod dolorem sapiente. Dignissimos consequatur quae. Maiores quia vel blanditiis fuga."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3913ms
Processing by Admin::CommentsController#show as HTML
Parameters: {"product_id"=>"53061af057353375c30f0000", "id"=>"53061af057353375c3100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c30f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3235ms
Completed 500 Internal Server Error in 4ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3110000'), "name"=>"Mrs. Dustin Roberts", "reference"=>"Fermin McClure", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53061af057353375c3120000'), "author_name"=>"Mr. Shakira Beer", "content"=>["Velit deserunt labore totam. Consequuntur et ut doloremque voluptates. Enim vel sequi quidem et praesentium qui quasi. Sapiente vel iure sint aliquam temporibus velit. Est consectetur neque corrupti."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4653ms
Processing by Admin::CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061af057353375c3120000", "product_id"=>"53061af057353375c3110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c3110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2700ms
Completed 500 Internal Server Error in 2ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3130000'), "name"=>"Mrs. Dejah Leuschke", "reference"=>"Vidal Boehm", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53061af057353375c3140000'), "firstname"=>"Evalyn", "lastname"=>"Prosacco"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4603ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061af057353375c3130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c3130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3344ms
Completed 500 Internal Server Error in 2ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3150000'), "name"=>"Trycia Lebsack", "reference"=>"Miss Cornelius Luettgen", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53061af057353375c3160000'), "firstname"=>"Orie", "lastname"=>"Konopelski"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4161ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"53061af057353375c3160000", "product_id"=>"53061af057353375c3150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c3150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3335ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.4ms)
Completed 500 Internal Server Error in 6ms
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3170000'), "name"=>"Makenna Carter", "reference"=>"Jackie Will II", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53061af057353375c3180000'), "firstname"=>"Loyal", "lastname"=>"Langworth"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4459ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"53061af057353375c3170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c3170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms
Completed 500 Internal Server Error in 1ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3190000'), "name"=>"Brycen White III", "reference"=>"Tressa Hegmann", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53061af057353375c31a0000'), "firstname"=>"Meda", "lastname"=>"Crist"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3274ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"53061af057353375c31a0000", "product_id"=>"53061af057353375c3190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c3190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2885ms
Completed 500 Internal Server Error in 4ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c31b0000'), "name"=>"Grace Lubowitz", "reference"=>"Stephon Hirthe", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53061af057353375c31c0000'), "firstname"=>"Ottilie", "lastname"=>"Jacobson"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4106ms
Processing by Admin::ManagersController#update as HTML
Parameters: {"id"=>"53061af057353375c31c0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061af057353375c31b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c31b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2621ms
Completed 500 Internal Server Error in 2ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c31d0000'), "name"=>"Lindsay Heaney", "reference"=>"Jeffery Kris III", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4198ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2165ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c31e0000'), "name"=>"Austin Quigley", "reference"=>"Ezequiel Thiel", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4415ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2083ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53061af057353375c31e0000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c31f0000'), "name"=>"Jonatan Schroeder PhD", "reference"=>"Derick Kozey", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3541ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53061af057353375c31f0000"}
Completed 500 Internal Server Error in 0ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3200000'), "name"=>"Heber Jakubowski", "reference"=>"Kiarra Larkin", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3489ms
Processing by Admin::ProductsController#index as HTML
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3210000'), "name"=>"Vincent Satterfield", "reference"=>"Ms. Billy Gaylord", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3857ms
Processing by Admin::ProductsController#new as HTML
Completed 500 Internal Server Error in 0ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3220000'), "name"=>"Dr. Kristoffer Balistreri", "reference"=>"Myrtis Mayert", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3835ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53061af057353375c3220000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3230000'), "name"=>"Mrs. Margarete Borer", "reference"=>"Dr. Carlie Carter", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4496ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061af057353375c3230000"}
Completed 500 Internal Server Error in 0ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061af057353375c3240000'), "firstname"=>"Ibrahim", "lastname"=>"O'Connell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4314ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1881ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061af057353375c3250000'), "firstname"=>"Rex", "lastname"=>"Ziemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3758ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1859ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53061af057353375c3250000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061af057353375c3260000'), "firstname"=>"Brenden", "lastname"=>"Leannon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.0264ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53061af057353375c3260000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061af057353375c3270000'), "firstname"=>"Gayle", "lastname"=>"Gutkowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4065ms
Processing by Admin::UsersController#index as HTML
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061af057353375c3280000'), "firstname"=>"Brock", "lastname"=>"Dicki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3490ms
Processing by Admin::UsersController#new as HTML
Completed 500 Internal Server Error in 0ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061af057353375c3290000'), "firstname"=>"Keeley", "lastname"=>"Zemlak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4885ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53061af057353375c3290000"}
Completed 500 Internal Server Error in 0ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061af057353375c32a0000'), "firstname"=>"Lindsey", "lastname"=>"Bogisich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4801ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061af057353375c32a0000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061af057353375c32b0000'), "firstname"=>"Daija", "lastname"=>"Anderson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4598ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1889ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061af057353375c32c0000'), "firstname"=>"Reina", "lastname"=>"Wintheiser"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4138ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"53061af057353375c32c0000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061af057353375c32d0000'), "firstname"=>"Adela", "lastname"=>"Schulist"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3923ms
Processing by AdministratorsController#new as HTML
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061af057353375c32e0000'), "firstname"=>"Jamar", "lastname"=>"Paucek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3784ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"53061af057353375c32e0000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061af057353375c32f0000'), "firstname"=>"Cole", "lastname"=>"Wintheiser"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"53061af057353375c32f0000", "administrator"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3300000'), "name"=>"Finn Murazik", "reference"=>"Gage Effertz", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53061af057353375c3310000'), "author_name"=>"Rudolph Grady", "content"=>["Provident saepe dolor quia non repellat sit. Et ipsam perspiciatis in ut nulla facilis explicabo. Ut itaque impedit velit alias. Animi non minus aperiam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4666ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c3300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2097ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061af057353375c3300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c3300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3129ms
Completed 500 Internal Server Error in 2ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3320000'), "name"=>"Henri Harber", "reference"=>"Rogelio O'Kon", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53061af057353375c3330000'), "author_name"=>"Sylvan Bailey", "content"=>["Reprehenderit ducimus non libero est aut odit. Quis minima aliquid sint voluptatibus fugiat. Facilis animi cupiditate ut omnis nihil quidem. Ut illo delectus."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3874ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c3320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2055ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061af057353375c3320000", "id"=>"53061af057353375c3330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c3320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2645ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c3320000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53061af057353375c3330000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3093ms
Redirected to http://test.host/products/53061af057353375c3320000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c3320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1991ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3340000'), "name"=>"Ms. Kamron Robel", "reference"=>"Thora Keebler", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061af057353375c3350000'), "author_name"=>"Madisen Kautzer", "content"=>["Quae esse consequuntur vitae ab et sit. Consequatur cupiditate maxime enim quia nemo pariatur officiis. Vel modi eum corporis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3064ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"53061af057353375c3340000", "id"=>"53061af057353375c3350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c3340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3016ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.2ms)
Completed 500 Internal Server Error in 7ms
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3360000'), "name"=>"Yvette Fahey", "reference"=>"Mr. Dolly Yost", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061af057353375c3370000'), "author_name"=>"Kane Bruen IV", "content"=>["Fugit quo optio labore ut. Distinctio autem aut quasi sapiente est corrupti. Sunt consequatur voluptatem distinctio officia quo cupiditate sit. Ratione est corrupti libero. Dignissimos praesentium dolor."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4693ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"53061af057353375c3360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c3360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4063ms
Completed 200 OK in 8ms (Views: 6.4ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3380000'), "name"=>"Mrs. Kamron Emmerich", "reference"=>"Jackson Littel", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061af057353375c3390000'), "author_name"=>"Isom Kozey", "content"=>["Dolores temporibus cupiditate veritatis dolor. Neque rerum occaecati dolore. Mollitia et pariatur voluptas sunt."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4664ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"53061af057353375c3380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c3380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2725ms
Completed 500 Internal Server Error in 1ms
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c33a0000'), "name"=>"Miss Alysha West", "reference"=>"Ms. Maximilian Schaefer", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061af057353375c33b0000'), "author_name"=>"Haleigh Osinski", "content"=>["Laborum tenetur commodi aliquam. Ea sapiente qui velit rem vero sed recusandae. Quidem animi fugiat est mollitia reiciendis eum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3347ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"53061af057353375c33a0000", "id"=>"53061af057353375c33b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c33a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3563ms
Completed 500 Internal Server Error in 5ms
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c33c0000'), "name"=>"Brennan Hodkiewicz", "reference"=>"Vickie Hickle", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53061af057353375c33d0000'), "author_name"=>"Hassie Maggio V", "content"=>["Quia est et velit dolorem. Nulla et consequuntur ullam iste velit earum asperiores. Pariatur beatae similique quia culpa ea sunt. Consequatur est minus molestiae eos laborum in. Dolorem qui voluptates."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4937ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061af057353375c33d0000", "product_id"=>"53061af057353375c33c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c33c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2900ms
Completed 500 Internal Server Error in 3ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061af057353375c33e0000'), "firstname"=>"Lesley", "lastname"=>"Kessler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5156ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2684ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061af057353375c33f0000'), "firstname"=>"Aletha", "lastname"=>"Larkin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2175ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061af057353375c33f0000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061af057353375c3400000'), "firstname"=>"Bell", "lastname"=>"Hackett"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3411ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061af057353375c3400000"}
Completed 500 Internal Server Error in 0ms
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061af057353375c3410000'), "firstname"=>"Torrey", "lastname"=>"Rau"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3719ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 0ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061af057353375c3420000'), "firstname"=>"Nikko", "lastname"=>"Mohr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3223ms
Processing by Iord::GenericController#new as HTML
Completed 500 Internal Server Error in 0ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061af057353375c3430000'), "firstname"=>"Lillian", "lastname"=>"Kessler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3534ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061af057353375c3430000"}
Completed 500 Internal Server Error in 0ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061af057353375c3440000'), "firstname"=>"Benny", "lastname"=>"Koch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3470ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061af057353375c3440000"}
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061af057353375c3450000'), "firstname"=>"Rose", "lastname"=>"Torphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3255ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1820ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061af057353375c3460000'), "firstname"=>"Constantin", "lastname"=>"Schimmel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4673ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3181ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061af057353375c3460000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061af057353375c3470000'), "firstname"=>"Isabel", "lastname"=>"Lindgren"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4092ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061af057353375c3470000"}
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061af057353375c3480000'), "firstname"=>"Emilia", "lastname"=>"Cole"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3660ms
Processing by Iord::GenericController#index as HTML
Completed 500 Internal Server Error in 0ms
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061af057353375c3490000'), "firstname"=>"Darrell", "lastname"=>"Davis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3313ms
Processing by Iord::GenericController#new as HTML
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061af057353375c34a0000'), "firstname"=>"Valentine", "lastname"=>"Stoltenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3615ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061af057353375c34a0000"}
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061af057353375c34b0000'), "firstname"=>"Alejandrin", "lastname"=>"Eichmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0831ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061af057353375c34b0000"}
Completed 500 Internal Server Error in 0ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c34c0000'), "name"=>"Mrs. Devan Kub", "reference"=>"Charley Bins", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53061af057353375c34d0000'), "firstname"=>"Marquis", "lastname"=>"Stroman"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5034ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061af057353375c34c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c34c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3533ms
Completed 500 Internal Server Error in 2ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c34e0000'), "name"=>"Dane Yundt", "reference"=>"Nicola Cummerata", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53061af057353375c34f0000'), "firstname"=>"Aubree", "lastname"=>"Hettinger"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3926ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"53061af057353375c34f0000", "product_id"=>"53061af057353375c34e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c34e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3674ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.3ms)
Completed 500 Internal Server Error in 8ms
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3500000'), "name"=>"Westley Abshire", "reference"=>"Genoveva Bins", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53061af057353375c3510000'), "firstname"=>"Gretchen", "lastname"=>"Kuphal"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4368ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"53061af057353375c3500000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c3500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2954ms
Completed 500 Internal Server Error in 1ms
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3520000'), "name"=>"Miss Emilia Gerhold", "reference"=>"Dr. Lew Stokes", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061af057353375c3530000'), "firstname"=>"Anibal", "lastname"=>"West"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3654ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"53061af057353375c3530000", "product_id"=>"53061af057353375c3520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c3520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3904ms
Completed 500 Internal Server Error in 5ms
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3540000'), "name"=>"Kenton Rempel", "reference"=>"Geovany Sporer", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53061af057353375c3550000'), "firstname"=>"Griffin", "lastname"=>"Krajcik"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4354ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"53061af057353375c3550000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061af057353375c3540000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061af057353375c3540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2950ms
Completed 500 Internal Server Error in 2ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3560000'), "name"=>"Jaleel Brekke", "reference"=>"Jayson Leuschke", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4213ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1862ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3570000'), "name"=>"Kitty Hand", "reference"=>"Erna Bernhard", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4037ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1846ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53061af057353375c3570000"}
Completed 500 Internal Server Error in 0ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3580000'), "name"=>"Litzy Conroy", "reference"=>"Reva Simonis V", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.6973ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53061af057353375c3580000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3590000'), "name"=>"Urban O'Connell IV", "reference"=>"Arlene Orn", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms
Processing by ProductsController#index as HTML
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c35a0000'), "name"=>"Berenice Jaskolski", "reference"=>"Broderick Crona PhD", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms
Processing by ProductsController#index as JSON
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c35b0000'), "name"=>"Lonie Jaskolski", "reference"=>"Ramiro O'Connell DVM", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53061af057353375c35b0000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c35c0000'), "name"=>"Mrs. Kendall Borer", "reference"=>"Myrtle Marquardt", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3530ms
Processing by ProductsController#new as HTML
Completed 500 Internal Server Error in 0ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c35d0000'), "name"=>"Jada Abbott Jr.", "reference"=>"Mr. Alexandrine Windler", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3888ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53061af057353375c35d0000"}
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c35e0000'), "name"=>"Burley Considine IV", "reference"=>"Chadrick Stroman", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4422ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2123ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c35f0000'), "name"=>"Sigrid Wunsch", "reference"=>"Dr. Kaycee Kessler", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4505ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53061af057353375c35f0000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3600000'), "name"=>"Madie Leuschke", "reference"=>"Christopher Steuber DDS", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4459ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 500 Internal Server Error in 1ms
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3610000'), "name"=>"Ulises Jaskolski", "reference"=>"Julie Grimes III", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4134ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061af057353375c3610000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061af057353375c3620000'), "name"=>"Ima Bosco", "reference"=>"Melba Klocko", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3971ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061af057353375c3620000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061af057353375c3630000'), "firstname"=>"Beth", "lastname"=>"Bailey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4452ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3006ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061af057353375c3640000'), "firstname"=>"Pierre", "lastname"=>"Kilback"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4307ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1942ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53061af057353375c3640000"}
Completed 500 Internal Server Error in 0ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061af057353375c3650000'), "firstname"=>"Leo", "lastname"=>"Krajcik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53061af057353375c3650000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061af057353375c3660000'), "firstname"=>"Estevan", "lastname"=>"Collier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3423ms
Processing by UsersController#index as HTML
Completed 500 Internal Server Error in 0ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061af057353375c3670000'), "firstname"=>"Enos", "lastname"=>"Kozey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4452ms
Processing by UsersController#new as HTML
Completed 500 Internal Server Error in 0ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061af057353375c3680000'), "firstname"=>"Trudie", "lastname"=>"Spencer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7017ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53061af057353375c3680000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061af057353375c3690000'), "firstname"=>"Wanda", "lastname"=>"Von"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4306ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061af057353375c3690000"}
Completed 500 Internal Server Error in 0ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6204ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3101ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4440ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2498ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2749ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2515ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061b4657353375f1000000'), "firstname"=>"Dwight", "lastname"=>"Kuhic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4523ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1800ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061b4657353375f1010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3818ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1827ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061b4657353375f1020000'), "firstname"=>"Matilda", "lastname"=>"Howell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3066ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"53061b4657353375f1020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061b4657353375f1020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2467ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.0ms)
Completed 200 OK in 52ms (Views: 51.2ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061b4657353375f1030000'), "firstname"=>"Lenora", "lastname"=>"Lueilwitz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4247ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061b4657353375f1040000'), "firstname"=>"Milton", "lastname"=>"Wolff"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4029ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"53061b4657353375f1040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061b4657353375f1040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2586ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061b4657353375f1050000'), "firstname"=>"Jettie", "lastname"=>"Gottlieb"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3891ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"53061b4657353375f1050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061b4657353375f1050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4657353375f1060000'), "name"=>"Eleazar Von", "reference"=>"Christophe Mitchell MD", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53061b4657353375f1070000'), "author_name"=>"Mrs. Peggie Spencer", "content"=>["Sit quibusdam odio eos aperiam. Rerum molestias corporis porro ut nam ipsa. Id eius itaque architecto minus. Qui porro dolores delectus est. Adipisci ut quas error."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4596ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4657353375f1060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2121ms
Processing by Admin::CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061b4657353375f1060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4657353375f1060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2791ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4657353375f1060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53061b4657353375f1080000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3380ms
Redirected to http://test.host/admin/products/53061b4657353375f1060000/comments/53061b4657353375f1080000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4657353375f1060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2685ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4657353375f1090000'), "name"=>"Mr. Maurice Wolf", "reference"=>"Adella McClure", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061b4657353375f10a0000'), "author_name"=>"Cesar Schmidt", "content"=>["Ducimus possimus optio rerum. Amet tempore dolores eos nisi adipisci eaque. Doloribus id animi."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3549ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4657353375f1090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2084ms
Processing by Admin::CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061b4657353375f1090000", "id"=>"53061b4657353375f10a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4657353375f1090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4657353375f1090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53061b4657353375f10a0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4923ms
Redirected to http://test.host/admin/products/53061b4657353375f1090000/comments
Completed 302 Found in 31ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4657353375f1090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2221ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f10b0000'), "name"=>"Samir Rowe", "reference"=>"Abraham Hills Jr.", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061b4757353375f10c0000'), "author_name"=>"Dr. Francesca Littel", "content"=>["Ducimus molestiae sint quia impedit et. Voluptatem occaecati sed cum minima repellat rerum. Aliquid non nisi deleniti. Maxime laborum harum iure delectus."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3391ms
Processing by Admin::CommentsController#edit as HTML
Parameters: {"product_id"=>"53061b4757353375f10b0000", "id"=>"53061b4757353375f10c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f10b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2850ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 10ms (Views: 7.6ms)
----------------------------------------------------
Admin::CommentsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f10d0000'), "name"=>"Madalyn Hansen", "reference"=>"Carlotta Hammes Jr.", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061b4757353375f10e0000'), "author_name"=>"Nicholas Schultz IV", "content"=>["Nostrum ea quam. Ratione ut placeat commodi nemo. Quam ut provident."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4409ms
Processing by Admin::CommentsController#index as HTML
Parameters: {"product_id"=>"53061b4757353375f10d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f10d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3489ms
Completed 200 OK in 7ms (Views: 4.9ms)
--------------------------------------------------
Admin::CommentsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f10f0000'), "name"=>"Kennedy McCullough", "reference"=>"Nova Trantow", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53061b4757353375f1100000'), "author_name"=>"Bennie Fahey", "content"=>["Asperiores aut fuga inventore dignissimos. Est quasi totam rerum voluptate commodi explicabo. Quia qui dolores porro nemo. Facilis veniam et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4490ms
Processing by Admin::CommentsController#new as HTML
Parameters: {"product_id"=>"53061b4757353375f10f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f10f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2632ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.1ms)
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1110000'), "name"=>"Kailee Grant", "reference"=>"Ms. Thaddeus Ruecker", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53061b4757353375f1120000'), "author_name"=>"Devan Botsford", "content"=>["Tempora id mollitia. Magnam facere autem alias ut voluptas. Aut qui corporis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4349ms
Processing by Admin::CommentsController#show as HTML
Parameters: {"product_id"=>"53061b4757353375f1110000", "id"=>"53061b4757353375f1120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2727ms
Completed 200 OK in 6ms (Views: 3.9ms)
-------------------------------------------------
Admin::CommentsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1130000'), "name"=>"Annabel Deckow", "reference"=>"Guadalupe Hills", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53061b4757353375f1140000'), "author_name"=>"Charley Ward", "content"=>["Perferendis velit sequi corporis deleniti enim. Dolorem animi et itaque sit. Impedit aut ex possimus eum quo voluptas ratione."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4662ms
Processing by Admin::CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061b4757353375f1140000", "product_id"=>"53061b4757353375f1130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3763ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1130000'), "comments._id"=>BSON::ObjectId('53061b4757353375f1140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4431ms
Redirected to http://test.host/admin/products/53061b4757353375f1130000/comments/53061b4757353375f1140000
Completed 302 Found in 4ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1150000'), "name"=>"Koby Heller I", "reference"=>"Ariel Kuphal", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53061b4757353375f1160000'), "firstname"=>"Sabryna", "lastname"=>"Dietrich"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4446ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061b4757353375f1150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3796ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1150000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7276ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53061b4757353375f1170000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2863ms
Redirected to http://test.host/admin/products/53061b4757353375f1150000/manager
Completed 302 Found in 9ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1180000'), "name"=>"Theodora Wisozk", "reference"=>"Miss Eugenia Welch", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53061b4757353375f1190000'), "firstname"=>"Lewis", "lastname"=>"Schmeler"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3712ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"53061b4757353375f1190000", "product_id"=>"53061b4757353375f1180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2692ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.2ms)
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f11a0000'), "name"=>"Jonathon Vandervort", "reference"=>"Hulda Watsica", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061b4757353375f11b0000'), "firstname"=>"Lisa", "lastname"=>"Hoppe"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"53061b4757353375f11a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f11a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2850ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 7ms (Views: 5.7ms)
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f11c0000'), "name"=>"Kaelyn Harvey", "reference"=>"Vernice Jacobi", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53061b4757353375f11d0000'), "firstname"=>"Dereck", "lastname"=>"Mayert"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4545ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"53061b4757353375f11d0000", "product_id"=>"53061b4757353375f11c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f11c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2544ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f11e0000'), "name"=>"Ms. Paris Collier", "reference"=>"Raul Kilback", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53061b4757353375f11f0000'), "firstname"=>"Freda", "lastname"=>"Nolan"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4092ms
Processing by Admin::ManagersController#update as HTML
Parameters: {"id"=>"53061b4757353375f11f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061b4757353375f11e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f11e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2637ms
Unpermitted parameters: name
Redirected to http://test.host/admin/products/53061b4757353375f11e0000/manager
Completed 302 Found in 3ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1200000'), "name"=>"Dr. Harry Konopelski", "reference"=>"Khalid Stokes", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4391ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1859ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3621ms
Redirected to http://test.host/admin/products/53061b4757353375f1210000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1971ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1220000'), "name"=>"Gabrielle Jaskolski", "reference"=>"Camden Fadel", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3368ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1797ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53061b4757353375f1220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3071ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1872ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1230000'), "name"=>"Marguerite Grimes", "reference"=>"Trenton Wisozk II", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3101ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53061b4757353375f1230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2773ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1240000'), "name"=>"Sienna Kris", "reference"=>"Miss Jeffry Luettgen", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4243ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5194ms
Completed 200 OK in 14ms (Views: 13.3ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1250000'), "name"=>"Kyla Bradtke", "reference"=>"Ms. Leann Hintz", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4265ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 22ms (Views: 6.2ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1280000'), "name"=>"Darius Langosh", "reference"=>"Ava Cronin", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4771ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53061b4757353375f1280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2618ms
Completed 200 OK in 5ms (Views: 3.8ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1290000'), "name"=>"Aniyah Dach", "reference"=>"Mario Klein", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4096ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061b4757353375f1290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1290000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3345ms
Redirected to http://test.host/admin/products/53061b4757353375f1290000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061b4757353375f12a0000'), "firstname"=>"Horace", "lastname"=>"Borer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4346ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1827ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061b4757353375f12b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3727ms
Redirected to http://test.host/admin/users/53061b4757353375f12b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2445ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061b4757353375f12c0000'), "firstname"=>"Sigurd", "lastname"=>"Hilll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4963ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1847ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53061b4757353375f12c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061b4757353375f12c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2581ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061b4757353375f12c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3045ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1860ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061b4757353375f12d0000'), "firstname"=>"Jon", "lastname"=>"Treutel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2445ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53061b4757353375f12d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061b4757353375f12d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2465ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061b4757353375f12e0000'), "firstname"=>"Raymundo", "lastname"=>"Considine"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3148ms
Completed 200 OK in 40ms (Views: 39.1ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061b4757353375f12f0000'), "firstname"=>"Brenna", "lastname"=>"Simonis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1300000'), "firstname"=>"Wava", "lastname"=>"Treutel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4077ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53061b4757353375f1300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061b4757353375f1300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2653ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1310000'), "firstname"=>"Caroline", "lastname"=>"Smith"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3950ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061b4757353375f1310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061b4757353375f1310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53061b4757353375f1310000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1320000'), "firstname"=>"Sierra", "lastname"=>"Kuvalis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4479ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2243ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1330000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4689ms
Redirected to http://test.host/administrator
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1973ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1340000'), "firstname"=>"Jonathon", "lastname"=>"Hand"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3013ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"53061b4757353375f1340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061b4757353375f1340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2574ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 6.9ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1350000'), "firstname"=>"Bud", "lastname"=>"Doyle"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4206ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1360000'), "firstname"=>"Braxton", "lastname"=>"Emard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4109ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"53061b4757353375f1360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061b4757353375f1360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3363ms
Completed 200 OK in 6ms (Views: 4.1ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1370000'), "firstname"=>"Oswald", "lastname"=>"Morar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4402ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"53061b4757353375f1370000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061b4757353375f1370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2805ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1380000'), "name"=>"Abbigail Leuschke", "reference"=>"Ms. Imani Cruickshank", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53061b4757353375f1390000'), "author_name"=>"Joe Runte", "content"=>["Iure dolorem et nihil ratione. Veniam debitis blanditiis asperiores est ipsam ipsa adipisci. Reprehenderit nobis facere error est fugiat laboriosam. Ducimus dolor expedita est. Modi autem ad vel qui eum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4960ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2150ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061b4757353375f1380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2994ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53061b4757353375f13a0000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6944ms
Redirected to http://test.host/products/53061b4757353375f1380000/comments/53061b4757353375f13a0000
Completed 302 Found in 6ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2578ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f13b0000'), "name"=>"Bethany Moore", "reference"=>"Jed Schulist", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53061b4757353375f13c0000'), "author_name"=>"Dr. Pietro Harvey", "content"=>["Totam nemo voluptatem accusamus incidunt eos. Libero dolore ea labore ad quas et. Nemo provident in qui maiores quidem. Doloremque velit aliquam molestiae quo ea."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5287ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f13b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3744ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061b4757353375f13b0000", "id"=>"53061b4757353375f13c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f13b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3413ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f13b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53061b4757353375f13c0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3667ms
Redirected to http://test.host/products/53061b4757353375f13b0000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f13b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2437ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f13d0000'), "name"=>"Karianne Daugherty II", "reference"=>"Mateo Runte", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53061b4757353375f13e0000'), "author_name"=>"Keven Rosenbaum DVM", "content"=>["Et vel unde beatae ut dolorem rem sit. Veniam rerum necessitatibus molestiae culpa. Libero nam soluta cupiditate hic quia. Enim nihil ex enim sed."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3483ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"53061b4757353375f13d0000", "id"=>"53061b4757353375f13e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f13d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3160ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 9ms (Views: 7.1ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f13f0000'), "name"=>"Paxton Bechtelar", "reference"=>"Ms. Noemy Kutch", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53061b4757353375f1400000'), "author_name"=>"Marlon Toy", "content"=>["At voluptatum nemo. Quis aliquid alias impedit est. Aut voluptas libero. Dolor quia et et itaque. Laborum ut totam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4815ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"53061b4757353375f13f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f13f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2662ms
Completed 200 OK in 37ms (Views: 35.2ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1410000'), "name"=>"Genoveva Kilback", "reference"=>"Dr. Sarina Hegmann", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53061b4757353375f1420000'), "author_name"=>"Stuart Schumm", "content"=>["Cumque aut minima doloribus magnam voluptate. Aspernatur velit facere quidem. Est facilis quaerat. Sed sit vero. Autem excepturi ea dolorem praesentium voluptas."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4554ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"53061b4757353375f1410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2691ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.3ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1430000'), "name"=>"Margarette Dicki Sr.", "reference"=>"Brad Mosciski", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53061b4757353375f1440000'), "author_name"=>"Sofia West", "content"=>["Illo sed ut. Ea voluptas ducimus enim iste. Mollitia vitae reprehenderit. Sapiente consequatur suscipit. Voluptatem est laborum optio eum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4398ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"53061b4757353375f1430000", "id"=>"53061b4757353375f1440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2732ms
Completed 200 OK in 6ms (Views: 3.9ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1450000'), "name"=>"Kaleb Lebsack", "reference"=>"Muhammad Orn", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53061b4757353375f1460000'), "author_name"=>"Dr. Eliza Fahey", "content"=>["Eos qui voluptatem odio quidem quia natus illum. Ab aperiam quia ad numquam culpa aspernatur. Quas fuga quod repellendus totam vitae dolorem."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4391ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061b4757353375f1460000", "product_id"=>"53061b4757353375f1450000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3530ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1450000'), "comments._id"=>BSON::ObjectId('53061b4757353375f1460000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5714ms
Redirected to http://test.host/products/53061b4757353375f1450000/comments/53061b4757353375f1460000
Completed 302 Found in 6ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1470000'), "firstname"=>"Maxine", "lastname"=>"Durgan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5051ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1882ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1480000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4276ms
Redirected to http://test.host/admin/clients/53061b4757353375f1480000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3529ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1490000'), "firstname"=>"Mariane", "lastname"=>"Hilpert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5014ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2320ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061b4757353375f1490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061b4757353375f1490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3008ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061b4757353375f1490000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3541ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2376ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061b4757353375f14a0000'), "firstname"=>"Davion", "lastname"=>"Kris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2973ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061b4757353375f14a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061b4757353375f14a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2595ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061b4757353375f14b0000'), "firstname"=>"Adam", "lastname"=>"Rodriguez"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4499ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3652ms
Completed 200 OK in 9ms (Views: 7.5ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061b4757353375f14c0000'), "firstname"=>"Polly", "lastname"=>"Sipes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4223ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.8ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061b4757353375f14d0000'), "firstname"=>"Noemi", "lastname"=>"Towne"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4069ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061b4757353375f14d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061b4757353375f14d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3677ms
Completed 200 OK in 8ms (Views: 4.4ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061b4757353375f14e0000'), "firstname"=>"Esteban", "lastname"=>"O'Reilly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4031ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061b4757353375f14e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061b4757353375f14e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2623ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061b4757353375f14e0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3248ms
Redirected to http://test.host/admin/clients/53061b4757353375f14e0000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061b4757353375f14f0000'), "firstname"=>"Quinton", "lastname"=>"Johns"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2815ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1801ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1500000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3099ms
Redirected to http://test.host/clients/53061b4757353375f1500000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1963ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1510000'), "firstname"=>"Deonte", "lastname"=>"Upton"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2646ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1584ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061b4757353375f1510000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061b4757353375f1510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061b4757353375f1510000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2606ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1846ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1520000'), "firstname"=>"Mellie", "lastname"=>"Waelchi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2502ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061b4757353375f1520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061b4757353375f1520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2504ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1530000'), "firstname"=>"Grover", "lastname"=>"Yost"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3611ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4288ms
Completed 200 OK in 12ms (Views: 10.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1540000'), "firstname"=>"Prudence", "lastname"=>"D'Amore"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3788ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1550000'), "firstname"=>"Nathanael", "lastname"=>"Lynch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4145ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061b4757353375f1550000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061b4757353375f1550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3238ms
Completed 200 OK in 5ms (Views: 3.6ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1560000'), "firstname"=>"Gideon", "lastname"=>"Cole"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4115ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061b4757353375f1560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061b4757353375f1560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2651ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061b4757353375f1560000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2822ms
Redirected to http://test.host/clients/53061b4757353375f1560000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1570000'), "name"=>"Arlene Lindgren", "reference"=>"Florine Marvin", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061b4757353375f1580000'), "firstname"=>"Virginia", "lastname"=>"Dicki"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4481ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061b4757353375f1570000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1570000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2531ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1570000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53061b4757353375f1590000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1876ms
Redirected to http://test.host/products/53061b4757353375f1570000/manager
Completed 302 Found in 5ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f15a0000'), "name"=>"Claud Friesen", "reference"=>"Adrienne Von", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53061b4757353375f15b0000'), "firstname"=>"Adan", "lastname"=>"Collier"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3366ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"53061b4757353375f15b0000", "product_id"=>"53061b4757353375f15a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f15a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3383ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 10ms (Views: 7.6ms)
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f15c0000'), "name"=>"Oswald Rohan PhD", "reference"=>"Mr. Dina Kilback", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53061b4757353375f15d0000'), "firstname"=>"Selmer", "lastname"=>"Keeling"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9155ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"53061b4757353375f15c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f15c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2373ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f15e0000'), "name"=>"Freeman Powlowski", "reference"=>"Roman Boyer", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53061b4757353375f15f0000'), "firstname"=>"Mariela", "lastname"=>"Koelpin"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3860ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"53061b4757353375f15f0000", "product_id"=>"53061b4757353375f15e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f15e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms
Completed 200 OK in 6ms (Views: 4.2ms)
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1600000'), "name"=>"Frederic Hills", "reference"=>"Antone Waters", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061b4757353375f1610000'), "firstname"=>"Norwood", "lastname"=>"Hauck"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4501ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"53061b4757353375f1610000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061b4757353375f1600000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2783ms
Unpermitted parameters: name
Redirected to http://test.host/products/53061b4757353375f1600000/manager
Completed 302 Found in 3ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1620000'), "name"=>"Joan Gutmann", "reference"=>"Retha Jacobs III", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4352ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2102ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1630000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms
Redirected to http://test.host/products/53061b4757353375f1630000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2091ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1640000'), "name"=>"Talia Davis", "reference"=>"Rosendo Thompson", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4228ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2218ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53061b4757353375f1640000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4103ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1640000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3229ms
Redirected to http://test.host/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2551ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1650000'), "name"=>"Donnie Carter", "reference"=>"Mrs. Javon Rolfson", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3102ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53061b4757353375f1650000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3048ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1660000'), "name"=>"Austen Runte I", "reference"=>"Vivienne Mante", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4535ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7270ms
Completed 200 OK in 23ms (Views: 22.4ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1670000'), "name"=>"Johnathon Gutkowski", "reference"=>"Janice Kling", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3824ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7079ms
Completed 200 OK in 5ms (Views: 2.0ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1680000'), "name"=>"Dr. Jalon Marquardt", "reference"=>"Haylee Block", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3222ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53061b4757353375f1680000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2577ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1690000'), "name"=>"Amiya Luettgen", "reference"=>"Fredrick Schmeler IV", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3016ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 8ms (Views: 6.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f16b0000'), "name"=>"Guy Wuckert", "reference"=>"Rae Bahringer", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4023ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53061b4757353375f16b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f16b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2397ms
Completed 200 OK in 5ms (Views: 3.6ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f16c0000'), "name"=>"Elisa Mosciski IV", "reference"=>"Tess Gislason", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3800ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1603ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f16d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3013ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1662ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f16e0000'), "name"=>"Anika Kuhic", "reference"=>"Ms. Sean Wisozk", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2246ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53061b4757353375f16e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f16e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2344ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f16e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2327ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f16f0000'), "name"=>"Lera Murray", "reference"=>"Brooke Daniel I", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2803ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 3ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1710000'), "name"=>"Miss Fermin Kautzer", "reference"=>"Gianni Kirlin", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4234ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061b4757353375f1710000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2930ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1710000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1720000'), "name"=>"Faustino Greenholt", "reference"=>"Mavis Yundt", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2868ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061b4757353375f1720000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2622ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061b4757353375f1720000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2951ms
Redirected to http://test.host/products/53061b4757353375f1720000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1730000'), "firstname"=>"Marjorie", "lastname"=>"Cassin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1512ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1740000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4624ms
Redirected to http://test.host/users/53061b4757353375f1740000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2388ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1750000'), "firstname"=>"Jakayla", "lastname"=>"Cassin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3626ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2239ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53061b4757353375f1750000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061b4757353375f1750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3096ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061b4757353375f1750000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3411ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2334ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1760000'), "firstname"=>"Madge", "lastname"=>"Lesch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3001ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53061b4757353375f1760000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061b4757353375f1760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2636ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061b4757353375f1770000'), "firstname"=>"Sharon", "lastname"=>"Hahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4538ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3586ms
Completed 200 OK in 11ms (Views: 10.7ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061b4857353375f1780000'), "firstname"=>"Edwardo", "lastname"=>"Veum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061b4857353375f1790000'), "firstname"=>"Gerald", "lastname"=>"Shanahan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4081ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53061b4857353375f1790000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061b4857353375f1790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2441ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061b4857353375f17a0000'), "firstname"=>"Nikko", "lastname"=>"Morar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061b4857353375f17a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061b4857353375f17a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms
Unpermitted parameters: name
Redirected to http://test.host/users/53061b4857353375f17a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6538ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3188ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4480ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 16.2091ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3043ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2596ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e000000'), "firstname"=>"Enid", "lastname"=>"Lubowitz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4379ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1776ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3895ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2570ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e020000'), "firstname"=>"Giovani", "lastname"=>"Schultz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4077ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"53061bdb573533761e020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061bdb573533761e020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2541ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (35.8ms)
Completed 200 OK in 54ms (Views: 53.0ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e030000'), "firstname"=>"Antwon", "lastname"=>"Bahringer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4817ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e040000'), "firstname"=>"Deven", "lastname"=>"Corkery"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4514ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"53061bdb573533761e040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061bdb573533761e040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2771ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e050000'), "firstname"=>"Savanna", "lastname"=>"Batz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4044ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"53061bdb573533761e050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061bdb573533761e050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2612ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e060000'), "name"=>"Jaron Padberg", "reference"=>"Mr. Monique Carter", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53061bdb573533761e070000'), "author_name"=>"Suzanne Bashirian", "content"=>["Consequatur deleniti neque. Ab dolorum vel at et sit sunt esse. Quisquam qui est consequuntur et. Hic et illum eos facilis enim. Eveniet vel dolor facilis culpa."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4682ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2109ms
Processing by Admin::CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061bdb573533761e060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3396ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53061bdb573533761e080000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3743ms
Redirected to http://test.host/admin/products/53061bdb573533761e060000/comments/53061bdb573533761e080000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3088ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e090000'), "name"=>"Alexanne Farrell", "reference"=>"Lorine Hansen", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53061bdb573533761e0a0000'), "author_name"=>"Lola Graham", "content"=>["Assumenda libero totam necessitatibus pariatur aut vitae. Ea velit rerum. Error saepe at qui et rerum delectus quam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3990ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2485ms
Processing by Admin::CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061bdb573533761e090000", "id"=>"53061bdb573533761e0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53061bdb573533761e0a0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3439ms
Redirected to http://test.host/admin/products/53061bdb573533761e090000/comments
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2177ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e0b0000'), "name"=>"Shyann Bechtelar", "reference"=>"Angelo Tillman", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061bdb573533761e0c0000'), "author_name"=>"Stephanie Jones", "content"=>["Qui voluptates omnis. Non magnam est quam qui sapiente. At sit cum reprehenderit autem facere quaerat. Quis sit ut non blanditiis non. Nostrum accusantium aut dolores totam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3241ms
Processing by Admin::CommentsController#edit as HTML
Parameters: {"product_id"=>"53061bdb573533761e0b0000", "id"=>"53061bdb573533761e0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2825ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 10ms (Views: 7.6ms)
----------------------------------------------------
Admin::CommentsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e0d0000'), "name"=>"General Flatley", "reference"=>"Zane Green", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53061bdb573533761e0e0000'), "author_name"=>"Dr. Dorothy Champlin", "content"=>["Nulla distinctio reprehenderit natus dolorem. Perferendis quia architecto cum placeat velit id. Illum esse libero non. Eaque quia assumenda nihil ducimus. Nihil hic ipsam quam tempore facere id perferendis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4477ms
Processing by Admin::CommentsController#index as HTML
Parameters: {"product_id"=>"53061bdb573533761e0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3123ms
Completed 200 OK in 7ms (Views: 5.0ms)
--------------------------------------------------
Admin::CommentsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e0f0000'), "name"=>"Carlie Lesch", "reference"=>"Joshua Moore Jr.", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53061bdb573533761e100000'), "author_name"=>"Aleen Quitzon", "content"=>["Asperiores et unde facilis dolores occaecati. Sequi autem neque quisquam fugiat quis id facere. Nihil exercitationem velit. Iure recusandae aut enim quidem dolores fugit repudiandae. Distinctio asperiores facilis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4487ms
Processing by Admin::CommentsController#new as HTML
Parameters: {"product_id"=>"53061bdb573533761e0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2697ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.1ms)
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e110000'), "name"=>"Nathan Kris", "reference"=>"Faye Luettgen MD", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061bdb573533761e120000'), "author_name"=>"Therese Bahringer", "content"=>["Explicabo sunt aperiam et ut corporis. Quas omnis sed. Eos eius eum quisquam non ratione. Et earum consectetur facilis molestias modi consequatur et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4266ms
Processing by Admin::CommentsController#show as HTML
Parameters: {"product_id"=>"53061bdb573533761e110000", "id"=>"53061bdb573533761e120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2700ms
Completed 200 OK in 6ms (Views: 3.9ms)
-------------------------------------------------
Admin::CommentsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e130000'), "name"=>"Isaiah Pollich Sr.", "reference"=>"Freeda Zulauf II", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53061bdb573533761e140000'), "author_name"=>"Minerva Morissette", "content"=>["Illo occaecati tenetur quia ut voluptate reprehenderit. Consequuntur pariatur cupiditate enim vitae. Aut cupiditate debitis quas voluptates id animi ea. Ipsam ea doloribus qui dolorem."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4529ms
Processing by Admin::CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061bdb573533761e140000", "product_id"=>"53061bdb573533761e130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3809ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e130000'), "comments._id"=>BSON::ObjectId('53061bdb573533761e140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4244ms
Redirected to http://test.host/admin/products/53061bdb573533761e130000/comments/53061bdb573533761e140000
Completed 302 Found in 4ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e150000'), "name"=>"Vernon Runolfsson", "reference"=>"Dr. Reese Langosh", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53061bdb573533761e160000'), "firstname"=>"Santino", "lastname"=>"Jast"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4439ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061bdb573533761e150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3633ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e150000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5038ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53061bdb573533761e170000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2421ms
Redirected to http://test.host/admin/products/53061bdb573533761e150000/manager
Completed 302 Found in 6ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e180000'), "name"=>"Consuelo Hermiston DVM", "reference"=>"Ms. Lisette Cummerata", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53061bdb573533761e190000'), "firstname"=>"Antoinette", "lastname"=>"Ziemann"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3708ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"53061bdb573533761e190000", "product_id"=>"53061bdb573533761e180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.1ms)
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e1a0000'), "name"=>"Lucious Smitham", "reference"=>"Brandt Kautzer DDS", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53061bdb573533761e1b0000'), "firstname"=>"Jerrod", "lastname"=>"Harris"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4024ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"53061bdb573533761e1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.1ms)
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e1c0000'), "name"=>"Mr. Gerhard Abbott", "reference"=>"Manuela O'Hara I", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061bdb573533761e1d0000'), "firstname"=>"Margarette", "lastname"=>"Blick"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4908ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"53061bdb573533761e1d0000", "product_id"=>"53061bdb573533761e1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2694ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e1e0000'), "name"=>"Edison Barrows DVM", "reference"=>"Isobel Pfannerstill", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53061bdb573533761e1f0000'), "firstname"=>"Vivianne", "lastname"=>"Turner"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4261ms
Processing by Admin::ManagersController#update as HTML
Parameters: {"id"=>"53061bdb573533761e1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061bdb573533761e1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2719ms
Unpermitted parameters: name
Redirected to http://test.host/admin/products/53061bdb573533761e1e0000/manager
Completed 302 Found in 3ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e200000'), "name"=>"Silas Hodkiewicz", "reference"=>"Beulah Pacocha", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4228ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1821ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3509ms
Redirected to http://test.host/admin/products/53061bdb573533761e210000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2043ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e220000'), "name"=>"Royce Hagenes", "reference"=>"Ms. Jermaine Robel", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3354ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1785ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53061bdb573533761e220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2551ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2965ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1899ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e230000'), "name"=>"Monica Nader PhD", "reference"=>"Mr. Baron Wolf", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2592ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53061bdb573533761e230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2682ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 9ms (Views: 8.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e240000'), "name"=>"Cooper Monahan", "reference"=>"Damaris Huels", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5196ms
Completed 200 OK in 14ms (Views: 13.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e250000'), "name"=>"Mr. Jalon Koelpin", "reference"=>"Samantha Rutherford", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3733ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 22ms (Views: 6.3ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e280000'), "name"=>"Miss Kara Kuhn", "reference"=>"Mrs. Bobbie Denesik", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4278ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53061bdb573533761e280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2552ms
Completed 200 OK in 5ms (Views: 3.8ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e290000'), "name"=>"Alia Adams", "reference"=>"Dr. Ayla Hudson", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3956ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061bdb573533761e290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2556ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e290000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.6721ms
Redirected to http://test.host/admin/products/53061bdb573533761e290000
Completed 302 Found in 8ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e2a0000'), "firstname"=>"Darian", "lastname"=>"Erdman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4464ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2157ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e2b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4445ms
Redirected to http://test.host/admin/users/53061bdb573533761e2b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2405ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e2c0000'), "firstname"=>"Alejandrin", "lastname"=>"Balistreri"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3253ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1973ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53061bdb573533761e2c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061bdb573533761e2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2948ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061bdb573533761e2c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3498ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2336ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e2d0000'), "firstname"=>"Broderick", "lastname"=>"Rutherford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2535ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53061bdb573533761e2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061bdb573533761e2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2146ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e2e0000'), "firstname"=>"Erling", "lastname"=>"Walter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4425ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3797ms
Completed 200 OK in 40ms (Views: 39.5ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e2f0000'), "firstname"=>"Jane", "lastname"=>"Murphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3761ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e300000'), "firstname"=>"Vladimir", "lastname"=>"Davis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4158ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53061bdb573533761e300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061bdb573533761e300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2843ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e310000'), "firstname"=>"Colt", "lastname"=>"Collier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3914ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061bdb573533761e310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061bdb573533761e310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53061bdb573533761e310000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e320000'), "firstname"=>"Kris", "lastname"=>"Price"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8468ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2725ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e330000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4062ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2426ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e340000'), "firstname"=>"Yadira", "lastname"=>"Prosacco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3534ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"53061bdb573533761e340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061bdb573533761e340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3038ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 6.9ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e350000'), "firstname"=>"Wendy", "lastname"=>"Bosco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4138ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.2ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e360000'), "firstname"=>"Demario", "lastname"=>"Kessler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4524ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"53061bdb573533761e360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061bdb573533761e360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2872ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e370000'), "firstname"=>"Mohammad", "lastname"=>"White"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"53061bdb573533761e370000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061bdb573533761e370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e380000'), "name"=>"Dr. Mae Barton", "reference"=>"Jerry Morar", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061bdb573533761e390000'), "author_name"=>"Ibrahim Nolan IV", "content"=>["Sint impedit aut voluptas. Veritatis nihil voluptatem. Molestias sit et. Consequuntur quia praesentium explicabo. Impedit suscipit voluptatem necessitatibus ipsum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4344ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2057ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061bdb573533761e380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2779ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53061bdb573533761e3a0000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3307ms
Redirected to http://test.host/products/53061bdb573533761e380000/comments/53061bdb573533761e3a0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2894ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e3b0000'), "name"=>"Meagan Dietrich", "reference"=>"Jeromy Marquardt", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53061bdb573533761e3c0000'), "author_name"=>"Garnet Altenwerth", "content"=>["Vel quis architecto et ducimus velit voluptatem suscipit. Ex a repudiandae tenetur illo. Ipsa qui nihil. Quod error voluptates earum aut doloribus. Quia omnis commodi est excepturi quidem."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4777ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2116ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061bdb573533761e3b0000", "id"=>"53061bdb573533761e3c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53061bdb573533761e3c0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3085ms
Redirected to http://test.host/products/53061bdb573533761e3b0000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1957ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e3d0000'), "name"=>"Mrs. Timothy Bosco", "reference"=>"Cleveland Schuppe", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061bdb573533761e3e0000'), "author_name"=>"Miss Pietro Schamberger", "content"=>["Vel facilis earum. Alias rerum voluptates minus assumenda molestias adipisci. Mollitia atque id odit et. Quia quis odio sapiente illum sit sed voluptatum. Quia ut voluptatibus ipsum quia ex eum nulla."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3716ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"53061bdb573533761e3d0000", "id"=>"53061bdb573533761e3e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2935ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 9ms (Views: 7.1ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e3f0000'), "name"=>"Mozelle Crona DVM", "reference"=>"Kane Bayer", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53061bdb573533761e400000'), "author_name"=>"Jadon Bogan IV", "content"=>["Reprehenderit eaque iusto dolores sit. Vel molestiae et qui eos. Natus in ad et ab."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4312ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"53061bdb573533761e3f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms
Completed 200 OK in 9ms (Views: 6.7ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e410000'), "name"=>"Marco Schaefer", "reference"=>"Monroe Schimmel MD", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53061bdb573533761e420000'), "author_name"=>"Braden MacGyver", "content"=>["Voluptas molestiae quia nobis eum non molestiae. Molestias et reprehenderit dicta. Neque illum suscipit totam in. Ut libero alias."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4720ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"53061bdb573533761e410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.3ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e430000'), "name"=>"Emerald Stokes", "reference"=>"Mrs. Ari Veum", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53061bdb573533761e440000'), "author_name"=>"Julian Baumbach", "content"=>["Maiores amet odio omnis. Sit non accusantium. Exercitationem est nam dolores architecto rem."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4394ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"53061bdb573533761e430000", "id"=>"53061bdb573533761e440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2849ms
Completed 200 OK in 6ms (Views: 4.1ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdb573533761e450000'), "name"=>"Luther Kling", "reference"=>"Marilyne Beahan DDS", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53061bdb573533761e460000'), "author_name"=>"Dr. Samir Towne", "content"=>["Est sunt enim quis harum deserunt. Omnis sed dolorem est. Dicta molestiae quis ut. Praesentium suscipit totam quis error non."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4876ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061bdb573533761e460000", "product_id"=>"53061bdb573533761e450000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2841ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdb573533761e450000'), "comments._id"=>BSON::ObjectId('53061bdb573533761e460000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4352ms
Redirected to http://test.host/products/53061bdb573533761e450000/comments/53061bdb573533761e460000
Completed 302 Found in 5ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e470000'), "firstname"=>"Eduardo", "lastname"=>"Franecki"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4770ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2973ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e480000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4107ms
Redirected to http://test.host/admin/clients/53061bdc573533761e480000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2008ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e490000'), "firstname"=>"Eryn", "lastname"=>"Littel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3140ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1758ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061bdc573533761e490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061bdc573533761e490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2537ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061bdc573533761e490000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3014ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1870ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e4a0000'), "firstname"=>"Letitia", "lastname"=>"Volkman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2470ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061bdc573533761e4a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061bdc573533761e4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2444ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e4b0000'), "firstname"=>"Arlo", "lastname"=>"Ratke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4262ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3878ms
Completed 200 OK in 9ms (Views: 7.7ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e4c0000'), "firstname"=>"Jeffry", "lastname"=>"O'Kon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.5ms)
Completed 200 OK in 40ms (Views: 39.2ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e4d0000'), "firstname"=>"Mellie", "lastname"=>"Leuschke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4311ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061bdc573533761e4d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061bdc573533761e4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2542ms
Completed 200 OK in 6ms (Views: 4.3ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e4e0000'), "firstname"=>"Brielle", "lastname"=>"Kassulke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3976ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061bdc573533761e4e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061bdc573533761e4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2789ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061bdc573533761e4e0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3358ms
Redirected to http://test.host/admin/clients/53061bdc573533761e4e0000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e4f0000'), "firstname"=>"Nellie", "lastname"=>"Wehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2891ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1810ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e500000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3018ms
Redirected to http://test.host/clients/53061bdc573533761e500000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1928ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e510000'), "firstname"=>"Terrence", "lastname"=>"Davis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2480ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1730ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061bdc573533761e510000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061bdc573533761e510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2439ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061bdc573533761e510000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2541ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2036ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e520000'), "firstname"=>"Roderick", "lastname"=>"Mante"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2460ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061bdc573533761e520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061bdc573533761e520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2948ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.5ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e530000'), "firstname"=>"Cameron", "lastname"=>"Thiel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3791ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3697ms
Completed 200 OK in 11ms (Views: 10.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e540000'), "firstname"=>"Wilber", "lastname"=>"Halvorson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8664ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.2ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e550000'), "firstname"=>"Felton", "lastname"=>"Wiegand"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4374ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061bdc573533761e550000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061bdc573533761e550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2536ms
Completed 200 OK in 4ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e560000'), "firstname"=>"Nathen", "lastname"=>"Purdy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3390ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061bdc573533761e560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061bdc573533761e560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061bdc573533761e560000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2629ms
Redirected to http://test.host/clients/53061bdc573533761e560000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e570000'), "name"=>"Caesar Sipes", "reference"=>"Emerson Pouros", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061bdc573533761e580000'), "firstname"=>"Justyn", "lastname"=>"Bernhard"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4246ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061bdc573533761e570000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdc573533761e570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2904ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdc573533761e570000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3491ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdc573533761e570000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53061bdc573533761e590000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms
Redirected to http://test.host/products/53061bdc573533761e570000/manager
Completed 302 Found in 5ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e5a0000'), "name"=>"Mrs. Drake Carter", "reference"=>"Davonte Skiles", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53061bdc573533761e5b0000'), "firstname"=>"Wilfred", "lastname"=>"Batz"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4777ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"53061bdc573533761e5b0000", "product_id"=>"53061bdc573533761e5a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdc573533761e5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3417ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 9ms (Views: 7.1ms)
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e5c0000'), "name"=>"Abraham Gulgowski MD", "reference"=>"Omari Stark", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53061bdc573533761e5d0000'), "firstname"=>"Bernadette", "lastname"=>"Dare"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4746ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"53061bdc573533761e5c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdc573533761e5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2823ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e5e0000'), "name"=>"John Hodkiewicz", "reference"=>"Mr. Rita Wilderman", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53061bdc573533761e5f0000'), "firstname"=>"Hester", "lastname"=>"Walker"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4298ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"53061bdc573533761e5f0000", "product_id"=>"53061bdc573533761e5e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdc573533761e5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3836ms
Completed 200 OK in 6ms (Views: 3.9ms)
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e600000'), "name"=>"Mr. Mustafa Kulas", "reference"=>"Dion Turner Jr.", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53061bdc573533761e610000'), "firstname"=>"Devonte", "lastname"=>"Leffler"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8393ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"53061bdc573533761e610000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061bdc573533761e600000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdc573533761e600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3376ms
Unpermitted parameters: name
Redirected to http://test.host/products/53061bdc573533761e600000/manager
Completed 302 Found in 3ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e620000'), "name"=>"Murray Runte", "reference"=>"Miss Monserrat Funk", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4722ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2079ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e630000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5084ms
Redirected to http://test.host/products/53061bdc573533761e630000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3079ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e640000'), "name"=>"Jaleel Ebert DDS", "reference"=>"Moshe Schamberger", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3959ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2352ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53061bdc573533761e640000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdc573533761e640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3034ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdc573533761e640000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3103ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2270ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e650000'), "name"=>"Alexandrea Frami III", "reference"=>"Conner Hansen DDS", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3024ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53061bdc573533761e650000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdc573533761e650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2751ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms)
Completed 200 OK in 10ms (Views: 8.3ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e660000'), "name"=>"Reynold Heidenreich", "reference"=>"Maude Bode", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4467ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8260ms
Completed 200 OK in 24ms (Views: 23.4ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e670000'), "name"=>"Reilly Walker", "reference"=>"Anya McGlynn", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4296ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7482ms
Completed 200 OK in 5ms (Views: 2.0ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e680000'), "name"=>"Porter Frami", "reference"=>"Kelli Dibbert DDS", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5033ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53061bdc573533761e680000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdc573533761e680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4144ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e690000'), "name"=>"Miss Kennith Hintz", "reference"=>"Cassandre Roberts", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 7ms (Views: 6.1ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e6b0000'), "name"=>"Piper Turner", "reference"=>"Allan Hessel", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53061bdc573533761e6b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdc573533761e6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2513ms
Completed 200 OK in 5ms (Views: 3.7ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e6c0000'), "name"=>"Anahi West", "reference"=>"Adelbert O'Connell DVM", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.2937ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2204ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e6d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4988ms
Completed 201 Created in 3ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2391ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e6e0000'), "name"=>"Genesis Corwin", "reference"=>"Mina O'Conner", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2980ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53061bdc573533761e6e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdc573533761e6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3053ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdc573533761e6e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3092ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e6f0000'), "name"=>"Hellen Powlowski", "reference"=>"Wilber Emard", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2704ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e710000'), "name"=>"Lillian Rosenbaum Jr.", "reference"=>"Theodora Bogan", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3752ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061bdc573533761e710000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdc573533761e710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2540ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdc573533761e710000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2823ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e720000'), "name"=>"Caleigh Schowalter PhD", "reference"=>"Marcos Pouros", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2671ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061bdc573533761e720000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdc573533761e720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2685ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061bdc573533761e720000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2763ms
Redirected to http://test.host/products/53061bdc573533761e720000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e730000'), "firstname"=>"Taryn", "lastname"=>"Braun"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4504ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1844ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e740000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3395ms
Redirected to http://test.host/users/53061bdc573533761e740000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2012ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e750000'), "firstname"=>"Elton", "lastname"=>"Bayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3147ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1780ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53061bdc573533761e750000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061bdc573533761e750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2635ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061bdc573533761e750000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2662ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1861ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e760000'), "firstname"=>"Gunnar", "lastname"=>"Block"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2463ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53061bdc573533761e760000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061bdc573533761e760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2378ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 9ms (Views: 7.4ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e770000'), "firstname"=>"Otilia", "lastname"=>"Schneider"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4393ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms
Completed 200 OK in 10ms (Views: 10.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e780000'), "firstname"=>"Domenick", "lastname"=>"Labadie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3570ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e790000'), "firstname"=>"Scottie", "lastname"=>"Blick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4018ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53061bdc573533761e790000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061bdc573533761e790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2458ms
Completed 200 OK in 5ms (Views: 3.9ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061bdc573533761e7a0000'), "firstname"=>"Bradley", "lastname"=>"Brekke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4369ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061bdc573533761e7a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061bdc573533761e7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2410ms
Unpermitted parameters: name
Redirected to http://test.host/users/53061bdc573533761e7a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6666ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3145ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4423ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3167ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3428ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3225ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061c915735337650000000'), "firstname"=>"Kianna", "lastname"=>"Dooley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4455ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1800ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061c915735337650010000'), "firstname"=>"Brenda", "lastname"=>"Smitham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3994ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"53061c915735337650010000"}
Completed 500 Internal Server Error in 0ms
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061c915735337650020000'), "firstname"=>"Vernon", "lastname"=>"Swaniawski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3520ms
Processing by Admin::AdministratorsController#new as HTML
Completed 500 Internal Server Error in 0ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061c915735337650030000'), "firstname"=>"Triston", "lastname"=>"Lueilwitz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3342ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"53061c915735337650030000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061c915735337650040000'), "firstname"=>"Jacques", "lastname"=>"Witting"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"53061c915735337650040000", "administrator"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c915735337650050000'), "name"=>"Eli Macejkovic MD", "reference"=>"Darrell Smitham", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061c915735337650060000'), "author_name"=>"Clay Von", "content"=>["Optio exercitationem accusamus. Voluptate rerum ut veniam vero nostrum quaerat. Delectus porro consequatur ut nemo itaque. Sit aut iusto unde rem adipisci architecto."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5221ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c915735337650050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2560ms
Processing by Admin::CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061c915735337650050000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c915735337650050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms
Completed 500 Internal Server Error in 2ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c915735337650070000'), "name"=>"Craig Stanton Jr.", "reference"=>"Sally Koelpin", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53061c915735337650080000'), "author_name"=>"Ms. Jerrod Abshire", "content"=>["Saepe ea qui. Quibusdam placeat dicta deserunt alias unde saepe. Occaecati quam vero qui consectetur ut."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4418ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c915735337650070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms
Processing by Admin::CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061c915735337650070000", "id"=>"53061c915735337650080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c915735337650070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3004ms
Completed 500 Internal Server Error in 1ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c915735337650090000'), "name"=>"Josephine Jacobson PhD", "reference"=>"Sienna Cummings", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53061c9157353376500a0000'), "author_name"=>"Ms. Abel Renner", "content"=>["Nobis porro qui fugit nulla eum. Voluptatem porro cum explicabo. Iure dolorem nisi error. Optio laudantium distinctio soluta tenetur. Tenetur a sint voluptates."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3851ms
Processing by Admin::CommentsController#edit as HTML
Parameters: {"product_id"=>"53061c915735337650090000", "id"=>"53061c9157353376500a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c915735337650090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3147ms
Completed 500 Internal Server Error in 1ms
----------------------------------------------------
Admin::CommentsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c9157353376500b0000'), "name"=>"Lourdes Kuphal", "reference"=>"Colin Koch", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53061c9157353376500c0000'), "author_name"=>"Patricia O'Connell", "content"=>["Nostrum inventore eius sit nulla iste. Dolor ipsam repellendus. Corporis illo qui consequuntur porro."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3306ms
Processing by Admin::CommentsController#index as HTML
Parameters: {"product_id"=>"53061c9157353376500b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c9157353376500b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2687ms
Completed 500 Internal Server Error in 1ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c9157353376500d0000'), "name"=>"Brody Bayer", "reference"=>"Hyman Cronin", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53061c9157353376500e0000'), "author_name"=>"Daniela Rath", "content"=>["Pariatur sint voluptatem cumque beatae voluptates dolorum. At sequi est ut esse suscipit. Enim sit nisi animi aut itaque minus. Repellendus quam voluptatem."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3410ms
Processing by Admin::CommentsController#new as HTML
Parameters: {"product_id"=>"53061c9157353376500d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c9157353376500d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2678ms
Completed 500 Internal Server Error in 1ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c9157353376500f0000'), "name"=>"Olaf Lockman", "reference"=>"Hubert Abshire", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53061c915735337650100000'), "author_name"=>"Garth Sanford", "content"=>["Tempora est dicta aliquam doloremque ullam perspiciatis possimus. Dolor magnam qui. Quo exercitationem omnis maiores voluptatem neque quo. Impedit unde optio. Sunt labore rerum recusandae earum a."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4393ms
Processing by Admin::CommentsController#show as HTML
Parameters: {"product_id"=>"53061c9157353376500f0000", "id"=>"53061c915735337650100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c9157353376500f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3671ms
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c915735337650110000'), "name"=>"Humberto Willms", "reference"=>"Lera Prohaska", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061c915735337650120000'), "author_name"=>"Dr. Francesco Fahey", "content"=>["Facere quisquam in illo inventore dolorem quia. Molestias autem magnam at expedita fugit eaque. Aut quibusdam facilis aut dignissimos rerum. Nemo expedita eum consequuntur molestiae perspiciatis inventore quia. Ullam doloribus et quis et aut eveniet."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3379ms
Processing by Admin::CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061c915735337650120000", "product_id"=>"53061c915735337650110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c915735337650110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2711ms
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c915735337650130000'), "name"=>"Alda Toy", "reference"=>"Halie Welch", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061c915735337650140000'), "firstname"=>"Josianne", "lastname"=>"Balistreri"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4366ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061c915735337650130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c915735337650130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3451ms
Completed 500 Internal Server Error in 2ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c915735337650150000'), "name"=>"Arlo Haag", "reference"=>"Efren MacGyver", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53061c915735337650160000'), "firstname"=>"Tomas", "lastname"=>"Rosenbaum"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3691ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"53061c915735337650160000", "product_id"=>"53061c915735337650150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c915735337650150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2602ms
Completed 500 Internal Server Error in 1ms
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c915735337650170000'), "name"=>"Maybell Yundt", "reference"=>"Shanon Hilll", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53061c915735337650180000'), "firstname"=>"Rita", "lastname"=>"Kessler"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3059ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"53061c915735337650170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c915735337650170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2970ms
Completed 500 Internal Server Error in 1ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c915735337650190000'), "name"=>"Amalia Blick", "reference"=>"Dr. Amaya Shanahan", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061c9157353376501a0000'), "firstname"=>"Gerald", "lastname"=>"Heller"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3455ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"53061c9157353376501a0000", "product_id"=>"53061c915735337650190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c915735337650190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3130ms
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c9157353376501b0000'), "name"=>"Natalie Upton", "reference"=>"Jacynthe Schaefer", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53061c9157353376501c0000'), "firstname"=>"Katelyn", "lastname"=>"Schumm"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3614ms
Processing by Admin::ManagersController#update as HTML
Parameters: {"id"=>"53061c9157353376501c0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061c9157353376501b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c9157353376501b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3576ms
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c9157353376501d0000'), "name"=>"Caesar Rutherford", "reference"=>"Justus Greenfelder IV", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4737ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2407ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c9157353376501e0000'), "name"=>"Jaron Conn", "reference"=>"Travis Torp", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4476ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2318ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53061c9157353376501e0000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c9157353376501f0000'), "name"=>"Art Greenfelder", "reference"=>"America Harris", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4360ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53061c9157353376501f0000"}
Completed 500 Internal Server Error in 0ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c915735337650200000'), "name"=>"Ms. Nicole Kulas", "reference"=>"Shanelle Stokes", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3624ms
Processing by Admin::ProductsController#index as HTML
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c915735337650210000'), "name"=>"Mrs. Lily Lowe", "reference"=>"Mozelle Hodkiewicz", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3733ms
Processing by Admin::ProductsController#new as HTML
Completed 500 Internal Server Error in 0ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c915735337650220000'), "name"=>"Garett Nikolaus", "reference"=>"Roselyn Renner", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4389ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53061c915735337650220000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c915735337650230000'), "name"=>"Norbert Powlowski", "reference"=>"Ahmed Runte", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4985ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061c915735337650230000"}
Completed 500 Internal Server Error in 0ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061c915735337650240000'), "firstname"=>"Rocio", "lastname"=>"Feil"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4151ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1978ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061c915735337650250000'), "firstname"=>"Clarabelle", "lastname"=>"Steuber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4182ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2293ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53061c915735337650250000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061c915735337650260000'), "firstname"=>"Jackson", "lastname"=>"Daniel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53061c915735337650260000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061c915735337650270000'), "firstname"=>"Aditya", "lastname"=>"Keeling"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3851ms
Processing by Admin::UsersController#index as HTML
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061c915735337650280000'), "firstname"=>"Alec", "lastname"=>"Legros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3575ms
Processing by Admin::UsersController#new as HTML
Completed 500 Internal Server Error in 0ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061c915735337650290000'), "firstname"=>"Alford", "lastname"=>"Gulgowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5337ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53061c915735337650290000"}
Completed 500 Internal Server Error in 0ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061c9157353376502a0000'), "firstname"=>"Jarrod", "lastname"=>"Kertzmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4563ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061c9157353376502a0000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061c9157353376502b0000'), "firstname"=>"Letitia", "lastname"=>"Paucek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4108ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1822ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061c9157353376502c0000'), "firstname"=>"Christine", "lastname"=>"Armstrong"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3973ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"53061c9157353376502c0000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061c9157353376502d0000'), "firstname"=>"Macie", "lastname"=>"Okuneva"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3509ms
Processing by AdministratorsController#new as HTML
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061c9157353376502e0000'), "firstname"=>"Nicklaus", "lastname"=>"Mayert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3388ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"53061c9157353376502e0000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061c9157353376502f0000'), "firstname"=>"Brielle", "lastname"=>"Zemlak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3569ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"53061c9157353376502f0000", "administrator"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c915735337650300000'), "name"=>"Dana Fadel Sr.", "reference"=>"Jack Sanford", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53061c915735337650310000'), "author_name"=>"Silas Krajcik", "content"=>["Deleniti perferendis aliquid sit porro velit in dolor. Id et dolorem qui incidunt repellendus officia. Sit et ea corporis sapiente architecto voluptas. Et est necessitatibus in."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4691ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c915735337650300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2170ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061c915735337650300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c915735337650300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3419ms
Completed 500 Internal Server Error in 2ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c915735337650320000'), "name"=>"Miss Britney Harvey", "reference"=>"Markus Mosciski", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53061c915735337650330000'), "author_name"=>"Willa Langworth", "content"=>["Itaque vero est dicta. Dolores maiores laboriosam. Molestiae consequuntur sint omnis voluptatibus aut. Nam natus sint molestiae."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4047ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c915735337650320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2074ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061c915735337650320000", "id"=>"53061c915735337650330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c915735337650320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3071ms
Completed 500 Internal Server Error in 1ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c915735337650340000'), "name"=>"Cruz Beatty", "reference"=>"Mara Hickle", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061c915735337650350000'), "author_name"=>"Buddy Morissette", "content"=>["Architecto voluptatem ullam non neque numquam. Vitae optio eius rerum quidem cumque qui quibusdam. Id quo voluptatem et error aut. Vitae quam repellendus. Omnis quae sed optio a nobis ut."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0487ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"53061c915735337650340000", "id"=>"53061c915735337650350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c915735337650340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3968ms
Completed 500 Internal Server Error in 2ms
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c915735337650360000'), "name"=>"Aileen Aufderhar II", "reference"=>"Buddy Homenick", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53061c915735337650370000'), "author_name"=>"Litzy Kovacek MD", "content"=>["Illum consectetur at. Et maiores nesciunt vel architecto amet sequi officiis. Aut voluptas blanditiis adipisci odio molestias delectus corrupti."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4107ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"53061c915735337650360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c915735337650360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2638ms
Completed 500 Internal Server Error in 1ms
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c915735337650380000'), "name"=>"Louvenia Powlowski", "reference"=>"Shea Satterfield", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53061c915735337650390000'), "author_name"=>"Nella Skiles", "content"=>["Qui recusandae consequuntur ut non commodi tempore cupiditate. Sequi at sit nobis nihil odit. Possimus esse voluptatibus et quos porro libero. Velit accusantium nisi eligendi qui tempore ipsa."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3565ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"53061c915735337650380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c915735337650380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3248ms
Completed 500 Internal Server Error in 1ms
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c9157353376503a0000'), "name"=>"Susanna Casper", "reference"=>"Leonel Bartoletti", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061c9157353376503b0000'), "author_name"=>"Lue O'Keefe", "content"=>["Consequuntur expedita cum est animi. Et quia quas tempore velit aliquam et. Nulla id et illum. Sapiente et cumque officiis vel aliquid similique molestiae."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3652ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"53061c9157353376503a0000", "id"=>"53061c9157353376503b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c9157353376503a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2895ms
Completed 500 Internal Server Error in 1ms
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c9157353376503c0000'), "name"=>"Pearlie Lubowitz", "reference"=>"Tania Rowe Sr.", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53061c9157353376503d0000'), "author_name"=>"Randi O'Hara", "content"=>["Voluptatibus maiores et eum. Blanditiis dicta nisi expedita qui sit necessitatibus illo. Necessitatibus maxime possimus enim qui atque dignissimos. Eum harum et. Quam qui quaerat nobis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061c9157353376503d0000", "product_id"=>"53061c9157353376503c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c9157353376503c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3220ms
Completed 500 Internal Server Error in 1ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061c9157353376503e0000'), "firstname"=>"Candida", "lastname"=>"McDermott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4885ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1877ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061c9157353376503f0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3822ms
Redirected to http://test.host/admin/clients/53061c9157353376503f0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2396ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061c915735337650400000'), "firstname"=>"Chasity", "lastname"=>"Borer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3580ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2255ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061c915735337650400000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061c915735337650400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2747ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061c915735337650400000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3306ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2023ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061c915735337650410000'), "firstname"=>"Sam", "lastname"=>"Will"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3984ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061c915735337650410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061c915735337650410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3246ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.3ms)
Completed 200 OK in 54ms (Views: 52.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061c915735337650420000'), "firstname"=>"Jocelyn", "lastname"=>"Trantow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5128ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4341ms
Completed 200 OK in 9ms (Views: 7.8ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061c915735337650430000'), "firstname"=>"Jasmin", "lastname"=>"Runolfsdottir"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4208ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061c915735337650440000'), "firstname"=>"Sherman", "lastname"=>"Pollich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4228ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061c915735337650440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061c915735337650440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4034ms
Completed 200 OK in 6ms (Views: 4.5ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061c915735337650450000'), "firstname"=>"Hunter", "lastname"=>"Emmerich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4416ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061c915735337650450000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061c915735337650450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2457ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061c915735337650450000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3256ms
Redirected to http://test.host/admin/clients/53061c915735337650450000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061c915735337650460000'), "firstname"=>"Camden", "lastname"=>"Schoen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2777ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2223ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061c915735337650470000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3521ms
Redirected to http://test.host/clients/53061c915735337650470000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2372ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061c915735337650480000'), "firstname"=>"Herbert", "lastname"=>"Treutel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2832ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2275ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061c915735337650480000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061c915735337650480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2689ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061c915735337650480000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2915ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1732ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061c915735337650490000'), "firstname"=>"Alexys", "lastname"=>"Rath"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2483ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061c915735337650490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061c915735337650490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2467ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.7ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061c9157353376504a0000'), "firstname"=>"Rudy", "lastname"=>"Windler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3873ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3644ms
Completed 200 OK in 10ms (Views: 9.7ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061c9257353376504b0000'), "firstname"=>"Ferne", "lastname"=>"Wiegand"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4346ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 4.9ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061c9257353376504c0000'), "firstname"=>"Elza", "lastname"=>"Jakubowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4966ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061c9257353376504c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061c9257353376504c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2979ms
Completed 200 OK in 5ms (Views: 3.3ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061c9257353376504d0000'), "firstname"=>"Elmer", "lastname"=>"Stiedemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3577ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061c9257353376504d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061c9257353376504d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2620ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061c9257353376504d0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2702ms
Redirected to http://test.host/clients/53061c9257353376504d0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c9257353376504e0000'), "name"=>"Ms. Montana Brekke", "reference"=>"Mauricio Abernathy PhD", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53061c9257353376504f0000'), "firstname"=>"Helena", "lastname"=>"Franecki"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4294ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061c9257353376504e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c9257353376504e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2964ms
Completed 500 Internal Server Error in 2ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c925735337650500000'), "name"=>"Gloria Walter", "reference"=>"Arely Schoen", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53061c925735337650510000'), "firstname"=>"Johanna", "lastname"=>"Moore"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4242ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"53061c925735337650510000", "product_id"=>"53061c925735337650500000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c925735337650500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3662ms
Completed 500 Internal Server Error in 2ms
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c925735337650520000'), "name"=>"Annabell Adams Jr.", "reference"=>"Ms. Donavon Zieme", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53061c925735337650530000'), "firstname"=>"Annabel", "lastname"=>"Emard"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3289ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"53061c925735337650520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c925735337650520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2687ms
Completed 500 Internal Server Error in 1ms
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c925735337650540000'), "name"=>"Evan White", "reference"=>"Rasheed Jacobs III", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53061c925735337650550000'), "firstname"=>"Rozella", "lastname"=>"Wiza"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3138ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"53061c925735337650550000", "product_id"=>"53061c925735337650540000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c925735337650540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2641ms
Completed 500 Internal Server Error in 1ms
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c925735337650560000'), "name"=>"Josue Medhurst", "reference"=>"Miss Wilma Mosciski", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061c925735337650570000'), "firstname"=>"Ardith", "lastname"=>"Stoltenberg"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3193ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"53061c925735337650570000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061c925735337650560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061c925735337650560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2703ms
Completed 500 Internal Server Error in 1ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c925735337650580000'), "name"=>"Ed Dickens", "reference"=>"Kenneth Schuppe", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4014ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2182ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c925735337650590000'), "name"=>"Mrs. Ola Brown", "reference"=>"Charlie Kulas I", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4437ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1852ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53061c925735337650590000"}
Completed 500 Internal Server Error in 0ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c9257353376505a0000'), "name"=>"Louisa Koelpin", "reference"=>"Christina Hermiston", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3729ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53061c9257353376505a0000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c9257353376505b0000'), "name"=>"Efrain Cummings IV", "reference"=>"Gabrielle Jenkins MD", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2009ms
Processing by ProductsController#index as HTML
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c9257353376505c0000'), "name"=>"Alexane Feeney", "reference"=>"Granville Cruickshank", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3573ms
Processing by ProductsController#index as JSON
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c9257353376505d0000'), "name"=>"Llewellyn Romaguera", "reference"=>"Wallace Mayert", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3576ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53061c9257353376505d0000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c9257353376505e0000'), "name"=>"Murray Orn I", "reference"=>"Greta Davis", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4895ms
Processing by ProductsController#new as HTML
Completed 500 Internal Server Error in 0ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c9257353376505f0000'), "name"=>"Jessica Carter", "reference"=>"Casimir Grimes", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3725ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53061c9257353376505f0000"}
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c925735337650600000'), "name"=>"Laila Howell", "reference"=>"Tyrique Volkman", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3628ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1900ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c925735337650610000'), "name"=>"Concepcion Stoltenberg II", "reference"=>"Willow Kunze I", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3574ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53061c925735337650610000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c925735337650620000'), "name"=>"Pattie Becker", "reference"=>"Ashly Towne", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3552ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c925735337650630000'), "name"=>"Miss Vella Murphy", "reference"=>"Marilou Zemlak", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3636ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061c925735337650630000"}
Completed 500 Internal Server Error in 2ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061c925735337650640000'), "name"=>"Kaley Schmitt", "reference"=>"Grayson Moore", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4402ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061c925735337650640000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061c925735337650650000'), "firstname"=>"Penelope", "lastname"=>"Larkin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4311ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1669ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061c925735337650660000'), "firstname"=>"Frida", "lastname"=>"Hilpert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3835ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1839ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53061c925735337650660000"}
Completed 500 Internal Server Error in 0ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061c925735337650670000'), "firstname"=>"Americo", "lastname"=>"Lebsack"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3586ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53061c925735337650670000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061c925735337650680000'), "firstname"=>"Monica", "lastname"=>"West"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3451ms
Processing by UsersController#index as HTML
Completed 500 Internal Server Error in 0ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061c925735337650690000'), "firstname"=>"Laurie", "lastname"=>"Strosin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3806ms
Processing by UsersController#new as HTML
Completed 500 Internal Server Error in 0ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061c9257353376506a0000'), "firstname"=>"Melvina", "lastname"=>"Simonis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4544ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53061c9257353376506a0000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061c9257353376506b0000'), "firstname"=>"Kaleb", "lastname"=>"Hyatt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3462ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061c9257353376506b0000"}
Completed 500 Internal Server Error in 0ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6370ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2771ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4051ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2709ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2664ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2507ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b000000'), "firstname"=>"Geovany", "lastname"=>"Cole"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4478ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1801ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b010000'), "firstname"=>"Amy", "lastname"=>"Senger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3995ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"53061cb6573533767b010000"}
Completed 500 Internal Server Error in 0ms
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b020000'), "firstname"=>"Esther", "lastname"=>"Robel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3547ms
Processing by Admin::AdministratorsController#new as HTML
Completed 500 Internal Server Error in 0ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b030000'), "firstname"=>"Piper", "lastname"=>"Kilback"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3339ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"53061cb6573533767b030000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b040000'), "firstname"=>"Benjamin", "lastname"=>"Hermiston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"53061cb6573533767b040000", "administrator"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b050000'), "name"=>"Ms. Leonora Mueller", "reference"=>"Kay Schuster", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061cb6573533767b060000'), "author_name"=>"Georgette Walker", "content"=>["Pariatur nemo velit. Ut in amet qui quis molestiae. Omnis dolorem eligendi. Velit atque magnam vel in nihil a. Rerum non quo commodi ullam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4676ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2022ms
Processing by Admin::CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061cb6573533767b050000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3263ms
Completed 500 Internal Server Error in 2ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b070000'), "name"=>"Mikel Durgan", "reference"=>"Keaton Little", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53061cb6573533767b080000'), "author_name"=>"Jared O'Reilly DDS", "content"=>["Vel repudiandae maiores eius commodi itaque autem. Consectetur aut animi enim rerum ut quia inventore. Rerum enim illo qui quo excepturi a. Possimus fugit vitae."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4298ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2012ms
Processing by Admin::CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061cb6573533767b070000", "id"=>"53061cb6573533767b080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3012ms
Completed 500 Internal Server Error in 1ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b090000'), "name"=>"Cedrick Walsh", "reference"=>"Garth West", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53061cb6573533767b0a0000'), "author_name"=>"Mrs. Royce Jacobi", "content"=>["Dolorem libero et exercitationem optio aut. Aut quisquam voluptas a soluta modi nobis sint. Nobis aut vel. Itaque voluptates eum hic pariatur."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms
Processing by Admin::CommentsController#edit as HTML
Parameters: {"product_id"=>"53061cb6573533767b090000", "id"=>"53061cb6573533767b0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4174ms
Completed 500 Internal Server Error in 2ms
----------------------------------------------------
Admin::CommentsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b0b0000'), "name"=>"Dillan Hettinger", "reference"=>"Tyreek McDermott PhD", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53061cb6573533767b0c0000'), "author_name"=>"Ms. Adalberto Hessel", "content"=>["Facilis quam corporis aperiam. Distinctio nihil repudiandae laudantium quo. Labore eos nobis. Odit sit quas."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5381ms
Processing by Admin::CommentsController#index as HTML
Parameters: {"product_id"=>"53061cb6573533767b0b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4479ms
Completed 500 Internal Server Error in 2ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b0d0000'), "name"=>"Roslyn Conn", "reference"=>"Bridgette Hills", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53061cb6573533767b0e0000'), "author_name"=>"Rosalee Vandervort", "content"=>["Modi totam nobis nulla laudantium id maiores et. Quia voluptatem autem. Nihil deserunt mollitia. Voluptatem dolor qui dolorem. Rerum culpa cumque."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6115ms
Processing by Admin::CommentsController#new as HTML
Parameters: {"product_id"=>"53061cb6573533767b0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4639ms
Completed 500 Internal Server Error in 2ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b0f0000'), "name"=>"Cicero Larson", "reference"=>"Paige Russel", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53061cb6573533767b100000'), "author_name"=>"Ward Kassulke", "content"=>["Repellendus porro dolorum ut facere rerum similique. Eligendi delectus quis blanditiis. Officia deserunt non et vel cumque. Magni eos excepturi sequi et error. Unde veritatis aliquid est nihil voluptates voluptatem."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4860ms
Processing by Admin::CommentsController#show as HTML
Parameters: {"product_id"=>"53061cb6573533767b0f0000", "id"=>"53061cb6573533767b100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3229ms
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b110000'), "name"=>"Mathias DuBuque", "reference"=>"Adella Hamill", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061cb6573533767b120000'), "author_name"=>"Mabel Torphy II", "content"=>["Temporibus minima totam consequatur aut aut. Recusandae at mollitia. Neque consequuntur minima. Sunt officia minus deleniti enim. Sint non dolorem."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3787ms
Processing by Admin::CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061cb6573533767b120000", "product_id"=>"53061cb6573533767b110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3099ms
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b130000'), "name"=>"Tate Tillman", "reference"=>"Rosendo Emard MD", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53061cb6573533767b140000'), "firstname"=>"Cleve", "lastname"=>"Lockman"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7162ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061cb6573533767b130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3135ms
Completed 500 Internal Server Error in 2ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b150000'), "name"=>"Manley Purdy", "reference"=>"Riley Rowe DVM", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53061cb6573533767b160000'), "firstname"=>"Keara", "lastname"=>"Grant"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"53061cb6573533767b160000", "product_id"=>"53061cb6573533767b150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2777ms
Completed 500 Internal Server Error in 1ms
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b170000'), "name"=>"Terry Leuschke", "reference"=>"Valerie Ankunding", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53061cb6573533767b180000'), "firstname"=>"Jaime", "lastname"=>"Shanahan"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3251ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"53061cb6573533767b170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2926ms
Completed 500 Internal Server Error in 1ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b190000'), "name"=>"Kathryn Bahringer", "reference"=>"Lukas Koch", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53061cb6573533767b1a0000'), "firstname"=>"Rogers", "lastname"=>"Prosacco"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"53061cb6573533767b1a0000", "product_id"=>"53061cb6573533767b190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2513ms
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b1b0000'), "name"=>"Myles Blick", "reference"=>"Boyd Kihn", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53061cb6573533767b1c0000'), "firstname"=>"Chelsea", "lastname"=>"Torphy"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2974ms
Processing by Admin::ManagersController#update as HTML
Parameters: {"id"=>"53061cb6573533767b1c0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061cb6573533767b1b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b1b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b1d0000'), "name"=>"Sallie Romaguera", "reference"=>"Gwendolyn Lemke", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4878ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1961ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b1e0000'), "name"=>"Tyrell West", "reference"=>"Dr. Efren Bergnaum", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4394ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2299ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53061cb6573533767b1e0000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b1f0000'), "name"=>"Una Sporer", "reference"=>"Tierra Gorczany", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4399ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53061cb6573533767b1f0000"}
Completed 500 Internal Server Error in 0ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b200000'), "name"=>"Grady Leuschke", "reference"=>"Daphney Wilderman", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5055ms
Processing by Admin::ProductsController#index as HTML
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b210000'), "name"=>"Mrs. Shanelle Hahn", "reference"=>"Monserrate Padberg", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4328ms
Processing by Admin::ProductsController#new as HTML
Completed 500 Internal Server Error in 0ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b220000'), "name"=>"Jakayla Hand", "reference"=>"Emery Auer", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4085ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53061cb6573533767b220000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b230000'), "name"=>"Zella Beer", "reference"=>"Dana Leffler MD", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4045ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061cb6573533767b230000"}
Completed 500 Internal Server Error in 0ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b240000'), "firstname"=>"Nico", "lastname"=>"Satterfield"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2886ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3268ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b250000'), "firstname"=>"Jaime", "lastname"=>"O'Hara"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4809ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2312ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53061cb6573533767b250000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b260000'), "firstname"=>"Fausto", "lastname"=>"Pouros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4087ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53061cb6573533767b260000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b270000'), "firstname"=>"Cindy", "lastname"=>"Langosh"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms
Processing by Admin::UsersController#index as HTML
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b280000'), "firstname"=>"Heather", "lastname"=>"Lang"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms
Processing by Admin::UsersController#new as HTML
Completed 500 Internal Server Error in 0ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b290000'), "firstname"=>"Amina", "lastname"=>"Schneider"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3812ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53061cb6573533767b290000"}
Completed 500 Internal Server Error in 0ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b2a0000'), "firstname"=>"Mavis", "lastname"=>"Tromp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3349ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061cb6573533767b2a0000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b2b0000'), "firstname"=>"Leonor", "lastname"=>"Murazik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4967ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2819ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b2c0000'), "firstname"=>"Maxine", "lastname"=>"Gutmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"53061cb6573533767b2c0000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b2d0000'), "firstname"=>"Hadley", "lastname"=>"Balistreri"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms
Processing by AdministratorsController#new as HTML
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b2e0000'), "firstname"=>"Maximillia", "lastname"=>"Smitham"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3703ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"53061cb6573533767b2e0000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b2f0000'), "firstname"=>"Otha", "lastname"=>"Champlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3333ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"53061cb6573533767b2f0000", "administrator"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b300000'), "name"=>"Dorthy Goyette", "reference"=>"Roberta Howe", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53061cb6573533767b310000'), "author_name"=>"Jayde Jenkins", "content"=>["Tempore quam quis. Id aliquam vel ad modi illum. Vero voluptatem qui eligendi quia est."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4472ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2269ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061cb6573533767b300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4085ms
Completed 500 Internal Server Error in 2ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b320000'), "name"=>"Michaela Towne III", "reference"=>"Marquis Lemke", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061cb6573533767b330000'), "author_name"=>"Colleen Bins III", "content"=>["Et quibusdam qui. Vel aliquam dolor quidem id illo. Vero tenetur possimus doloribus est ratione itaque non. Et quas ab labore consequatur quis doloribus officiis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1832ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061cb6573533767b320000", "id"=>"53061cb6573533767b330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2613ms
Completed 500 Internal Server Error in 1ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b340000'), "name"=>"Frederik Reinger", "reference"=>"Dane Beahan", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53061cb6573533767b350000'), "author_name"=>"Curt Breitenberg", "content"=>["Quae architecto aliquam odio molestias. Totam dolores molestiae magnam repellat aperiam est. Earum est ex."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7201ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"53061cb6573533767b340000", "id"=>"53061cb6573533767b350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2951ms
Completed 500 Internal Server Error in 1ms
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b360000'), "name"=>"Carter Hahn", "reference"=>"Keyon Witting", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53061cb6573533767b370000'), "author_name"=>"Addie Becker MD", "content"=>["Architecto velit sit. Similique nihil quo. Praesentium sed magni id ut."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3396ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"53061cb6573533767b360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2801ms
Completed 500 Internal Server Error in 1ms
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b380000'), "name"=>"Abigayle Mann", "reference"=>"Suzanne Schultz", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53061cb6573533767b390000'), "author_name"=>"Hipolito Kulas", "content"=>["Quod commodi soluta quo impedit. In molestiae vel alias. Voluptatibus vel quae atque fugiat maxime quas. Recusandae doloremque repellat fugiat."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"53061cb6573533767b380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4210ms
Completed 500 Internal Server Error in 2ms
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b3a0000'), "name"=>"Gay Feil", "reference"=>"Ms. Arvid McKenzie", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53061cb6573533767b3b0000'), "author_name"=>"Morris Goodwin", "content"=>["Sit nisi inventore. Officia nam ratione cumque. Incidunt itaque neque a nihil."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4031ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"53061cb6573533767b3a0000", "id"=>"53061cb6573533767b3b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2693ms
Completed 500 Internal Server Error in 1ms
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b3c0000'), "name"=>"Hillary Kertzmann", "reference"=>"Noble Weissnat DVM", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53061cb6573533767b3d0000'), "author_name"=>"Mr. Palma Heathcote", "content"=>["Ea sed eaque vero consectetur. Veniam nisi et veritatis rerum et officia unde. Sint dicta optio quibusdam. Deleniti rerum quibusdam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3722ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061cb6573533767b3d0000", "product_id"=>"53061cb6573533767b3c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2900ms
Completed 500 Internal Server Error in 1ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b3e0000'), "firstname"=>"Sam", "lastname"=>"Bernhard"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4596ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2234ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b3f0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3734ms
Redirected to http://test.host/admin/clients/53061cb6573533767b3f0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2485ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b400000'), "firstname"=>"Francesca", "lastname"=>"Halvorson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3644ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2228ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061cb6573533767b400000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061cb6573533767b400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2923ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061cb6573533767b400000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3476ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2269ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b410000'), "firstname"=>"Silas", "lastname"=>"Howell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2604ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061cb6573533767b410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061cb6573533767b410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2367ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.9ms)
Completed 200 OK in 53ms (Views: 52.1ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b420000'), "firstname"=>"Bailey", "lastname"=>"Rohan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4627ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3743ms
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b430000'), "firstname"=>"Maci", "lastname"=>"Block"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4264ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 6.1ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b440000'), "firstname"=>"Brock", "lastname"=>"Johnson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4396ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061cb6573533767b440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061cb6573533767b440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2476ms
Completed 200 OK in 6ms (Views: 4.3ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b450000'), "firstname"=>"Melany", "lastname"=>"Gislason"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4100ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061cb6573533767b450000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061cb6573533767b450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2533ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061cb6573533767b450000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3187ms
Redirected to http://test.host/admin/clients/53061cb6573533767b450000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b460000'), "firstname"=>"Nigel", "lastname"=>"Luettgen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2940ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1749ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b470000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3021ms
Redirected to http://test.host/clients/53061cb6573533767b470000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1846ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b480000'), "firstname"=>"Maxie", "lastname"=>"Ankunding"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2308ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1686ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061cb6573533767b480000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061cb6573533767b480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2385ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061cb6573533767b480000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2604ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1804ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b490000'), "firstname"=>"Reese", "lastname"=>"Bode"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2394ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061cb6573533767b490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061cb6573533767b490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2856ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.5ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b4a0000'), "firstname"=>"Bernardo", "lastname"=>"Ziemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3824ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3658ms
Completed 200 OK in 10ms (Views: 9.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b4b0000'), "firstname"=>"Oliver", "lastname"=>"Grant"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4234ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.1ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b4c0000'), "firstname"=>"Laurianne", "lastname"=>"Wilkinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4369ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061cb6573533767b4c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061cb6573533767b4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b4d0000'), "firstname"=>"Clovis", "lastname"=>"Wolf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3449ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061cb6573533767b4d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061cb6573533767b4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2645ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061cb6573533767b4d0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2860ms
Redirected to http://test.host/clients/53061cb6573533767b4d0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b4e0000'), "name"=>"Nikko Casper III", "reference"=>"Leonardo Kovacek", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061cb6573533767b4f0000'), "firstname"=>"Camren", "lastname"=>"Herman"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4325ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061cb6573533767b4e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3022ms
Completed 500 Internal Server Error in 2ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b500000'), "name"=>"Kiel Borer", "reference"=>"Leland Crooks", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53061cb6573533767b510000'), "firstname"=>"Nola", "lastname"=>"Heathcote"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4807ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"53061cb6573533767b510000", "product_id"=>"53061cb6573533767b500000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3610ms
Completed 500 Internal Server Error in 1ms
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b520000'), "name"=>"Jedediah Johns MD", "reference"=>"Skylar Hintz", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53061cb6573533767b530000'), "firstname"=>"Ona", "lastname"=>"Mertz"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3398ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"53061cb6573533767b520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2677ms
Completed 500 Internal Server Error in 1ms
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b540000'), "name"=>"Marisol Leffler", "reference"=>"Alysha Jakubowski", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53061cb6573533767b550000'), "firstname"=>"Timmothy", "lastname"=>"Brekke"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3291ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"53061cb6573533767b550000", "product_id"=>"53061cb6573533767b540000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms
Completed 500 Internal Server Error in 1ms
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b560000'), "name"=>"Shanie Weimann DDS", "reference"=>"Mr. Clark Koepp", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53061cb6573533767b570000'), "firstname"=>"Brandyn", "lastname"=>"Gorczany"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3161ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"53061cb6573533767b570000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061cb6573533767b560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cb6573533767b560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2706ms
Completed 500 Internal Server Error in 1ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b580000'), "name"=>"Alysha Rau PhD", "reference"=>"Marcia Cassin", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4186ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1692ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b590000'), "name"=>"Zion Zboncak", "reference"=>"Johan Donnelly", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4655ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1945ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53061cb6573533767b590000"}
Completed 500 Internal Server Error in 0ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b5a0000'), "name"=>"Rogers Blanda", "reference"=>"Faustino Von", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3925ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53061cb6573533767b5a0000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b5b0000'), "name"=>"Hillard Kihn", "reference"=>"Trent Pollich", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3965ms
Processing by ProductsController#index as HTML
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b5c0000'), "name"=>"Marietta Bashirian", "reference"=>"Laverne Pfeffer", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms
Processing by ProductsController#index as JSON
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b5d0000'), "name"=>"Dr. Guy Anderson", "reference"=>"Carmela Schumm", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.1077ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53061cb6573533767b5d0000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b5e0000'), "name"=>"Miss Bertrand Thiel", "reference"=>"Joannie O'Kon", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5205ms
Processing by ProductsController#new as HTML
Completed 500 Internal Server Error in 0ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b5f0000'), "name"=>"Neha Metz", "reference"=>"Ken Mayer", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4862ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53061cb6573533767b5f0000"}
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b600000'), "name"=>"Abraham Gislason", "reference"=>"Marcella Littel", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3973ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1812ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b610000'), "name"=>"Dell Pfeffer", "reference"=>"Jonathan Klocko", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3639ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53061cb6573533767b610000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b620000'), "name"=>"Dr. Shaniya Rosenbaum", "reference"=>"Jackie Shanahan", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4170ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b630000'), "name"=>"Miss Alena Kunze", "reference"=>"Shirley Weimann", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4122ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061cb6573533767b630000"}
Completed 500 Internal Server Error in 2ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b640000'), "name"=>"Harley Leannon", "reference"=>"Miss Tiffany Torphy", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061cb6573533767b640000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b650000'), "firstname"=>"Easton", "lastname"=>"Schumm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4573ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2096ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b660000'), "firstname"=>"Charley", "lastname"=>"Hahn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3971ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2028ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53061cb6573533767b660000"}
Completed 500 Internal Server Error in 0ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b670000'), "firstname"=>"Maiya", "lastname"=>"Jenkins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3574ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53061cb6573533767b670000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b680000'), "firstname"=>"Francesca", "lastname"=>"Deckow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3396ms
Processing by UsersController#index as HTML
Completed 500 Internal Server Error in 0ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b690000'), "firstname"=>"Zachery", "lastname"=>"O'Reilly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3452ms
Processing by UsersController#new as HTML
Completed 500 Internal Server Error in 0ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b6a0000'), "firstname"=>"Betty", "lastname"=>"MacGyver"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4459ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53061cb6573533767b6a0000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061cb6573533767b6b0000'), "firstname"=>"Roselyn", "lastname"=>"Ondricka"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3448ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061cb6573533767b6b0000"}
Completed 500 Internal Server Error in 0ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6469ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3196ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4533ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2480ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2576ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2253ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6000000'), "firstname"=>"Mylene", "lastname"=>"Breitenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4426ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1803ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6010000'), "firstname"=>"Carmella", "lastname"=>"Bahringer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3947ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"53061ce157353376a6010000"}
Completed 500 Internal Server Error in 0ms
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6020000'), "firstname"=>"Favian", "lastname"=>"Morissette"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3448ms
Processing by Admin::AdministratorsController#new as HTML
Completed 500 Internal Server Error in 0ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6030000'), "firstname"=>"Pierce", "lastname"=>"Schuppe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3363ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"53061ce157353376a6030000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6040000'), "firstname"=>"Augustine", "lastname"=>"Zboncak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3554ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"53061ce157353376a6040000", "administrator"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6050000'), "name"=>"Suzanne Douglas", "reference"=>"Dr. Robb Towne", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53061ce157353376a6060000'), "author_name"=>"Timmy Toy III", "content"=>["In in eum. Temporibus aut non itaque ab eligendi neque. Officia esse impedit maiores non odio suscipit. Et sed eum voluptatem. Illo qui odit."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4704ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a6050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2116ms
Processing by Admin::CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061ce157353376a6050000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a6050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3244ms
Completed 500 Internal Server Error in 1ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6070000'), "name"=>"Kathryn Haley", "reference"=>"Gilberto Wisozk II", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53061ce157353376a6080000'), "author_name"=>"Sandrine Ankunding", "content"=>["Ea vitae cum sit id molestiae animi nemo. Rerum earum corporis consequatur nemo et illo repudiandae. Qui ratione porro."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4365ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a6070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms
Processing by Admin::CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061ce157353376a6070000", "id"=>"53061ce157353376a6080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a6070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3086ms
Completed 500 Internal Server Error in 1ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6090000'), "name"=>"Mrs. Kyle Maggio", "reference"=>"Camryn Ebert", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53061ce157353376a60a0000'), "author_name"=>"Alysha Hintz", "content"=>["Aut doloremque temporibus tenetur et dolore minima id. Soluta cum laboriosam sed fuga alias non laudantium. Voluptatibus reprehenderit sunt tempora libero. Voluptatem quam iusto rerum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3825ms
Processing by Admin::CommentsController#edit as HTML
Parameters: {"product_id"=>"53061ce157353376a6090000", "id"=>"53061ce157353376a60a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a6090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3171ms
Completed 500 Internal Server Error in 1ms
----------------------------------------------------
Admin::CommentsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a60b0000'), "name"=>"Isabell Mueller", "reference"=>"Donna Wolff PhD", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061ce157353376a60c0000'), "author_name"=>"Myrna Kihn", "content"=>["Aliquam eum ut quia corporis fugiat. Et consequuntur commodi. Animi quidem enim voluptatem eum natus quo rerum. Unde quia tempora assumenda ut."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3748ms
Processing by Admin::CommentsController#index as HTML
Parameters: {"product_id"=>"53061ce157353376a60b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a60b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3181ms
Completed 500 Internal Server Error in 1ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a60d0000'), "name"=>"Mallory Feest", "reference"=>"Marielle Medhurst", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53061ce157353376a60e0000'), "author_name"=>"Mr. Winnifred Cole", "content"=>["Autem rem assumenda. Eos est est enim dolorum rerum incidunt eos. Iure ea saepe."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3315ms
Processing by Admin::CommentsController#new as HTML
Parameters: {"product_id"=>"53061ce157353376a60d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a60d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2718ms
Completed 500 Internal Server Error in 1ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a60f0000'), "name"=>"Oswaldo Kuhn", "reference"=>"Josiane Crist Jr.", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53061ce157353376a6100000'), "author_name"=>"Joyce McGlynn", "content"=>["Delectus voluptas quo reprehenderit ea. Cupiditate et laborum nostrum possimus nam eius. Unde laboriosam impedit consectetur itaque et exercitationem aut. Aut deleniti nobis autem quo et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7702ms
Processing by Admin::CommentsController#show as HTML
Parameters: {"product_id"=>"53061ce157353376a60f0000", "id"=>"53061ce157353376a6100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a60f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3513ms
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6110000'), "name"=>"Humberto Beatty", "reference"=>"Ms. Ryleigh Little", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061ce157353376a6120000'), "author_name"=>"Vernie Schiller", "content"=>["Aut reprehenderit laborum voluptatem nisi cupiditate voluptatem. Dolorum nihil omnis necessitatibus et quaerat. Et corporis ad. Debitis molestiae officia est pariatur. Sed cupiditate quasi aut officiis quibusdam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4203ms
Processing by Admin::CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061ce157353376a6120000", "product_id"=>"53061ce157353376a6110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a6110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3181ms
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6130000'), "name"=>"Gayle Prosacco", "reference"=>"Marjory Russel", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53061ce157353376a6140000'), "firstname"=>"Dino", "lastname"=>"Haley"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4421ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061ce157353376a6130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a6130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3120ms
Completed 500 Internal Server Error in 2ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6150000'), "name"=>"Royal Bogan", "reference"=>"Gennaro Gerlach", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061ce157353376a6160000'), "firstname"=>"Gia", "lastname"=>"Wisozk"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3872ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"53061ce157353376a6160000", "product_id"=>"53061ce157353376a6150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a6150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2645ms
Completed 500 Internal Server Error in 1ms
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6170000'), "name"=>"Palma Runolfsson Sr.", "reference"=>"Clarissa Lemke II", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53061ce157353376a6180000'), "firstname"=>"Clay", "lastname"=>"Schultz"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3222ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"53061ce157353376a6170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a6170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2630ms
Completed 500 Internal Server Error in 1ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6190000'), "name"=>"Kevin Kuhlman", "reference"=>"Van Ward", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061ce157353376a61a0000'), "firstname"=>"Elna", "lastname"=>"Baumbach"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3770ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"53061ce157353376a61a0000", "product_id"=>"53061ce157353376a6190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a6190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3787ms
Completed 500 Internal Server Error in 2ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a61b0000'), "name"=>"Camryn Metz", "reference"=>"Ellis Gorczany", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53061ce157353376a61c0000'), "firstname"=>"Naomie", "lastname"=>"Lynch"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3742ms
Processing by Admin::ManagersController#update as HTML
Parameters: {"id"=>"53061ce157353376a61c0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061ce157353376a61b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a61b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2817ms
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a61d0000'), "name"=>"Rex Reinger", "reference"=>"Ariane Douglas V", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4510ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2277ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a61e0000'), "name"=>"Dr. Gregoria Graham", "reference"=>"Mr. Leonardo Kunde", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3305ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2282ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53061ce157353376a61e0000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a61f0000'), "name"=>"Scotty Kub", "reference"=>"Sam Fahey II", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4313ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53061ce157353376a61f0000"}
Completed 500 Internal Server Error in 0ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6200000'), "name"=>"Daisha Parker", "reference"=>"Gustave Rath", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4993ms
Processing by Admin::ProductsController#index as HTML
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6210000'), "name"=>"Jett Leuschke DVM", "reference"=>"Fatima Waelchi", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4128ms
Processing by Admin::ProductsController#new as HTML
Completed 500 Internal Server Error in 0ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6220000'), "name"=>"Mrs. Angie Greenholt", "reference"=>"Janie O'Keefe", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3892ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53061ce157353376a6220000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6230000'), "name"=>"Dr. Ottis Reinger", "reference"=>"Miss Paris Mertz", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3553ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061ce157353376a6230000"}
Completed 500 Internal Server Error in 0ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6240000'), "firstname"=>"Franco", "lastname"=>"Daugherty"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4105ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2469ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6250000'), "firstname"=>"Ashlee", "lastname"=>"Daniel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4077ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2107ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53061ce157353376a6250000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6260000'), "firstname"=>"Jonatan", "lastname"=>"Daniel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53061ce157353376a6260000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6270000'), "firstname"=>"Shanny", "lastname"=>"Swaniawski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3545ms
Processing by Admin::UsersController#index as HTML
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6280000'), "firstname"=>"Louie", "lastname"=>"Stroman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3312ms
Processing by Admin::UsersController#new as HTML
Completed 500 Internal Server Error in 0ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6290000'), "firstname"=>"Anderson", "lastname"=>"Abernathy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3340ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53061ce157353376a6290000"}
Completed 500 Internal Server Error in 0ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ce157353376a62a0000'), "firstname"=>"Cassandre", "lastname"=>"Stehr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3305ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061ce157353376a62a0000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ce157353376a62b0000'), "firstname"=>"Rhianna", "lastname"=>"Mertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3998ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1791ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ce157353376a62c0000'), "firstname"=>"Ursula", "lastname"=>"Gibson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"53061ce157353376a62c0000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ce157353376a62d0000'), "firstname"=>"Lulu", "lastname"=>"Schumm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms
Processing by AdministratorsController#new as HTML
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ce157353376a62e0000'), "firstname"=>"Wilfrid", "lastname"=>"Hauck"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3518ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"53061ce157353376a62e0000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061ce157353376a62f0000'), "firstname"=>"Agnes", "lastname"=>"Macejkovic"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3455ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"53061ce157353376a62f0000", "administrator"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6300000'), "name"=>"Caleigh Konopelski", "reference"=>"Jedidiah Johns III", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53061ce157353376a6310000'), "author_name"=>"Camylle Hammes", "content"=>["Nobis dolor perspiciatis reprehenderit et et labore. Et deleniti quibusdam eos et a. Animi quod fugit ut velit. Sed optio sunt beatae praesentium. Eos distinctio enim."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4794ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a6300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1773ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061ce157353376a6300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a6300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3032ms
Completed 500 Internal Server Error in 2ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6320000'), "name"=>"Devonte Bernhard", "reference"=>"Maxine Connelly", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061ce157353376a6330000'), "author_name"=>"Luigi Champlin PhD", "content"=>["Labore quisquam voluptatem cum aliquam. Omnis quis qui rem est doloribus ipsum molestiae. Nemo ipsum ut veniam voluptatem et ab."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4569ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a6320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3593ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061ce157353376a6320000", "id"=>"53061ce157353376a6330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a6320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4124ms
Completed 500 Internal Server Error in 2ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6340000'), "name"=>"Miss Santina Watsica", "reference"=>"Lula Schoen", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53061ce157353376a6350000'), "author_name"=>"Mr. Rosemary Trantow", "content"=>["Debitis est nisi nihil. Odit dolorum rerum enim libero. Deleniti voluptatum atque minima nesciunt maiores. Maiores non numquam voluptas. Sit quidem aut odio ullam et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"53061ce157353376a6340000", "id"=>"53061ce157353376a6350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a6340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3123ms
Completed 500 Internal Server Error in 1ms
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6360000'), "name"=>"Antonette Nolan I", "reference"=>"Darrell Murray DVM", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53061ce157353376a6370000'), "author_name"=>"Mrs. Rylan O'Connell", "content"=>["Et aut reiciendis. Sit iusto architecto consequatur dolores blanditiis. Mollitia itaque adipisci est autem minima. A corporis sint architecto neque praesentium saepe qui. Fugiat sit velit adipisci ipsa."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3494ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"53061ce157353376a6360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a6360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2732ms
Completed 500 Internal Server Error in 1ms
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6380000'), "name"=>"Jacky Waelchi", "reference"=>"Eldon Quitzon", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53061ce157353376a6390000'), "author_name"=>"Mr. Bridie Weber", "content"=>["Ab maxime aut vitae totam at. Veritatis repudiandae praesentium est magnam voluptatem odio. Reprehenderit sit voluptas. Ea rerum velit porro cum. Vel reprehenderit iste sed eum at impedit."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3307ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"53061ce157353376a6380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a6380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms
Completed 500 Internal Server Error in 1ms
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a63a0000'), "name"=>"Margaretta Murray PhD", "reference"=>"Waldo Sauer", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53061ce157353376a63b0000'), "author_name"=>"Dr. Isadore Walsh", "content"=>["Esse quia omnis et reprehenderit architecto a. Debitis hic a placeat consequuntur. Consectetur iste illo exercitationem aut possimus. Exercitationem sequi consequatur quod non velit corrupti earum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3363ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"53061ce157353376a63a0000", "id"=>"53061ce157353376a63b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a63a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3111ms
Completed 500 Internal Server Error in 1ms
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a63c0000'), "name"=>"Madonna Grimes", "reference"=>"Darian Fisher", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53061ce157353376a63d0000'), "author_name"=>"Delta Cormier", "content"=>["Error excepturi id possimus est animi dolores eligendi. Quasi dolorem et enim. Consectetur qui quibusdam odit repudiandae ipsum similique."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4158ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061ce157353376a63d0000", "product_id"=>"53061ce157353376a63c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a63c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3064ms
Completed 500 Internal Server Error in 1ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ce157353376a63e0000'), "firstname"=>"Jamison", "lastname"=>"Legros"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4324ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1775ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ce157353376a63f0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4368ms
Redirected to http://test.host/admin/clients/53061ce157353376a63f0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2186ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6400000'), "firstname"=>"Mekhi", "lastname"=>"Bahringer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3637ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2205ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061ce157353376a6400000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061ce157353376a6400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2987ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061ce157353376a6400000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3492ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1939ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6410000'), "firstname"=>"Kennith", "lastname"=>"Lebsack"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2513ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061ce157353376a6410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061ce157353376a6410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2441ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.4ms)
Completed 200 OK in 55ms (Views: 53.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6420000'), "firstname"=>"Wilhelm", "lastname"=>"Stoltenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4722ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3377ms
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6430000'), "firstname"=>"Annetta", "lastname"=>"Crist"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4288ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 6.3ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6440000'), "firstname"=>"Deangelo", "lastname"=>"Pollich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4318ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061ce157353376a6440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061ce157353376a6440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2569ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6450000'), "firstname"=>"Danial", "lastname"=>"Hodkiewicz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3896ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061ce157353376a6450000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061ce157353376a6450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2529ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061ce157353376a6450000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3161ms
Redirected to http://test.host/admin/clients/53061ce157353376a6450000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6460000'), "firstname"=>"Queen", "lastname"=>"Schulist"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2720ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1774ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6470000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2992ms
Redirected to http://test.host/clients/53061ce157353376a6470000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1965ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6480000'), "firstname"=>"Juana", "lastname"=>"Wyman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2323ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1699ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061ce157353376a6480000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061ce157353376a6480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2399ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061ce157353376a6480000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2577ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1809ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6490000'), "firstname"=>"Elvera", "lastname"=>"Bins"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2755ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061ce157353376a6490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061ce157353376a6490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3911ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.3ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ce157353376a64a0000'), "firstname"=>"Kailyn", "lastname"=>"Weimann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3751ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3594ms
Completed 200 OK in 10ms (Views: 9.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ce157353376a64b0000'), "firstname"=>"Ericka", "lastname"=>"Kemmer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4371ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 6ms (Views: 5.3ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ce157353376a64c0000'), "firstname"=>"Isabell", "lastname"=>"Durgan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4398ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061ce157353376a64c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061ce157353376a64c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2663ms
Completed 200 OK in 5ms (Views: 3.3ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061ce157353376a64d0000'), "firstname"=>"Ernestine", "lastname"=>"Frami"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3463ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061ce157353376a64d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061ce157353376a64d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2658ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061ce157353376a64d0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2802ms
Redirected to http://test.host/clients/53061ce157353376a64d0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a64e0000'), "name"=>"Ari Braun", "reference"=>"Lia Nitzsche", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53061ce157353376a64f0000'), "firstname"=>"Jeromy", "lastname"=>"Kuphal"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4253ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061ce157353376a64e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a64e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3208ms
Completed 500 Internal Server Error in 2ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6500000'), "name"=>"Loraine Willms", "reference"=>"Xander Pacocha", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53061ce157353376a6510000'), "firstname"=>"Philip", "lastname"=>"Kirlin"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4638ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"53061ce157353376a6510000", "product_id"=>"53061ce157353376a6500000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a6500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2787ms
Completed 500 Internal Server Error in 1ms
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6520000'), "name"=>"Zora Bergnaum", "reference"=>"Emilia Bosco", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061ce157353376a6530000'), "firstname"=>"Johnny", "lastname"=>"Brakus"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3270ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"53061ce157353376a6520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a6520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2753ms
Completed 500 Internal Server Error in 1ms
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6540000'), "name"=>"Dylan Hamill", "reference"=>"Dr. Rylee Bartell", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53061ce157353376a6550000'), "firstname"=>"Myriam", "lastname"=>"Kovacek"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3162ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"53061ce157353376a6550000", "product_id"=>"53061ce157353376a6540000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a6540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2772ms
Completed 500 Internal Server Error in 1ms
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6560000'), "name"=>"Mr. Ayden Metz", "reference"=>"Jesus Kuhn DVM", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53061ce157353376a6570000'), "firstname"=>"Avery", "lastname"=>"Koch"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.3579ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"53061ce157353376a6570000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061ce157353376a6560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061ce157353376a6560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2687ms
Completed 500 Internal Server Error in 1ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6580000'), "name"=>"Adonis Rolfson", "reference"=>"Mr. Cristian Hills", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4848ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1881ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6590000'), "name"=>"Johnny Brakus", "reference"=>"Colt Hansen PhD", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3752ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1929ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53061ce157353376a6590000"}
Completed 500 Internal Server Error in 0ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a65a0000'), "name"=>"Ellie Waelchi", "reference"=>"Mrs. Liliane Hackett", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3627ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53061ce157353376a65a0000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a65b0000'), "name"=>"Chet Denesik", "reference"=>"Green Heathcote", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3505ms
Processing by ProductsController#index as HTML
Completed 500 Internal Server Error in 0ms
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a65c0000'), "name"=>"Winifred Smitham", "reference"=>"Jeanette Skiles", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3537ms
Processing by ProductsController#index as JSON
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a65d0000'), "name"=>"Reva Auer", "reference"=>"Verner Kub", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3702ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53061ce157353376a65d0000"}
Completed 500 Internal Server Error in 0ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a65e0000'), "name"=>"Mrs. Eloise McKenzie", "reference"=>"Miss Katheryn Funk", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3868ms
Processing by ProductsController#new as HTML
Completed 500 Internal Server Error in 0ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a65f0000'), "name"=>"Letha DuBuque", "reference"=>"Ms. Dario Legros", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4586ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53061ce157353376a65f0000"}
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6600000'), "name"=>"Dr. Donny Price", "reference"=>"Jessy Kassulke", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3594ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1789ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 0ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6610000'), "name"=>"Geoffrey Corwin DDS", "reference"=>"Sylvester O'Keefe", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3527ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53061ce157353376a6610000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6620000'), "name"=>"Llewellyn Pacocha", "reference"=>"Brionna Monahan", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3515ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 500 Internal Server Error in 0ms
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6630000'), "name"=>"Elfrieda Borer", "reference"=>"Sydnee Hamill", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3614ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061ce157353376a6630000"}
Completed 500 Internal Server Error in 31ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061ce157353376a6640000'), "name"=>"Isabella Klein III", "reference"=>"Miss Krystel Feeney", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4332ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061ce157353376a6640000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ce257353376a6650000'), "firstname"=>"Rupert", "lastname"=>"Robel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.0548ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1893ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ce257353376a6660000'), "firstname"=>"Fredrick", "lastname"=>"Greenholt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3734ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1845ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53061ce257353376a6660000"}
Completed 500 Internal Server Error in 0ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ce257353376a6670000'), "firstname"=>"Eudora", "lastname"=>"Schamberger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3581ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53061ce257353376a6670000"}
Completed 500 Internal Server Error in 0ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ce257353376a6680000'), "firstname"=>"Tracey", "lastname"=>"Torp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3619ms
Processing by UsersController#index as HTML
Completed 500 Internal Server Error in 0ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ce257353376a6690000'), "firstname"=>"Jerrell", "lastname"=>"Kohler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3347ms
Processing by UsersController#new as HTML
Completed 500 Internal Server Error in 0ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ce257353376a66a0000'), "firstname"=>"Estrella", "lastname"=>"Block"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3417ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53061ce257353376a66a0000"}
Completed 500 Internal Server Error in 0ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061ce257353376a66b0000'), "firstname"=>"Lucy", "lastname"=>"Bergnaum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4526ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061ce257353376a66b0000"}
Completed 500 Internal Server Error in 0ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6948ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3205ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4927ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3197ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3195ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3028ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061cec57353376d1000000'), "firstname"=>"Cathy", "lastname"=>"Zboncak"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4495ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1810ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 14658ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061cfb57353376d1010000'), "firstname"=>"Davin", "lastname"=>"Carter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4474ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"53061cfb57353376d1010000"}
Completed 500 Internal Server Error in 1739ms
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061cfc57353376d1020000'), "firstname"=>"Syble", "lastname"=>"Hilpert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4788ms
Processing by Admin::AdministratorsController#new as HTML
Completed 500 Internal Server Error in 88ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061cfc57353376d1030000'), "firstname"=>"Weldon", "lastname"=>"Murazik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4283ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"53061cfc57353376d1030000"}
Completed 500 Internal Server Error in 87ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061cfc57353376d1040000'), "firstname"=>"Sabrina", "lastname"=>"Spinka"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4754ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"53061cfc57353376d1040000", "administrator"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 87ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cfd57353376d1050000'), "name"=>"Dr. Angelica Mohr", "reference"=>"Mr. Marvin Bechtelar", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53061cfd57353376d1060000'), "author_name"=>"Thomas Hintz", "content"=>["Dolor inventore explicabo. Ullam velit dolor eligendi reiciendis mollitia voluptatibus quis. Sunt rerum ullam nulla."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5425ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cfd57353376d1050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2743ms
Processing by Admin::CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061cfd57353376d1050000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cfd57353376d1050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4529ms
Completed 500 Internal Server Error in 76ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cfd57353376d1070000'), "name"=>"Adan Hackett", "reference"=>"Mrs. Desmond Kirlin", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53061cfd57353376d1080000'), "author_name"=>"Janelle Renner IV", "content"=>["Aut quas omnis assumenda qui dolores. Quod autem animi deleniti molestiae. Perspiciatis dolorem dolores laborum explicabo officiis sunt. Facere repellendus sit beatae corporis velit est sed."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5001ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cfd57353376d1070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms
Processing by Admin::CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061cfd57353376d1070000", "id"=>"53061cfd57353376d1080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cfd57353376d1070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3335ms
Completed 500 Internal Server Error in 117ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cfd57353376d1090000'), "name"=>"Miss Brooklyn McCullough", "reference"=>"Eloisa Turner Sr.", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53061cfd57353376d10a0000'), "author_name"=>"Tillman Kuhic", "content"=>["Asperiores voluptatem iste. Iusto voluptas ut est. Neque eos magnam placeat tempore. Enim quae aut qui consectetur consequuntur est."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4919ms
Processing by Admin::CommentsController#edit as HTML
Parameters: {"product_id"=>"53061cfd57353376d1090000", "id"=>"53061cfd57353376d10a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cfd57353376d1090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3356ms
Completed 500 Internal Server Error in 56ms
----------------------------------------------------
Admin::CommentsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cfd57353376d10b0000'), "name"=>"Vernice Kilback", "reference"=>"Mr. Jane Blanda", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53061cfd57353376d10c0000'), "author_name"=>"Vita Spencer Jr.", "content"=>["Aspernatur itaque et vel. Dolorem perferendis exercitationem. Itaque repudiandae autem laborum quasi commodi. Qui fuga repellendus corrupti enim pariatur nesciunt. Quia facere aut."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5280ms
Processing by Admin::CommentsController#index as HTML
Parameters: {"product_id"=>"53061cfd57353376d10b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cfd57353376d10b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3703ms
Completed 500 Internal Server Error in 82ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cfd57353376d10d0000'), "name"=>"Angeline Feil DDS", "reference"=>"Desiree Stokes", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061cfd57353376d10e0000'), "author_name"=>"Mortimer Bogan IV", "content"=>["Vel animi dolores. Saepe et occaecati earum. Aspernatur velit facere nihil laboriosam cupiditate. Rem magni aspernatur itaque minima et. Sed illo et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5255ms
Processing by Admin::CommentsController#new as HTML
Parameters: {"product_id"=>"53061cfd57353376d10d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cfd57353376d10d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3929ms
Completed 500 Internal Server Error in 57ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cfd57353376d10f0000'), "name"=>"Ms. Julianne Larson", "reference"=>"Mr. Chad Wisoky", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53061cfd57353376d1100000'), "author_name"=>"Reinhold Hand", "content"=>["Quia voluptatum nihil ut aspernatur ut. Explicabo nulla doloremque. Velit deserunt quia voluptatem error magni. Aspernatur qui iure quis sapiente corrupti quod quidem. Aliquam sunt non hic."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4778ms
Processing by Admin::CommentsController#show as HTML
Parameters: {"product_id"=>"53061cfd57353376d10f0000", "id"=>"53061cfd57353376d1100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cfd57353376d10f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3117ms
Completed 500 Internal Server Error in 113ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cfd57353376d1110000'), "name"=>"Audreanne Brakus DDS", "reference"=>"Marcelo Durgan DVM", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53061cfd57353376d1120000'), "author_name"=>"Dr. Delia Cummings", "content"=>["Sed sit sint itaque tenetur. Magni deleniti dolorum. Nisi voluptatem repellat ea nostrum. Et neque sunt vel sit quas. Et ducimus quasi inventore consequatur."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5048ms
Processing by Admin::CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061cfd57353376d1120000", "product_id"=>"53061cfd57353376d1110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cfd57353376d1110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3981ms
Completed 500 Internal Server Error in 59ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cfd57353376d1130000'), "name"=>"Elmo Cronin", "reference"=>"Dennis Hudson", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53061cfd57353376d1140000'), "firstname"=>"Conrad", "lastname"=>"Stehr"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5517ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061cfd57353376d1130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cfd57353376d1130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3423ms
Completed 500 Internal Server Error in 91ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cfd57353376d1150000'), "name"=>"Jarrett Herzog", "reference"=>"Jaylin Lindgren", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53061cfd57353376d1160000'), "firstname"=>"Delfina", "lastname"=>"Wehner"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5365ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"53061cfd57353376d1160000", "product_id"=>"53061cfd57353376d1150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cfd57353376d1150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3587ms
Completed 500 Internal Server Error in 88ms
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cfd57353376d1170000'), "name"=>"Mrs. Emmalee Hoeger", "reference"=>"Deon Collins", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53061cfd57353376d1180000'), "firstname"=>"Mathias", "lastname"=>"Daniel"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5205ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"53061cfd57353376d1170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cfd57353376d1170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3710ms
Completed 500 Internal Server Error in 82ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cfd57353376d1190000'), "name"=>"Gretchen Bednar", "reference"=>"Mr. Alan Strosin", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53061cfd57353376d11a0000'), "firstname"=>"Emmalee", "lastname"=>"Kerluke"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4895ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"53061cfd57353376d11a0000", "product_id"=>"53061cfd57353376d1190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cfd57353376d1190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3734ms
Completed 500 Internal Server Error in 60ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cfe57353376d11b0000'), "name"=>"Antwon Hansen", "reference"=>"Winona Daniel", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061cfe57353376d11c0000'), "firstname"=>"Lindsay", "lastname"=>"Emard"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5094ms
Processing by Admin::ManagersController#update as HTML
Parameters: {"id"=>"53061cfe57353376d11c0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061cfe57353376d11b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cfe57353376d11b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3671ms
Completed 500 Internal Server Error in 85ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cfe57353376d11d0000'), "name"=>"Christelle Turcotte MD", "reference"=>"Axel Streich", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5130ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2394ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 113ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cfe57353376d11e0000'), "name"=>"Lucas Ward", "reference"=>"Demarco Boehm Sr.", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5100ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2087ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53061cfe57353376d11e0000"}
Completed 500 Internal Server Error in 85ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cfe57353376d11f0000'), "name"=>"Laura Wisoky", "reference"=>"Madelyn Runolfsson III", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1992ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53061cfe57353376d11f0000"}
Completed 500 Internal Server Error in 57ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cfe57353376d1200000'), "name"=>"Dominic Leannon", "reference"=>"Sabryna Hirthe", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4848ms
Processing by Admin::ProductsController#index as HTML
Completed 500 Internal Server Error in 83ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cfe57353376d1210000'), "name"=>"Kayleigh Cummerata", "reference"=>"Pearline Krajcik", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4651ms
Processing by Admin::ProductsController#new as HTML
Completed 500 Internal Server Error in 91ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cfe57353376d1220000'), "name"=>"Devon Lemke", "reference"=>"Chloe Gutmann", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4677ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53061cfe57353376d1220000"}
Completed 500 Internal Server Error in 83ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cfe57353376d1230000'), "name"=>"Kenna Okuneva", "reference"=>"Americo O'Reilly", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6294ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061cfe57353376d1230000"}
Completed 500 Internal Server Error in 86ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061cfe57353376d1240000'), "firstname"=>"Kole", "lastname"=>"Nolan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8741ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2683ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 80ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061cfe57353376d1250000'), "firstname"=>"Dereck", "lastname"=>"Schuppe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4868ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2062ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53061cfe57353376d1250000"}
Completed 500 Internal Server Error in 115ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061cfe57353376d1260000'), "firstname"=>"Pattie", "lastname"=>"Schamberger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4774ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53061cfe57353376d1260000"}
Completed 500 Internal Server Error in 55ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061cff57353376d1270000'), "firstname"=>"Jorge", "lastname"=>"Purdy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5375ms
Processing by Admin::UsersController#index as HTML
Completed 500 Internal Server Error in 60ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061cff57353376d1280000'), "firstname"=>"Rogelio", "lastname"=>"Jacobi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4928ms
Processing by Admin::UsersController#new as HTML
Completed 500 Internal Server Error in 115ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061cff57353376d1290000'), "firstname"=>"Chandler", "lastname"=>"Nikolaus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5479ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53061cff57353376d1290000"}
Completed 500 Internal Server Error in 60ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061cff57353376d12a0000'), "firstname"=>"Barbara", "lastname"=>"Eichmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4733ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061cff57353376d12a0000"}
Completed 500 Internal Server Error in 83ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061cff57353376d12b0000'), "firstname"=>"Evelyn", "lastname"=>"Schaden"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5040ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1885ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 81ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061cff57353376d12c0000'), "firstname"=>"Nellie", "lastname"=>"Fisher"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4343ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"53061cff57353376d12c0000"}
Completed 500 Internal Server Error in 92ms
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061cff57353376d12d0000'), "firstname"=>"Roscoe", "lastname"=>"Hessel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4993ms
Processing by AdministratorsController#new as HTML
Completed 500 Internal Server Error in 84ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061cff57353376d12e0000'), "firstname"=>"Manley", "lastname"=>"Koss"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4492ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"53061cff57353376d12e0000"}
Completed 500 Internal Server Error in 61ms
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061cff57353376d12f0000'), "firstname"=>"Adam", "lastname"=>"Wiza"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4558ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"53061cff57353376d12f0000", "administrator"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 83ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cff57353376d1300000'), "name"=>"Kendra Torp", "reference"=>"Danyka Pouros", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53061cff57353376d1310000'), "author_name"=>"Tremaine Ebert", "content"=>["Maiores a perferendis nobis repudiandae qui dolorem. Architecto veritatis consequuntur impedit nisi a earum neque. Eaque et illum aliquid."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5983ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cff57353376d1300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3881ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061cff57353376d1300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cff57353376d1300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4434ms
Completed 500 Internal Server Error in 76ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cff57353376d1320000'), "name"=>"Alba Borer", "reference"=>"Kamron Cronin PhD", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53061cff57353376d1330000'), "author_name"=>"Miss Aylin Windler", "content"=>["Esse itaque incidunt omnis velit sed vero. Inventore et fugiat velit vitae. Eos dolorem est consequatur cum. Incidunt veniam velit sit libero et dolor reprehenderit."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5387ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cff57353376d1320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2495ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061cff57353376d1320000", "id"=>"53061cff57353376d1330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cff57353376d1320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3881ms
Completed 500 Internal Server Error in 53ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061cff57353376d1340000'), "name"=>"Joshua Stokes", "reference"=>"Buck Lang", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53061cff57353376d1350000'), "author_name"=>"Cristal Moore", "content"=>["Molestiae natus sequi et. Deserunt ut quam. Perspiciatis nihil aut. Est perspiciatis qui. Beatae aliquam aspernatur quo dignissimos nisi totam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4763ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"53061cff57353376d1340000", "id"=>"53061cff57353376d1350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061cff57353376d1340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3868ms
Completed 500 Internal Server Error in 57ms
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0057353376d1360000'), "name"=>"Amelia Runolfsson", "reference"=>"Patience Kessler", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53061d0057353376d1370000'), "author_name"=>"Etha Blanda IV", "content"=>["Maxime fugiat qui omnis provident. Quas perferendis cupiditate numquam aut debitis. Itaque quia omnis ut earum rerum nisi dolores. Modi sequi quibusdam perferendis maxime blanditiis tenetur consequatur."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5074ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"53061d0057353376d1360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d0057353376d1360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4235ms
Completed 500 Internal Server Error in 86ms
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0057353376d1380000'), "name"=>"Enrico Sporer", "reference"=>"Sierra Pagac Jr.", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061d0057353376d1390000'), "author_name"=>"Emilio Erdman", "content"=>["Molestiae consequatur alias. Vitae tenetur sint exercitationem odit eveniet velit eligendi. Doloribus ut enim similique facere ducimus explicabo. Omnis qui blanditiis et. Cumque quis quos est."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5207ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"53061d0057353376d1380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d0057353376d1380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3835ms
Completed 500 Internal Server Error in 116ms
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0057353376d13a0000'), "name"=>"Demario Klein", "reference"=>"Dominic Stiedemann", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53061d0057353376d13b0000'), "author_name"=>"Kenton Oberbrunner", "content"=>["Recusandae est voluptatem in eligendi ut. Libero qui dolor omnis temporibus numquam ratione. Qui voluptatem ipsum. Corrupti voluptatem aut laboriosam et accusantium enim. Sunt ut impedit rerum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5238ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"53061d0057353376d13a0000", "id"=>"53061d0057353376d13b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d0057353376d13a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3739ms
Completed 500 Internal Server Error in 57ms
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0057353376d13c0000'), "name"=>"Hertha Marvin", "reference"=>"Ms. Assunta Raynor", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53061d0057353376d13d0000'), "author_name"=>"Beryl Bauch", "content"=>["Voluptatem odio at optio nobis. Enim repudiandae quam nemo ut quia sit molestias. Eum sit optio."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4820ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061d0057353376d13d0000", "product_id"=>"53061d0057353376d13c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d0057353376d13c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3193ms
Completed 500 Internal Server Error in 82ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d0057353376d13e0000'), "firstname"=>"Armando", "lastname"=>"Swift"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5649ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2292ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d0057353376d13f0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4033ms
Redirected to http://test.host/admin/clients/53061d0057353376d13f0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2515ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d0057353376d1400000'), "firstname"=>"Stanley", "lastname"=>"Kemmer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3662ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2260ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061d0057353376d1400000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d0057353376d1400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d0057353376d1400000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3098ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1930ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d0057353376d1410000'), "firstname"=>"Pedro", "lastname"=>"Cartwright"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2548ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061d0057353376d1410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d0057353376d1410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2494ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (5.4ms)
Completed 200 OK in 25ms (Views: 23.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d0057353376d1420000'), "firstname"=>"Rowan", "lastname"=>"Conroy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4554ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3373ms
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d0057353376d1430000'), "firstname"=>"Isaac", "lastname"=>"Hills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4249ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 6.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d0057353376d1440000'), "firstname"=>"Mckenna", "lastname"=>"Moen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4168ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061d0057353376d1440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d0057353376d1440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2570ms
Completed 200 OK in 6ms (Views: 4.3ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d0057353376d1450000'), "firstname"=>"Alessia", "lastname"=>"Friesen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3970ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061d0057353376d1450000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d0057353376d1450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d0057353376d1450000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3207ms
Redirected to http://test.host/admin/clients/53061d0057353376d1450000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d0057353376d1460000'), "firstname"=>"Dameon", "lastname"=>"Hermiston"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2744ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1793ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d0057353376d1470000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3022ms
Redirected to http://test.host/clients/53061d0057353376d1470000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1883ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d0057353376d1480000'), "firstname"=>"Ewald", "lastname"=>"Powlowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2357ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1706ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061d0057353376d1480000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d0057353376d1480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d0057353376d1480000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3087ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3275ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d0057353376d1490000'), "firstname"=>"Beverly", "lastname"=>"Runolfsson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3722ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061d0057353376d1490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d0057353376d1490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d0057353376d14a0000'), "firstname"=>"Pearlie", "lastname"=>"Medhurst"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3615ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms
Completed 200 OK in 11ms (Views: 10.2ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d0057353376d14b0000'), "firstname"=>"Hester", "lastname"=>"Torp"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4494ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d0057353376d14c0000'), "firstname"=>"Bernice", "lastname"=>"Barton"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4278ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061d0057353376d14c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d0057353376d14c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2728ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d0057353376d14d0000'), "firstname"=>"Hoyt", "lastname"=>"Tremblay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3538ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061d0057353376d14d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d0057353376d14d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2602ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d0057353376d14d0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2805ms
Redirected to http://test.host/clients/53061d0057353376d14d0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0057353376d14e0000'), "name"=>"Dale Collins", "reference"=>"Bobby Ernser", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53061d0057353376d14f0000'), "firstname"=>"Berta", "lastname"=>"Herzog"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4521ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061d0057353376d14e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d0057353376d14e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4001ms
Completed 500 Internal Server Error in 120ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0057353376d1500000'), "name"=>"Jordyn Stanton", "reference"=>"Dr. Antonia Balistreri", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061d0057353376d1510000'), "firstname"=>"Enoch", "lastname"=>"Wolf"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4705ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"53061d0057353376d1510000", "product_id"=>"53061d0057353376d1500000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d0057353376d1500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3811ms
Completed 500 Internal Server Error in 57ms
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0057353376d1520000'), "name"=>"Dawn Nikolaus", "reference"=>"Lamar Braun", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53061d0057353376d1530000'), "firstname"=>"Cleveland", "lastname"=>"Kerluke"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5040ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"53061d0057353376d1520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d0057353376d1520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3559ms
Completed 500 Internal Server Error in 86ms
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0057353376d1540000'), "name"=>"Bette Morissette Sr.", "reference"=>"Armani Abshire", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061d0057353376d1550000'), "firstname"=>"Kattie", "lastname"=>"Watsica"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.8639ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"53061d0057353376d1550000", "product_id"=>"53061d0057353376d1540000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d0057353376d1540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3959ms
Completed 500 Internal Server Error in 78ms
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0157353376d1560000'), "name"=>"Jennyfer Wolf", "reference"=>"Nathaniel Waelchi", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53061d0157353376d1570000'), "firstname"=>"Genoveva", "lastname"=>"O'Keefe"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4863ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"53061d0157353376d1570000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061d0157353376d1560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d0157353376d1560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3795ms
Completed 500 Internal Server Error in 115ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0157353376d1580000'), "name"=>"Marge Labadie", "reference"=>"Jovany Berge III", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5022ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2542ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 79ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0157353376d1590000'), "name"=>"Dr. Osvaldo Stehr", "reference"=>"Devon Hermann", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4785ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2515ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53061d0157353376d1590000"}
Completed 500 Internal Server Error in 58ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0157353376d15a0000'), "name"=>"Zella Hessel DVM", "reference"=>"Miss Amanda Purdy", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4904ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53061d0157353376d15a0000"}
Completed 500 Internal Server Error in 120ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0157353376d15b0000'), "name"=>"Zack Balistreri", "reference"=>"Jo Jerde", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4885ms
Processing by ProductsController#index as HTML
Completed 500 Internal Server Error in 81ms
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0157353376d15c0000'), "name"=>"Benton Auer", "reference"=>"Kelsie Rippin", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5032ms
Processing by ProductsController#index as JSON
Completed 500 Internal Server Error in 60ms
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0157353376d15d0000'), "name"=>"Liza Littel", "reference"=>"Zachariah Grant", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4505ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53061d0157353376d15d0000"}
Completed 500 Internal Server Error in 107ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0157353376d15e0000'), "name"=>"Lourdes Reynolds MD", "reference"=>"Tre Ferry", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4502ms
Processing by ProductsController#new as HTML
Completed 500 Internal Server Error in 61ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0157353376d15f0000'), "name"=>"Harley Orn DVM", "reference"=>"Mrs. Tess Fay", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5131ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53061d0157353376d15f0000"}
Completed 500 Internal Server Error in 56ms
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0157353376d1600000'), "name"=>"Jennie Weissnat", "reference"=>"Rosella Okuneva", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4986ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2429ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 82ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0157353376d1610000'), "name"=>"Mr. Rodrigo Schmeler", "reference"=>"Lelah Brakus", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4700ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53061d0157353376d1610000"}
Completed 500 Internal Server Error in 60ms
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0257353376d1620000'), "name"=>"Modesta Lind", "reference"=>"Mr. Raoul Hayes", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4955ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 500 Internal Server Error in 86ms
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0257353376d1630000'), "name"=>"Mrs. Alexie Brown", "reference"=>"Beaulah Ritchie", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4944ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061d0257353376d1630000"}
Completed 500 Internal Server Error in 82ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0257353376d1640000'), "name"=>"Joshuah Greenholt I", "reference"=>"Davon Gleichner", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4741ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061d0257353376d1640000"}
Completed 500 Internal Server Error in 86ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d0257353376d1650000'), "firstname"=>"Karley", "lastname"=>"Friesen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5263ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1927ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 81ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d0257353376d1660000'), "firstname"=>"Scot", "lastname"=>"Wisozk"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4630ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2222ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53061d0257353376d1660000"}
Completed 500 Internal Server Error in 90ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d0257353376d1670000'), "firstname"=>"Jon", "lastname"=>"Abernathy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4715ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53061d0257353376d1670000"}
Completed 500 Internal Server Error in 83ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d0257353376d1680000'), "firstname"=>"Westley", "lastname"=>"Treutel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4553ms
Processing by UsersController#index as HTML
Completed 500 Internal Server Error in 88ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d0257353376d1690000'), "firstname"=>"Demond", "lastname"=>"Will"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4543ms
Processing by UsersController#new as HTML
Completed 500 Internal Server Error in 88ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d0257353376d16a0000'), "firstname"=>"Dwight", "lastname"=>"O'Keefe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5236ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53061d0257353376d16a0000"}
Completed 500 Internal Server Error in 91ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d0257353376d16b0000'), "firstname"=>"Anjali", "lastname"=>"Stoltenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4422ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061d0257353376d16b0000"}
Completed 500 Internal Server Error in 57ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6141ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3546ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4944ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3213ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3208ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3017ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d0f5735337708000000'), "firstname"=>"Ethelyn", "lastname"=>"Stehr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4938ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1844ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d0f5735337708010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3785ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1947ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d0f5735337708020000'), "firstname"=>"Jonatan", "lastname"=>"Von"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3100ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"53061d0f5735337708020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061d0f5735337708020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2542ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (35.1ms)
Completed 200 OK in 53ms (Views: 51.6ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d0f5735337708030000'), "firstname"=>"Geovanny", "lastname"=>"Wehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4223ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d0f5735337708040000'), "firstname"=>"Llewellyn", "lastname"=>"Olson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4047ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"53061d0f5735337708040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061d0f5735337708040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2587ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d0f5735337708050000'), "firstname"=>"Brody", "lastname"=>"Runolfsson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3930ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"53061d0f5735337708050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061d0f5735337708050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2454ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0f5735337708060000'), "name"=>"Cristobal Stokes", "reference"=>"Trey Dickinson Jr.", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061d0f5735337708070000'), "author_name"=>"Monserrate White MD", "content"=>["Odio in ea iure nulla sed et sapiente. Explicabo exercitationem aperiam delectus iusto quis assumenda. Nemo est consectetur veniam quo dolores. Reiciendis consectetur quo dolorem ad maiores nemo."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4491ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d0f5735337708060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2092ms
Processing by Admin::CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061d0f5735337708060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d0f5735337708060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2828ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d0f5735337708060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53061d0f5735337708080000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.6210ms
Redirected to http://test.host/admin/products/53061d0f5735337708060000/comments/53061d0f5735337708080000
Completed 302 Found in 10ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d0f5735337708060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2987ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0f5735337708090000'), "name"=>"Arvilla Heaney", "reference"=>"Mabelle Dietrich", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53061d0f57353377080a0000'), "author_name"=>"Dandre Bernier", "content"=>["Eius similique ab excepturi alias. Voluptas enim dolorum. Eveniet dolorum expedita et qui consequatur. Quibusdam rerum ab qui earum non reprehenderit. Consequatur voluptate non nesciunt culpa."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d0f5735337708090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2440ms
Processing by Admin::CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061d0f5735337708090000", "id"=>"53061d0f57353377080a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d0f5735337708090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3994ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d0f5735337708090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53061d0f57353377080a0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4153ms
Redirected to http://test.host/admin/products/53061d0f5735337708090000/comments
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d0f5735337708090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2596ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0f57353377080b0000'), "name"=>"Esmeralda Yundt DDS", "reference"=>"Brannon Prosacco", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53061d0f57353377080c0000'), "author_name"=>"Alize Waelchi", "content"=>["Sint rerum dolorem atque. Distinctio assumenda enim doloribus necessitatibus ut vel. Accusamus nisi possimus qui. Voluptate occaecati a ab quis quia corrupti. Enim consequuntur itaque beatae sed porro."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3797ms
Processing by Admin::CommentsController#edit as HTML
Parameters: {"product_id"=>"53061d0f57353377080b0000", "id"=>"53061d0f57353377080c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d0f57353377080b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2835ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 10ms (Views: 7.6ms)
----------------------------------------------------
Admin::CommentsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0f57353377080d0000'), "name"=>"Raina Rempel", "reference"=>"Erick Roob", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53061d0f57353377080e0000'), "author_name"=>"Serenity Effertz", "content"=>["Iste voluptas unde. Laboriosam mollitia repellat sapiente et consequatur praesentium. In qui quaerat. Autem commodi dolor. Animi inventore qui ratione."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4873ms
Processing by Admin::CommentsController#index as HTML
Parameters: {"product_id"=>"53061d0f57353377080d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d0f57353377080d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3599ms
Completed 200 OK in 7ms (Views: 4.9ms)
--------------------------------------------------
Admin::CommentsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0f57353377080f0000'), "name"=>"Mrs. Sylvia Rodriguez", "reference"=>"Hyman Bednar III", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53061d0f5735337708100000'), "author_name"=>"Sarai Senger", "content"=>["Porro alias quia quae nisi molestias. Placeat eveniet quas et ea hic nobis aut. Molestiae veniam cupiditate voluptas. Vel iure explicabo praesentium et reiciendis incidunt. Voluptas eos doloremque recusandae."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4482ms
Processing by Admin::CommentsController#new as HTML
Parameters: {"product_id"=>"53061d0f57353377080f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d0f57353377080f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2613ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.2ms)
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0f5735337708110000'), "name"=>"Hadley Jast Jr.", "reference"=>"Mrs. Lacey Mayert", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53061d0f5735337708120000'), "author_name"=>"Dr. Isidro Kiehn", "content"=>["Natus dolorem esse eum occaecati id. Consequatur non itaque praesentium. Beatae autem sed. Ab sit repellat est quia iste."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4264ms
Processing by Admin::CommentsController#show as HTML
Parameters: {"product_id"=>"53061d0f5735337708110000", "id"=>"53061d0f5735337708120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d0f5735337708110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms
Completed 200 OK in 6ms (Views: 3.9ms)
-------------------------------------------------
Admin::CommentsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d0f5735337708130000'), "name"=>"Gladys Gusikowski", "reference"=>"Mara Simonis", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53061d0f5735337708140000'), "author_name"=>"Avis Gaylord", "content"=>["Deserunt quas eum. Neque ratione voluptas voluptatem porro voluptas inventore doloribus. Voluptatibus excepturi nam laborum ipsum veniam aliquam aspernatur. Voluptates praesentium omnis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4772ms
Processing by Admin::CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061d0f5735337708140000", "product_id"=>"53061d0f5735337708130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d0f5735337708130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3395ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d0f5735337708130000'), "comments._id"=>BSON::ObjectId('53061d0f5735337708140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4633ms
Redirected to http://test.host/admin/products/53061d0f5735337708130000/comments/53061d0f5735337708140000
Completed 302 Found in 4ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708150000'), "name"=>"Fletcher Beier", "reference"=>"Stanton Sipes", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53061d105735337708160000'), "firstname"=>"Shemar", "lastname"=>"Bernhard"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5150ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061d105735337708150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4149ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708150000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4128ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53061d105735337708170000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2895ms
Redirected to http://test.host/admin/products/53061d105735337708150000/manager
Completed 302 Found in 5ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708180000'), "name"=>"Mr. Brad Swaniawski", "reference"=>"Annabell Kunde", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53061d105735337708190000'), "firstname"=>"Augustus", "lastname"=>"Bahringer"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4176ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"53061d105735337708190000", "product_id"=>"53061d105735337708180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 9ms (Views: 7.2ms)
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d1057353377081a0000'), "name"=>"Zane Morissette", "reference"=>"Rodrick Purdy", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53061d1057353377081b0000'), "firstname"=>"Alejandrin", "lastname"=>"Cummerata"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4715ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"53061d1057353377081a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d1057353377081a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2656ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 5.8ms)
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d1057353377081c0000'), "name"=>"Carmen Rowe", "reference"=>"Jesus Dare", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061d1057353377081d0000'), "firstname"=>"Harmony", "lastname"=>"Wisoky"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4427ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"53061d1057353377081d0000", "product_id"=>"53061d1057353377081c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d1057353377081c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2747ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d1057353377081e0000'), "name"=>"Veda Johns PhD", "reference"=>"Luella Howe", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53061d1057353377081f0000'), "firstname"=>"Anibal", "lastname"=>"Keebler"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4220ms
Processing by Admin::ManagersController#update as HTML
Parameters: {"id"=>"53061d1057353377081f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061d1057353377081e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d1057353377081e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms
Unpermitted parameters: name
Redirected to http://test.host/admin/products/53061d1057353377081e0000/manager
Completed 302 Found in 3ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708200000'), "name"=>"Ofelia Marvin", "reference"=>"Dr. Afton Morissette", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1270ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2363ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3666ms
Redirected to http://test.host/admin/products/53061d105735337708210000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2003ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708220000'), "name"=>"Joshua Lockman", "reference"=>"Leda Hirthe", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3326ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1831ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53061d105735337708220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3148ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3061ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1954ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708230000'), "name"=>"Ena Predovic", "reference"=>"Danny Schaden II", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2693ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53061d105735337708230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2563ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms)
Completed 200 OK in 10ms (Views: 8.6ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708240000'), "name"=>"Aileen Kohler I", "reference"=>"Cale Shields V", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4413ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5316ms
Completed 200 OK in 14ms (Views: 13.2ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708250000'), "name"=>"Elmira Price", "reference"=>"Clarissa Kreiger", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 23ms (Views: 5.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708280000'), "name"=>"Emmitt Stehr", "reference"=>"Kelley McKenzie", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4400ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53061d105735337708280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708290000'), "name"=>"Demond Roob", "reference"=>"Joaquin DuBuque", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3939ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061d105735337708290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2877ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708290000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4944ms
Redirected to http://test.host/admin/products/53061d105735337708290000
Completed 302 Found in 5ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d1057353377082a0000'), "firstname"=>"Zula", "lastname"=>"Sporer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4633ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1855ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d1057353377082b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3368ms
Redirected to http://test.host/admin/users/53061d1057353377082b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1942ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d1057353377082c0000'), "firstname"=>"Elena", "lastname"=>"Waelchi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.5561ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2280ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53061d1057353377082c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d1057353377082c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2568ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d1057353377082c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3015ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1885ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d1057353377082d0000'), "firstname"=>"Nolan", "lastname"=>"Kovacek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2978ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53061d1057353377082d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d1057353377082d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3716ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 9ms (Views: 7.3ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d1057353377082e0000'), "firstname"=>"Eleanora", "lastname"=>"Harvey"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3709ms
Completed 200 OK in 39ms (Views: 38.4ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d1057353377082f0000'), "firstname"=>"Donato", "lastname"=>"Roob"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3532ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d105735337708300000'), "firstname"=>"Eldon", "lastname"=>"Lemke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4740ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53061d105735337708300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d105735337708300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3567ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d105735337708310000'), "firstname"=>"Angelo", "lastname"=>"Schmitt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061d105735337708310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d105735337708310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2591ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53061d105735337708310000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d105735337708320000'), "firstname"=>"Morton", "lastname"=>"Hoppe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4312ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1841ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d105735337708330000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3366ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1937ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d105735337708340000'), "firstname"=>"Ernie", "lastname"=>"Haley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3051ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"53061d105735337708340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061d105735337708340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2928ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 9ms (Views: 7.8ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d105735337708350000'), "firstname"=>"Austyn", "lastname"=>"Kulas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5873ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 4.9ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d105735337708360000'), "firstname"=>"Angelina", "lastname"=>"Trantow"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4043ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"53061d105735337708360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061d105735337708360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2960ms
Completed 200 OK in 5ms (Views: 3.6ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d105735337708370000'), "firstname"=>"Rosemarie", "lastname"=>"Ferry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3851ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"53061d105735337708370000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061d105735337708370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2912ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708380000'), "name"=>"Frieda Willms I", "reference"=>"Albin Deckow", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53061d105735337708390000'), "author_name"=>"Ms. Ayana Wisoky", "content"=>["Id ipsum ut. Eos illo fuga a et praesentium consectetur reiciendis. Assumenda nemo est pariatur aut sequi veritatis qui. Laudantium sit consequuntur iure sit recusandae. Omnis reprehenderit optio vel impedit eos laborum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5068ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2156ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061d105735337708380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2861ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53061d1057353377083a0000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3518ms
Redirected to http://test.host/products/53061d105735337708380000/comments/53061d1057353377083a0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2127ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d1057353377083b0000'), "name"=>"Branson Tremblay", "reference"=>"Genevieve Emard", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061d1057353377083c0000'), "author_name"=>"Charlotte Mayer", "content"=>["Voluptatibus corporis ipsa esse qui magni molestias. Esse nobis dolor praesentium et omnis corporis. Quidem distinctio aut mollitia voluptatem dolores."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3632ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d1057353377083b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2010ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061d1057353377083b0000", "id"=>"53061d1057353377083c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d1057353377083b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2600ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d1057353377083b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53061d1057353377083c0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2984ms
Redirected to http://test.host/products/53061d1057353377083b0000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d1057353377083b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1915ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d1057353377083d0000'), "name"=>"Onie Wilderman V", "reference"=>"Bell Harvey", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53061d1057353377083e0000'), "author_name"=>"Karianne Huels", "content"=>["Provident cupiditate voluptatem nesciunt asperiores excepturi cumque. Non id ex delectus ad ut aliquid. Magni et distinctio incidunt quasi iusto inventore omnis. Possimus ut ipsam ipsa doloribus dolorem et. Rerum eum dolore."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3126ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"53061d1057353377083d0000", "id"=>"53061d1057353377083e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d1057353377083d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3205ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 10ms (Views: 7.6ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d1057353377083f0000'), "name"=>"Carolyne Spencer", "reference"=>"Margarett Corwin", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53061d105735337708400000'), "author_name"=>"Kamryn Gibson", "content"=>["Voluptatibus ut corporis quidem. Eligendi illo ut optio labore ut. Ut blanditiis aut molestiae voluptatum. Et et cupiditate sit mollitia ut."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4717ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"53061d1057353377083f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d1057353377083f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3085ms
Completed 200 OK in 6ms (Views: 4.5ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708410000'), "name"=>"Trace Conn", "reference"=>"Dr. Kendrick Okuneva", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53061d105735337708420000'), "author_name"=>"Arvel Boyer", "content"=>["Fugit id ad est. Voluptates dolores tempora et repellendus. Qui sit quia. Laboriosam porro occaecati quae."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6531ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"53061d105735337708410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2959ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 200 OK in 8ms (Views: 5.8ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708430000'), "name"=>"Orval Roberts", "reference"=>"Liam Monahan", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53061d105735337708440000'), "author_name"=>"Leopold Goldner IV", "content"=>["Quia consequuntur necessitatibus. Aut inventore at officia qui provident tempora. Eum sed incidunt voluptas et et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4816ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"53061d105735337708430000", "id"=>"53061d105735337708440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3187ms
Completed 200 OK in 6ms (Views: 3.9ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708450000'), "name"=>"Bettye Conroy", "reference"=>"Bailee Abbott", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061d105735337708460000'), "author_name"=>"Woodrow Hoeger", "content"=>["Quaerat molestias suscipit sed. Dolores ad culpa totam voluptatem. Eos repudiandae officia. Excepturi reiciendis distinctio ex. Veniam dicta optio hic."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4644ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061d105735337708460000", "product_id"=>"53061d105735337708450000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708450000'), "comments._id"=>BSON::ObjectId('53061d105735337708460000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4314ms
Redirected to http://test.host/products/53061d105735337708450000/comments/53061d105735337708460000
Completed 302 Found in 5ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d105735337708470000'), "firstname"=>"Delta", "lastname"=>"Kshlerin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4513ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1815ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d105735337708480000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3853ms
Redirected to http://test.host/admin/clients/53061d105735337708480000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2414ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d105735337708490000'), "firstname"=>"Lois", "lastname"=>"Kuhn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3322ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1962ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061d105735337708490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d105735337708490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2503ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d105735337708490000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3074ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1895ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d1057353377084a0000'), "firstname"=>"Domenico", "lastname"=>"Wyman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061d1057353377084a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d1057353377084a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3644ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.4ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d1057353377084b0000'), "firstname"=>"Judson", "lastname"=>"Schulist"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4138ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3186ms
Completed 200 OK in 8ms (Views: 6.7ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d1057353377084c0000'), "firstname"=>"Odessa", "lastname"=>"Hagenes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4419ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 39ms (Views: 38.6ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d1057353377084d0000'), "firstname"=>"Ellsworth", "lastname"=>"Dibbert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4196ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061d1057353377084d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d1057353377084d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2564ms
Completed 200 OK in 6ms (Views: 4.3ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d1057353377084e0000'), "firstname"=>"Niko", "lastname"=>"Dooley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4010ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061d1057353377084e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d1057353377084e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d1057353377084e0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3291ms
Redirected to http://test.host/admin/clients/53061d1057353377084e0000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d1057353377084f0000'), "firstname"=>"Brad", "lastname"=>"Hamill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3762ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3229ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d105735337708500000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4143ms
Redirected to http://test.host/clients/53061d105735337708500000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1973ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d105735337708510000'), "firstname"=>"Kayli", "lastname"=>"Wintheiser"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2411ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1727ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061d105735337708510000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d105735337708510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d105735337708510000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2632ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1853ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d105735337708520000'), "firstname"=>"Idell", "lastname"=>"McDermott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2467ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061d105735337708520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d105735337708520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d105735337708530000'), "firstname"=>"Lyla", "lastname"=>"Renner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3994ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3814ms
Completed 200 OK in 11ms (Views: 10.4ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d105735337708540000'), "firstname"=>"Retta", "lastname"=>"Gutkowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3972ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.8ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d105735337708550000'), "firstname"=>"Brenda", "lastname"=>"Dooley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3891ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061d105735337708550000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d105735337708550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2201ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d105735337708560000'), "firstname"=>"Ruthe", "lastname"=>"Heathcote"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2638ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061d105735337708560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d105735337708560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3702ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d105735337708560000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2768ms
Redirected to http://test.host/clients/53061d105735337708560000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708570000'), "name"=>"Dudley Bogan PhD", "reference"=>"Maribel Conn", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53061d105735337708580000'), "firstname"=>"Aisha", "lastname"=>"Lindgren"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4254ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061d105735337708570000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2936ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708570000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2962ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708570000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53061d105735337708590000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2328ms
Redirected to http://test.host/products/53061d105735337708570000/manager
Completed 302 Found in 5ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d1057353377085a0000'), "name"=>"Miss Ressie Zboncak", "reference"=>"Shaniya Jones", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061d1057353377085b0000'), "firstname"=>"Favian", "lastname"=>"Mitchell"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3653ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"53061d1057353377085b0000", "product_id"=>"53061d1057353377085a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d1057353377085a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 10ms (Views: 7.9ms)
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d1057353377085c0000'), "name"=>"Will Effertz", "reference"=>"Halle Franecki", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53061d1057353377085d0000'), "firstname"=>"Bridget", "lastname"=>"Kozey"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4423ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"53061d1057353377085c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d1057353377085c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2661ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d1057353377085e0000'), "name"=>"Kitty Schuppe V", "reference"=>"Keven Predovic", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53061d1057353377085f0000'), "firstname"=>"Saul", "lastname"=>"Trantow"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4231ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"53061d1057353377085f0000", "product_id"=>"53061d1057353377085e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d1057353377085e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2618ms
Completed 200 OK in 39ms (Views: 37.5ms)
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708600000'), "name"=>"Crystel Olson Jr.", "reference"=>"Prudence Stroman", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53061d105735337708610000'), "firstname"=>"Mayra", "lastname"=>"Kiehn"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5911ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"53061d105735337708610000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061d105735337708600000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3268ms
Unpermitted parameters: name
Redirected to http://test.host/products/53061d105735337708600000/manager
Completed 302 Found in 3ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708620000'), "name"=>"Ms. Jacky Kiehn", "reference"=>"Harmon Bosco I", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.7099ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1987ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708630000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3832ms
Redirected to http://test.host/products/53061d105735337708630000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2000ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708640000'), "name"=>"Jett Koepp", "reference"=>"Alberta Wintheiser", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3322ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1825ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53061d105735337708640000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2659ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708640000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2671ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1968ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708650000'), "name"=>"Ottis Wisozk", "reference"=>"Burley Dietrich I", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4212ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53061d105735337708650000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3425ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 10ms (Views: 8.2ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708660000'), "name"=>"Chesley Bernier", "reference"=>"Sabina Dicki", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4162ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7531ms
Completed 200 OK in 23ms (Views: 22.5ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708670000'), "name"=>"Wilfredo Thompson", "reference"=>"Miss Maryjane Kreiger", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7090ms
Completed 200 OK in 5ms (Views: 2.0ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708680000'), "name"=>"Angelica Ferry", "reference"=>"Tess O'Conner II", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3492ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53061d105735337708680000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2645ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708690000'), "name"=>"Bethel McDermott", "reference"=>"Mrs. Nathanael Hartmann", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2934ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 8ms (Views: 6.8ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d1057353377086b0000'), "name"=>"Mrs. Imelda Hodkiewicz", "reference"=>"Mr. Hassie Prohaska", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4441ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53061d1057353377086b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d1057353377086b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms
Completed 200 OK in 5ms (Views: 3.7ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d1057353377086c0000'), "name"=>"Keeley Lindgren", "reference"=>"Kristoffer Ryan", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4029ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1781ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d1057353377086d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3232ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1874ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d1057353377086e0000'), "name"=>"Monte Hagenes", "reference"=>"Lew Boehm", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2473ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53061d1057353377086e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d1057353377086e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2577ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d1057353377086e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2615ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d1057353377086f0000'), "name"=>"Frieda Hintz", "reference"=>"Scarlett Veum", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2649ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708710000'), "name"=>"Ashley Haley III", "reference"=>"Allen Lueilwitz", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.6040ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061d105735337708710000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2969ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708710000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3236ms
Completed 202 Accepted in 4ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d105735337708720000'), "name"=>"Marley Johnston DVM", "reference"=>"Juanita Yundt DDS", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2813ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061d105735337708720000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2625ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d105735337708720000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2885ms
Redirected to http://test.host/products/53061d105735337708720000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d105735337708730000'), "firstname"=>"Gretchen", "lastname"=>"O'Connell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4343ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1849ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d105735337708740000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3395ms
Redirected to http://test.host/users/53061d105735337708740000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2035ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d105735337708750000'), "firstname"=>"Elnora", "lastname"=>"Tillman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3142ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1863ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53061d105735337708750000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d105735337708750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2583ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d105735337708750000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2667ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1853ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d105735337708760000'), "firstname"=>"Jaida", "lastname"=>"Mueller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2445ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53061d105735337708760000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d105735337708760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2539ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d105735337708770000'), "firstname"=>"Nelson", "lastname"=>"Streich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4161ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms
Completed 200 OK in 11ms (Views: 10.2ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d105735337708780000'), "firstname"=>"Fae", "lastname"=>"Jaskolski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3921ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 4.9ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d105735337708790000'), "firstname"=>"Buster", "lastname"=>"Pagac"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4354ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53061d105735337708790000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d105735337708790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2563ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d1057353377087a0000'), "firstname"=>"Curtis", "lastname"=>"Ferry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.1310ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061d1057353377087a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d1057353377087a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3045ms
Unpermitted parameters: name
Redirected to http://test.host/users/53061d1057353377087a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6264ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2999ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4553ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3201ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3222ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2900ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d235735337733000000'), "firstname"=>"Keyshawn", "lastname"=>"McDermott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4450ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1836ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d235735337733010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3842ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1983ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d235735337733020000'), "firstname"=>"Kara", "lastname"=>"Konopelski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3116ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"53061d235735337733020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061d235735337733020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2553ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (34.7ms)
Completed 200 OK in 53ms (Views: 51.4ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d235735337733030000'), "firstname"=>"Mona", "lastname"=>"Stiedemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d235735337733040000'), "firstname"=>"Rhea", "lastname"=>"Breitenberg"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4056ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"53061d235735337733040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061d235735337733040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2625ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d235735337733050000'), "firstname"=>"Janessa", "lastname"=>"Koelpin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3860ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"53061d235735337733050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061d235735337733050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2536ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d235735337733060000'), "name"=>"Myah Gibson", "reference"=>"Dr. Cyrus Pouros", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53061d235735337733070000'), "author_name"=>"Talon Harvey DDS", "content"=>["Sunt quidem est laboriosam vitae mollitia sed. Ratione quibusdam omnis eos. Dolores nihil consectetur error. Ipsa et voluptates blanditiis veniam. Ut in temporibus molestias."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4521ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d235735337733060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2088ms
Processing by Admin::CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061d235735337733060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d235735337733060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2777ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d235735337733060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53061d235735337733080000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3346ms
Redirected to http://test.host/admin/products/53061d235735337733060000/comments/53061d235735337733080000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d235735337733060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2602ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d235735337733090000'), "name"=>"Liam Welch V", "reference"=>"Maia Howell", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061d2357353377330a0000'), "author_name"=>"Sylvia Friesen", "content"=>["Ea voluptatum laborum velit ullam est officia. Saepe laborum veniam dolores iure perferendis ad. Dolore hic eos iure. Fuga error odit aliquid."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3530ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d235735337733090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1577ms
Processing by Admin::CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061d235735337733090000", "id"=>"53061d2357353377330a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d235735337733090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d235735337733090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53061d2357353377330a0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3667ms
Redirected to http://test.host/admin/products/53061d235735337733090000/comments
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d235735337733090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2176ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d2357353377330b0000'), "name"=>"Brandi Stracke", "reference"=>"Jamey Schimmel PhD", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53061d2357353377330c0000'), "author_name"=>"Carter Howell", "content"=>["Est et quia neque voluptatem vel voluptatum doloremque. Nostrum fuga voluptatibus quod sit molestiae qui at. Ad quas alias aut aperiam enim voluptatem. A error quia impedit molestias."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3287ms
Processing by Admin::CommentsController#edit as HTML
Parameters: {"product_id"=>"53061d2357353377330b0000", "id"=>"53061d2357353377330c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d2357353377330b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2891ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 10ms (Views: 7.6ms)
----------------------------------------------------
Admin::CommentsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d2357353377330d0000'), "name"=>"Leonardo Bergstrom", "reference"=>"Kimberly Murray", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061d2357353377330e0000'), "author_name"=>"Dustin Goodwin", "content"=>["Doloremque omnis at exercitationem iusto ea neque temporibus. Quidem saepe at rerum quia voluptatem. Voluptatem eum voluptatem odio sunt. Facilis harum non aut. Nesciunt consequatur nobis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4445ms
Processing by Admin::CommentsController#index as HTML
Parameters: {"product_id"=>"53061d2357353377330d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d2357353377330d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3706ms
Completed 200 OK in 7ms (Views: 4.9ms)
--------------------------------------------------
Admin::CommentsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d2357353377330f0000'), "name"=>"Beaulah Nicolas", "reference"=>"Andres Lindgren", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53061d235735337733100000'), "author_name"=>"Luisa Willms V", "content"=>["Quibusdam sit illum ullam cupiditate ut. Earum voluptatem libero. Architecto quo atque quam quas et aliquid ea."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.2282ms
Processing by Admin::CommentsController#new as HTML
Parameters: {"product_id"=>"53061d2357353377330f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d2357353377330f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2695ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.1ms)
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d235735337733110000'), "name"=>"Jevon Will V", "reference"=>"Darrion Schaden", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53061d235735337733120000'), "author_name"=>"Darrick Conroy", "content"=>["Nostrum culpa aspernatur dolores corporis. Autem accusantium est harum dolorum voluptatem perspiciatis. Sequi temporibus dolores dignissimos ad. Sunt ex voluptatem aut. Quo laboriosam deleniti autem autem aut."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4331ms
Processing by Admin::CommentsController#show as HTML
Parameters: {"product_id"=>"53061d235735337733110000", "id"=>"53061d235735337733120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d235735337733110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2718ms
Completed 200 OK in 6ms (Views: 4.0ms)
-------------------------------------------------
Admin::CommentsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d235735337733130000'), "name"=>"Vada Maggio", "reference"=>"Mossie Haley", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53061d235735337733140000'), "author_name"=>"Hettie Cronin", "content"=>["Incidunt qui doloremque. Ut qui quo. Natus et voluptates culpa."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5237ms
Processing by Admin::CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061d235735337733140000", "product_id"=>"53061d235735337733130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d235735337733130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2986ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d235735337733130000'), "comments._id"=>BSON::ObjectId('53061d235735337733140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4633ms
Redirected to http://test.host/admin/products/53061d235735337733130000/comments/53061d235735337733140000
Completed 302 Found in 4ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d235735337733150000'), "name"=>"Buddy Swaniawski", "reference"=>"Dr. Orval Cormier", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53061d235735337733160000'), "firstname"=>"Vida", "lastname"=>"Schmeler"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4493ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061d235735337733150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d235735337733150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4037ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d235735337733150000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3899ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d235735337733150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53061d235735337733170000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2901ms
Redirected to http://test.host/admin/products/53061d235735337733150000/manager
Completed 302 Found in 5ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d235735337733180000'), "name"=>"Lonzo Gleason", "reference"=>"Loraine Williamson", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53061d235735337733190000'), "firstname"=>"Fabiola", "lastname"=>"Rowe"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"53061d235735337733190000", "product_id"=>"53061d235735337733180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d235735337733180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3134ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.2ms)
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d2357353377331a0000'), "name"=>"Gunnar Satterfield", "reference"=>"Luther Krajcik", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53061d2357353377331b0000'), "firstname"=>"Jo", "lastname"=>"Bruen"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4670ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"53061d2357353377331a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d2357353377331a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.5ms)
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d2357353377331c0000'), "name"=>"Marianne Cartwright II", "reference"=>"Peter Leuschke IV", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53061d2357353377331d0000'), "firstname"=>"Nico", "lastname"=>"Crooks"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4466ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"53061d2357353377331d0000", "product_id"=>"53061d2357353377331c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d2357353377331c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2647ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d2357353377331e0000'), "name"=>"Lucie Beier", "reference"=>"Fermin King", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53061d2357353377331f0000'), "firstname"=>"Dorcas", "lastname"=>"Green"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms
Processing by Admin::ManagersController#update as HTML
Parameters: {"id"=>"53061d2357353377331f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061d2357353377331e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d2357353377331e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2622ms
Unpermitted parameters: name
Redirected to http://test.host/admin/products/53061d2357353377331e0000/manager
Completed 302 Found in 3ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d235735337733200000'), "name"=>"Felicita Nader", "reference"=>"Eryn Kirlin", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4324ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1896ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d235735337733210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4092ms
Redirected to http://test.host/admin/products/53061d235735337733210000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2420ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d235735337733220000'), "name"=>"Roslyn Reilly", "reference"=>"Vergie Sporer", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3715ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2315ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53061d235735337733220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d235735337733220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3054ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d235735337733220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3083ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1911ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d235735337733230000'), "name"=>"Frankie Reichel", "reference"=>"Nigel Stroman II", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2506ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53061d235735337733230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d235735337733230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2566ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 9ms (Views: 8.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d235735337733240000'), "name"=>"Nat Maggio V", "reference"=>"Judah Tremblay", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4516ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5378ms
Completed 200 OK in 14ms (Views: 13.6ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d245735337733250000'), "name"=>"Damian Langosh", "reference"=>"Kelley Fadel", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3611ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 21ms (Views: 6.3ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d245735337733280000'), "name"=>"Gabriella Mayer", "reference"=>"Kyra Dooley", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4214ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53061d245735337733280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d245735337733280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2422ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d245735337733290000'), "name"=>"Estelle Mills", "reference"=>"Gavin Beatty", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3834ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061d245735337733290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d245735337733290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2357ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d245735337733290000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2989ms
Redirected to http://test.host/admin/products/53061d245735337733290000
Completed 302 Found in 3ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d2457353377332a0000'), "firstname"=>"Jessika", "lastname"=>"Nitzsche"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3948ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1574ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d2457353377332b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3598ms
Redirected to http://test.host/admin/users/53061d2457353377332b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3057ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d2457353377332c0000'), "firstname"=>"Liliana", "lastname"=>"Bergnaum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3661ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1581ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53061d2457353377332c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d2457353377332c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2482ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d2457353377332c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1844ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d2457353377332d0000'), "firstname"=>"Arvel", "lastname"=>"Harris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2255ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53061d2457353377332d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d2457353377332d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2366ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d2457353377332e0000'), "firstname"=>"Felicity", "lastname"=>"Volkman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4079ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3619ms
Completed 200 OK in 38ms (Views: 38.0ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d2457353377332f0000'), "firstname"=>"Delmer", "lastname"=>"Mosciski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d245735337733300000'), "firstname"=>"Brooks", "lastname"=>"Conn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3972ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53061d245735337733300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d245735337733300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2617ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d245735337733310000'), "firstname"=>"Jayden", "lastname"=>"Jacobi"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061d245735337733310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d245735337733310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53061d245735337733310000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d245735337733320000'), "firstname"=>"Doyle", "lastname"=>"Willms"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3108ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2003ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d245735337733330000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2120ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d245735337733340000'), "firstname"=>"Jenifer", "lastname"=>"Botsford"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2745ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"53061d245735337733340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061d245735337733340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2178ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 6.9ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d245735337733350000'), "firstname"=>"Antone", "lastname"=>"Morar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4077ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 4.9ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d245735337733360000'), "firstname"=>"Trenton", "lastname"=>"Schuppe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4072ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"53061d245735337733360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061d245735337733360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3626ms
Completed 200 OK in 5ms (Views: 3.8ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d245735337733370000'), "firstname"=>"Giovanni", "lastname"=>"Mertz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3721ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"53061d245735337733370000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061d245735337733370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d245735337733380000'), "name"=>"Emmie Kuvalis PhD", "reference"=>"Marcel Huels IV", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53061d245735337733390000'), "author_name"=>"Mrs. Modesta Bergnaum", "content"=>["Laboriosam nemo libero. Eveniet adipisci quis asperiores eos. Suscipit nesciunt voluptatibus in distinctio rem et. Iusto cupiditate ut est eos consectetur voluptatem corrupti."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4335ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d245735337733380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2009ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061d245735337733380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d245735337733380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2778ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d245735337733380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53061d2457353377333a0000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3344ms
Redirected to http://test.host/products/53061d245735337733380000/comments/53061d2457353377333a0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d245735337733380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2059ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d2457353377333b0000'), "name"=>"Cristopher Jerde", "reference"=>"Jennings Roberts MD", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53061d2457353377333c0000'), "author_name"=>"Mr. Lola Nader", "content"=>["Labore sequi doloribus iusto iure voluptatem dolorum. Veniam autem voluptatem tempora. Libero expedita commodi impedit consequatur est nulla consequatur. Deleniti voluptas saepe."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3869ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d2457353377333b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3147ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061d2457353377333b0000", "id"=>"53061d2457353377333c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d2457353377333b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3762ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d2457353377333b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53061d2457353377333c0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3328ms
Redirected to http://test.host/products/53061d2457353377333b0000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d2457353377333b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2117ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d2457353377333d0000'), "name"=>"Timmothy Kshlerin", "reference"=>"Taya O'Conner", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061d2457353377333e0000'), "author_name"=>"Tommie Stiedemann", "content"=>["Nobis et non. Et velit distinctio. Accusamus nemo a eos suscipit assumenda incidunt. Provident ex et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3103ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"53061d2457353377333d0000", "id"=>"53061d2457353377333e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d2457353377333d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2820ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 9ms (Views: 7.1ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d2457353377333f0000'), "name"=>"Demetris Ward", "reference"=>"Shirley Schneider IV", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53061d245735337733400000'), "author_name"=>"Alexandrea McClure III", "content"=>["Cum enim esse et magni voluptatibus exercitationem temporibus. Nulla qui a et ut est. In eligendi pariatur. Qui placeat numquam id dolorum. Asperiores rerum vel quisquam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4866ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"53061d2457353377333f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d2457353377333f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2725ms
Completed 200 OK in 6ms (Views: 4.5ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d245735337733410000'), "name"=>"Mrs. Derrick Lowe", "reference"=>"Ian Senger", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061d245735337733420000'), "author_name"=>"Ms. Dallas Volkman", "content"=>["Et magnam velit. Adipisci magnam quae eius. Quidem assumenda et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4618ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"53061d245735337733410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d245735337733410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2711ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d245735337733430000'), "name"=>"Toby Jast I", "reference"=>"Carroll Kautzer", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53061d245735337733440000'), "author_name"=>"Edgar Padberg", "content"=>["Ducimus laudantium et sint placeat. Et velit dolorum et adipisci. Et illum eum velit dolores deserunt. Expedita ab magni velit eum. Unde ad eos earum debitis aut deserunt dolores."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4398ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"53061d245735337733430000", "id"=>"53061d245735337733440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d245735337733430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2733ms
Completed 200 OK in 6ms (Views: 3.9ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d245735337733450000'), "name"=>"Johnathon Greenfelder", "reference"=>"Kennith Kautzer", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53061d245735337733460000'), "author_name"=>"Felicia Stracke", "content"=>["Neque pariatur provident vel unde dolor corrupti nam. Placeat sed harum nisi hic quos. Vero accusantium dolores. Aut voluptatem consectetur voluptates. Sapiente id non."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4436ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061d245735337733460000", "product_id"=>"53061d245735337733450000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d245735337733450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3093ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d245735337733450000'), "comments._id"=>BSON::ObjectId('53061d245735337733460000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5312ms
Redirected to http://test.host/products/53061d245735337733450000/comments/53061d245735337733460000
Completed 302 Found in 6ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d245735337733470000'), "firstname"=>"Angela", "lastname"=>"Gleichner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4437ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1824ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d245735337733480000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3330ms
Redirected to http://test.host/admin/clients/53061d245735337733480000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2250ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d245735337733490000'), "firstname"=>"Torey", "lastname"=>"Bernier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4591ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3067ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061d245735337733490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d245735337733490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3005ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d245735337733490000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3060ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1887ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d2457353377334a0000'), "firstname"=>"Cecelia", "lastname"=>"Swift"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2489ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061d2457353377334a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d2457353377334a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2462ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d2457353377334b0000'), "firstname"=>"Malcolm", "lastname"=>"Moen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4069ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3225ms
Completed 200 OK in 8ms (Views: 6.9ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d2457353377334c0000'), "firstname"=>"Friedrich", "lastname"=>"Kihn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4144ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 39ms (Views: 38.3ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d2457353377334d0000'), "firstname"=>"Adan", "lastname"=>"Huel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4248ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061d2457353377334d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d2457353377334d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2489ms
Completed 200 OK in 6ms (Views: 4.3ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d2457353377334e0000'), "firstname"=>"Eloise", "lastname"=>"Wuckert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4168ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061d2457353377334e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d2457353377334e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3906ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d2457353377334e0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3378ms
Redirected to http://test.host/admin/clients/53061d2457353377334e0000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d2457353377334f0000'), "firstname"=>"Josiane", "lastname"=>"Dibbert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1811ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d245735337733500000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3190ms
Redirected to http://test.host/clients/53061d245735337733500000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2034ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d245735337733510000'), "firstname"=>"Cassie", "lastname"=>"Luettgen"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2379ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1747ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061d245735337733510000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d245735337733510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d245735337733510000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2603ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1861ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d245735337733520000'), "firstname"=>"Amos", "lastname"=>"Terry"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2452ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061d245735337733520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d245735337733520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d245735337733530000'), "firstname"=>"Manuel", "lastname"=>"Kub"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3487ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4439ms
Completed 200 OK in 11ms (Views: 10.9ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d245735337733540000'), "firstname"=>"Bella", "lastname"=>"Beatty"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.2979ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d245735337733550000'), "firstname"=>"Cydney", "lastname"=>"Wuckert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4139ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061d245735337733550000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d245735337733550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3953ms
Completed 200 OK in 5ms (Views: 3.4ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d245735337733560000'), "firstname"=>"Leilani", "lastname"=>"Bosco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3581ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061d245735337733560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d245735337733560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d245735337733560000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2754ms
Redirected to http://test.host/clients/53061d245735337733560000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d245735337733570000'), "name"=>"Leon Kovacek", "reference"=>"Raleigh Strosin", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53061d245735337733580000'), "firstname"=>"Tevin", "lastname"=>"Graham"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4438ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061d245735337733570000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d245735337733570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2918ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d245735337733570000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2948ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d245735337733570000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53061d245735337733590000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2356ms
Redirected to http://test.host/products/53061d245735337733570000/manager
Completed 302 Found in 5ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d2457353377335a0000'), "name"=>"Mrs. Antonio McClure", "reference"=>"Maci Murphy III", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53061d2457353377335b0000'), "firstname"=>"Hank", "lastname"=>"Mayer"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"53061d2457353377335b0000", "product_id"=>"53061d2457353377335a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d2457353377335a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4080ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 9ms (Views: 7.2ms)
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d2457353377335c0000'), "name"=>"Dr. Emma Herman", "reference"=>"Angelica Smitham", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061d2457353377335d0000'), "firstname"=>"Joe", "lastname"=>"Konopelski"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4439ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"53061d2457353377335c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d2457353377335c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2772ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d2457353377335e0000'), "name"=>"Antone Shields Sr.", "reference"=>"Charity Swaniawski", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53061d2457353377335f0000'), "firstname"=>"Reece", "lastname"=>"Graham"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4304ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"53061d2457353377335f0000", "product_id"=>"53061d2457353377335e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d2457353377335e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2664ms
Completed 200 OK in 39ms (Views: 36.9ms)
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d245735337733600000'), "name"=>"Sarina Frami Jr.", "reference"=>"Johann Labadie", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061d245735337733610000'), "firstname"=>"Orion", "lastname"=>"Romaguera"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.8461ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"53061d245735337733610000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061d245735337733600000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d245735337733600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2719ms
Unpermitted parameters: name
Redirected to http://test.host/products/53061d245735337733600000/manager
Completed 302 Found in 3ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d245735337733620000'), "name"=>"Roberta West", "reference"=>"Jayme Beahan", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4223ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1701ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d245735337733630000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4862ms
Redirected to http://test.host/products/53061d245735337733630000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1987ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d245735337733640000'), "name"=>"Elian Stracke DDS", "reference"=>"Ms. Enos King", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3314ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1789ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53061d245735337733640000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d245735337733640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2626ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d245735337733640000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2639ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1876ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d245735337733650000'), "name"=>"Tanner Reichert", "reference"=>"Ernest Paucek", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2535ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53061d245735337733650000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d245735337733650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2593ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 9ms (Views: 8.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d245735337733660000'), "name"=>"Madelynn Langosh PhD", "reference"=>"Johathan Morissette", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4151ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8455ms
Completed 200 OK in 24ms (Views: 23.1ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d245735337733670000'), "name"=>"Viviane Wisozk", "reference"=>"Adeline Reichel", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3859ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6972ms
Completed 200 OK in 5ms (Views: 2.0ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d245735337733680000'), "name"=>"Agustina D'Amore", "reference"=>"Mr. Rashawn Pfannerstill", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3756ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53061d245735337733680000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d245735337733680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3532ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d245735337733690000'), "name"=>"Vickie Rath", "reference"=>"Aryanna Hamill III", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2989ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 7ms (Views: 6.1ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d2457353377336b0000'), "name"=>"Katarina Sawayn", "reference"=>"Dr. Rasheed Welch", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4102ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53061d2457353377336b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d2457353377336b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2529ms
Completed 200 OK in 5ms (Views: 3.6ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d2457353377336c0000'), "name"=>"Ephraim Franecki", "reference"=>"Meagan Swift Jr.", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3958ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1969ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d2457353377336d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2225ms
Completed 201 Created in 6ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2298ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d2457353377336e0000'), "name"=>"Rick Hudson", "reference"=>"Kelsi Klein", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2566ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53061d2457353377336e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d2457353377336e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2827ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d2457353377336e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2532ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d2457353377336f0000'), "name"=>"Nya Dietrich", "reference"=>"Nya Lindgren MD", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2714ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d245735337733710000'), "name"=>"Herta Bins IV", "reference"=>"Jasper Stokes Sr.", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3729ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061d245735337733710000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d245735337733710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2735ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d245735337733710000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2905ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d245735337733720000'), "name"=>"Kyler Toy", "reference"=>"Terence Macejkovic Sr.", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2686ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061d245735337733720000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d245735337733720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2617ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d245735337733720000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2893ms
Redirected to http://test.host/products/53061d245735337733720000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d245735337733730000'), "firstname"=>"Nico", "lastname"=>"Kautzer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4664ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1827ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d245735337733740000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3415ms
Redirected to http://test.host/users/53061d245735337733740000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1999ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d245735337733750000'), "firstname"=>"Victoria", "lastname"=>"Pfannerstill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3103ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1782ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53061d245735337733750000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d245735337733750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d245735337733750000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2636ms
Redirected to http://test.host/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1848ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d245735337733760000'), "firstname"=>"Dean", "lastname"=>"D'Amore"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2436ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53061d245735337733760000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d245735337733760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2509ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d245735337733770000'), "firstname"=>"Devin", "lastname"=>"White"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4096ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3609ms
Completed 200 OK in 11ms (Views: 10.4ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d245735337733780000'), "firstname"=>"Jeremy", "lastname"=>"Hudson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.9699ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 5ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d245735337733790000'), "firstname"=>"Darby", "lastname"=>"Weber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4207ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53061d245735337733790000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d245735337733790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2571ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d2457353377337a0000'), "firstname"=>"Aracely", "lastname"=>"Stamm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3902ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061d2457353377337a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d2457353377337a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms
Unpermitted parameters: name
Redirected to http://test.host/users/53061d2457353377337a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6341ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3825ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5179ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3500ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3247ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3395ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d57573533775d000000'), "firstname"=>"Lori", "lastname"=>"Champlin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4428ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1799ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d57573533775d010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3733ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1959ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d57573533775d020000'), "firstname"=>"Elwin", "lastname"=>"Schaden"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3004ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"53061d57573533775d020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061d57573533775d020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2624ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (34.1ms)
Completed 200 OK in 52ms (Views: 50.8ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d57573533775d030000'), "firstname"=>"Alexie", "lastname"=>"Schimmel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4203ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d57573533775d040000'), "firstname"=>"Will", "lastname"=>"Veum"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4031ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"53061d57573533775d040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061d57573533775d040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2596ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d57573533775d050000'), "firstname"=>"Jasen", "lastname"=>"Schowalter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3876ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"53061d57573533775d050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061d57573533775d050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d060000'), "name"=>"Gay Wisozk", "reference"=>"Sammy Shields", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53061d57573533775d070000'), "author_name"=>"Jerrell Lueilwitz", "content"=>["Ab voluptatem aut enim ullam nisi. Dolor corrupti sed porro odio facere. Voluptatem delectus amet quos aliquid dolor. Quod dolore alias voluptas reprehenderit rerum incidunt vero. Explicabo enim perferendis officiis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4479ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2075ms
Processing by Admin::CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061d57573533775d060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2759ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53061d57573533775d080000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3312ms
Redirected to http://test.host/admin/products/53061d57573533775d060000/comments/53061d57573533775d080000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2586ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d090000'), "name"=>"Candice Cummings", "reference"=>"Miss Hudson Schmidt", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53061d57573533775d0a0000'), "author_name"=>"Estelle Conroy", "content"=>["Labore alias et quaerat. Eos asperiores magni et. Fuga ut consectetur et facere occaecati distinctio. Porro assumenda aut. Consequatur maxime at id."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3551ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2007ms
Processing by Admin::CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061d57573533775d090000", "id"=>"53061d57573533775d0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3639ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53061d57573533775d0a0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3578ms
Redirected to http://test.host/admin/products/53061d57573533775d090000/comments
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2173ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d0b0000'), "name"=>"Ima Emard", "reference"=>"Enrique Price DVM", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53061d57573533775d0c0000'), "author_name"=>"Miss Fiona Fritsch", "content"=>["Eum porro similique sint facere. Et nesciunt error optio voluptate occaecati sequi inventore. Sed autem voluptas dolore optio. Eaque quos architecto rerum molestias asperiores."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3400ms
Processing by Admin::CommentsController#edit as HTML
Parameters: {"product_id"=>"53061d57573533775d0b0000", "id"=>"53061d57573533775d0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2803ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.4ms)
----------------------------------------------------
Admin::CommentsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d0d0000'), "name"=>"Misty Jones", "reference"=>"Lera Bahringer", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53061d57573533775d0e0000'), "author_name"=>"Marcus Emard", "content"=>["Voluptatem voluptates sunt et et vel. Aliquid aut omnis eum facilis itaque quis magnam. Velit qui amet expedita et veritatis aut. Voluptatem quos hic."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4464ms
Processing by Admin::CommentsController#index as HTML
Parameters: {"product_id"=>"53061d57573533775d0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2729ms
Completed 200 OK in 6ms (Views: 4.4ms)
--------------------------------------------------
Admin::CommentsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d0f0000'), "name"=>"Elian Kemmer", "reference"=>"Kay Baumbach", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53061d57573533775d100000'), "author_name"=>"Jayden Swaniawski", "content"=>["Voluptas est voluptatem ex accusantium. Qui consectetur ut quod quae sit explicabo. Facere ut rerum voluptatem officiis. Ratione doloribus qui officiis deserunt fugiat."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4235ms
Processing by Admin::CommentsController#new as HTML
Parameters: {"product_id"=>"53061d57573533775d0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2679ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.1ms)
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d110000'), "name"=>"Mariah Franecki Sr.", "reference"=>"Wilfredo Armstrong", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53061d57573533775d120000'), "author_name"=>"Deshaun Bosco", "content"=>["Temporibus aspernatur mollitia adipisci. Aperiam voluptatum omnis dolore sint in. Ullam et nihil autem. Ipsam soluta nostrum fugiat dignissimos. Cupiditate sunt voluptates aut corporis ex odit fugiat."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4347ms
Processing by Admin::CommentsController#show as HTML
Parameters: {"product_id"=>"53061d57573533775d110000", "id"=>"53061d57573533775d120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2528ms
Completed 200 OK in 6ms (Views: 3.9ms)
-------------------------------------------------
Admin::CommentsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d130000'), "name"=>"Dr. Helena Ratke", "reference"=>"Mrs. Margarete Barton", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53061d57573533775d140000'), "author_name"=>"Mr. Godfrey Crona", "content"=>["Blanditiis eaque qui est. Magni sed eveniet consequuntur et nam omnis. Nihil iure enim. Placeat saepe blanditiis consequuntur."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4323ms
Processing by Admin::CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061d57573533775d140000", "product_id"=>"53061d57573533775d130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3042ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d130000'), "comments._id"=>BSON::ObjectId('53061d57573533775d140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3282ms
Redirected to http://test.host/admin/products/53061d57573533775d130000/comments/53061d57573533775d140000
Completed 302 Found in 8ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d150000'), "name"=>"Marty Mayer", "reference"=>"Jade Terry", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53061d57573533775d160000'), "firstname"=>"Braden", "lastname"=>"Hirthe"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4415ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061d57573533775d150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2888ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d150000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3354ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53061d57573533775d170000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2351ms
Redirected to http://test.host/admin/products/53061d57573533775d150000/manager
Completed 302 Found in 5ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d180000'), "name"=>"Mr. Braxton Lakin", "reference"=>"Aaliyah Friesen", "quantity"=>"1", "manager"=>{"_id"=>BSON::ObjectId('53061d57573533775d190000'), "firstname"=>"Ciara", "lastname"=>"Morar"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3724ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"53061d57573533775d190000", "product_id"=>"53061d57573533775d180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2626ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.2ms)
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d1a0000'), "name"=>"Stefanie Hegmann III", "reference"=>"Shania Windler", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53061d57573533775d1b0000'), "firstname"=>"Teresa", "lastname"=>"Kirlin"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4204ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"53061d57573533775d1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2558ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.1ms)
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d1c0000'), "name"=>"Juston Barton", "reference"=>"Cassidy Mante", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('53061d57573533775d1d0000'), "firstname"=>"Billie", "lastname"=>"Collins"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4165ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"53061d57573533775d1d0000", "product_id"=>"53061d57573533775d1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2543ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d1e0000'), "name"=>"Fatima Green", "reference"=>"Emilie Gutkowski", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53061d57573533775d1f0000'), "firstname"=>"Bettie", "lastname"=>"Stiedemann"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4094ms
Processing by Admin::ManagersController#update as HTML
Parameters: {"id"=>"53061d57573533775d1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061d57573533775d1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2592ms
Unpermitted parameters: name
Redirected to http://test.host/admin/products/53061d57573533775d1e0000/manager
Completed 302 Found in 3ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d200000'), "name"=>"Ronaldo Daugherty", "reference"=>"Donavon Kling", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5584ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1904ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3955ms
Redirected to http://test.host/admin/products/53061d57573533775d210000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1850ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d220000'), "name"=>"Rogelio Kautzer DVM", "reference"=>"Myrtice Stanton", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3858ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2301ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53061d57573533775d220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2995ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1925ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d230000'), "name"=>"Antonio Kerluke", "reference"=>"Ms. Tristin Runte", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2627ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53061d57573533775d230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.0ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d240000'), "name"=>"Enrique Dickinson PhD", "reference"=>"Gwendolyn Wolf", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4056ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5336ms
Completed 200 OK in 14ms (Views: 13.1ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d250000'), "name"=>"Myrna Collier", "reference"=>"Warren Dibbert", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3668ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 21ms (Views: 5.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d280000'), "name"=>"Willie Balistreri", "reference"=>"Coy Schaefer", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53061d57573533775d280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2529ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d290000'), "name"=>"Rosina Greenholt", "reference"=>"Quincy Bergstrom", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3868ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061d57573533775d290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2567ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d290000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3162ms
Redirected to http://test.host/admin/products/53061d57573533775d290000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d57573533775d2a0000'), "firstname"=>"Luz", "lastname"=>"Brakus"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4111ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1788ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d57573533775d2b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3171ms
Redirected to http://test.host/admin/users/53061d57573533775d2b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1882ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d57573533775d2c0000'), "firstname"=>"Jarrell", "lastname"=>"Weissnat"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2972ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1735ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53061d57573533775d2c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d57573533775d2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d57573533775d2c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2962ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1870ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d57573533775d2d0000'), "firstname"=>"Titus", "lastname"=>"Abbott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.7621ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53061d57573533775d2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d57573533775d2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2463ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d57573533775d2e0000'), "firstname"=>"Ora", "lastname"=>"Durgan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3984ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3792ms
Completed 200 OK in 37ms (Views: 37.0ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d57573533775d2f0000'), "firstname"=>"Maxwell", "lastname"=>"Wiza"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d57573533775d300000'), "firstname"=>"Macie", "lastname"=>"Hettinger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4096ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53061d57573533775d300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d57573533775d300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3009ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d57573533775d310000'), "firstname"=>"Alexie", "lastname"=>"King"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4013ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061d57573533775d310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d57573533775d310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2718ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53061d57573533775d310000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d57573533775d320000'), "firstname"=>"Verda", "lastname"=>"Lowe"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1864ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d57573533775d330000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3340ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1970ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d57573533775d340000'), "firstname"=>"Remington", "lastname"=>"Green"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3019ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"53061d57573533775d340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061d57573533775d340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 6.9ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d57573533775d350000'), "firstname"=>"Darrell", "lastname"=>"Abshire"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d57573533775d360000'), "firstname"=>"Lacey", "lastname"=>"Osinski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.5170ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"53061d57573533775d360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061d57573533775d360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms
Completed 200 OK in 5ms (Views: 3.5ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d57573533775d370000'), "firstname"=>"Billy", "lastname"=>"Glover"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3843ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"53061d57573533775d370000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061d57573533775d370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2463ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d380000'), "name"=>"Aurelie Murazik MD", "reference"=>"Raquel Feil MD", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061d57573533775d390000'), "author_name"=>"Dallas Bernhard", "content"=>["Ullam quisquam nihil. Totam qui eveniet ratione quo. Quas ea sint fuga asperiores molestias qui. Blanditiis amet natus corporis. Inventore nemo rerum dolor labore."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4473ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2109ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061d57573533775d380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2884ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53061d57573533775d3a0000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3343ms
Redirected to http://test.host/products/53061d57573533775d380000/comments/53061d57573533775d3a0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2160ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d3b0000'), "name"=>"Christopher Haag", "reference"=>"Deanna Ratke", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061d57573533775d3c0000'), "author_name"=>"Adrien Hansen", "content"=>["Commodi dolores dolorem. Maiores repudiandae aut laudantium. Porro sunt dolore saepe excepturi nam laboriosam. Delectus sequi praesentium perferendis dolorum corporis consequatur."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3590ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2019ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061d57573533775d3b0000", "id"=>"53061d57573533775d3c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2708ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53061d57573533775d3c0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3002ms
Redirected to http://test.host/products/53061d57573533775d3b0000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1938ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d3d0000'), "name"=>"Estefania Schamberger Sr.", "reference"=>"Karianne Walsh", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061d57573533775d3e0000'), "author_name"=>"Maryam Larkin", "content"=>["Architecto error ut consequuntur. Est rem veritatis et est debitis ullam. Quos dolore iusto soluta. Consequatur unde consequatur voluptas sit officiis asperiores."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3064ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"53061d57573533775d3d0000", "id"=>"53061d57573533775d3e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2831ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 9ms (Views: 7.2ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d3f0000'), "name"=>"Adolph Schulist", "reference"=>"Zoie Bogisich", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53061d57573533775d400000'), "author_name"=>"Aimee Smith", "content"=>["Qui rerum qui alias. Modi pariatur repudiandae omnis totam cupiditate esse. Fugit aspernatur nam minima ut et. Aspernatur et illo. Eligendi vero ipsa qui."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5277ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"53061d57573533775d3f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2884ms
Completed 200 OK in 8ms (Views: 6.4ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d410000'), "name"=>"Jayden Kuvalis", "reference"=>"Roscoe Murray", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53061d57573533775d420000'), "author_name"=>"Garth Douglas", "content"=>["Assumenda ad laboriosam qui dolorem et. Numquam expedita et sint. Qui et est. Quo ad consequuntur."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4772ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"53061d57573533775d410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2655ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.4ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d430000'), "name"=>"Elenora Quitzon", "reference"=>"Bret Grady", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061d57573533775d440000'), "author_name"=>"Tremayne Bins", "content"=>["Quaerat totam nesciunt hic eos ex. Omnis totam nisi sit ut in. Temporibus et accusamus nemo doloremque vero. Non nostrum consequatur assumenda ut eos magnam maiores."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.0606ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"53061d57573533775d430000", "id"=>"53061d57573533775d440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3313ms
Completed 200 OK in 6ms (Views: 4.0ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d450000'), "name"=>"Jocelyn Champlin", "reference"=>"Suzanne Wyman", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53061d57573533775d460000'), "author_name"=>"Elissa Blanda", "content"=>["Et maiores et. Molestias sit a tenetur ex quia. Enim veniam numquam sunt dolor aliquam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4541ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061d57573533775d460000", "product_id"=>"53061d57573533775d450000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2682ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d450000'), "comments._id"=>BSON::ObjectId('53061d57573533775d460000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5391ms
Redirected to http://test.host/products/53061d57573533775d450000/comments/53061d57573533775d460000
Completed 302 Found in 6ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d57573533775d470000'), "firstname"=>"Gonzalo", "lastname"=>"Rath"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4577ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1859ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d57573533775d480000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3366ms
Redirected to http://test.host/admin/clients/53061d57573533775d480000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1979ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d57573533775d490000'), "firstname"=>"Jared", "lastname"=>"Lang"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3038ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1762ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061d57573533775d490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d57573533775d490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2434ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d57573533775d490000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3079ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1866ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d57573533775d4a0000'), "firstname"=>"Keegan", "lastname"=>"Dickens"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2432ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061d57573533775d4a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d57573533775d4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2401ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.3ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d57573533775d4b0000'), "firstname"=>"Helena", "lastname"=>"Flatley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4024ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3193ms
Completed 200 OK in 8ms (Views: 6.8ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d57573533775d4c0000'), "firstname"=>"Larry", "lastname"=>"O'Conner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4194ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (32.2ms)
Completed 200 OK in 39ms (Views: 37.9ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d57573533775d4d0000'), "firstname"=>"Adriana", "lastname"=>"Stark"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4335ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061d57573533775d4d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d57573533775d4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2519ms
Completed 200 OK in 6ms (Views: 4.3ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d57573533775d4e0000'), "firstname"=>"Julianne", "lastname"=>"Brekke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3989ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061d57573533775d4e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d57573533775d4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2636ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d57573533775d4e0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3305ms
Redirected to http://test.host/admin/clients/53061d57573533775d4e0000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d57573533775d4f0000'), "firstname"=>"Johnny", "lastname"=>"Nader"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2881ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1842ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d57573533775d500000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3049ms
Redirected to http://test.host/clients/53061d57573533775d500000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1926ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d57573533775d510000'), "firstname"=>"Felicita", "lastname"=>"Connelly"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2341ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1759ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061d57573533775d510000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d57573533775d510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2423ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d57573533775d510000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2564ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1863ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d57573533775d520000'), "firstname"=>"Daphnee", "lastname"=>"Wunsch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2474ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061d57573533775d520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d57573533775d520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2475ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d57573533775d530000'), "firstname"=>"Melyna", "lastname"=>"Raynor"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3489ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3649ms
Completed 200 OK in 11ms (Views: 10.2ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d57573533775d540000'), "firstname"=>"Emilie", "lastname"=>"Baumbach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3719ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d57573533775d550000'), "firstname"=>"Mertie", "lastname"=>"Kuhlman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3966ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061d57573533775d550000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d57573533775d550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2548ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d57573533775d560000'), "firstname"=>"Bennie", "lastname"=>"West"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3341ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061d57573533775d560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d57573533775d560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2505ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d57573533775d560000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2794ms
Redirected to http://test.host/clients/53061d57573533775d560000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d570000'), "name"=>"Alvera Koelpin", "reference"=>"Carole Ortiz", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53061d57573533775d580000'), "firstname"=>"Nathaniel", "lastname"=>"Feeney"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4404ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061d57573533775d570000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3063ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d570000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.6368ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d570000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53061d57573533775d590000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2886ms
Redirected to http://test.host/products/53061d57573533775d570000/manager
Completed 302 Found in 8ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d5a0000'), "name"=>"Tiara Wiza", "reference"=>"Roel Swift", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53061d57573533775d5b0000'), "firstname"=>"Melany", "lastname"=>"Tremblay"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3735ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"53061d57573533775d5b0000", "product_id"=>"53061d57573533775d5a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2762ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 9ms (Views: 7.1ms)
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d5c0000'), "name"=>"Althea Romaguera", "reference"=>"Candido O'Connell", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53061d57573533775d5d0000'), "firstname"=>"Tina", "lastname"=>"Reichert"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4203ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"53061d57573533775d5c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3235ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.3ms)
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d5e0000'), "name"=>"Trey Veum", "reference"=>"Jasen Bradtke", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53061d57573533775d5f0000'), "firstname"=>"Theresa", "lastname"=>"Langworth"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"53061d57573533775d5f0000", "product_id"=>"53061d57573533775d5e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2460ms
Completed 200 OK in 5ms (Views: 3.7ms)
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d600000'), "name"=>"Zackery Zboncak", "reference"=>"Mr. Destiny VonRueden", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53061d57573533775d610000'), "firstname"=>"Roselyn", "lastname"=>"Larson"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4682ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"53061d57573533775d610000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061d57573533775d600000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2999ms
Unpermitted parameters: name
Redirected to http://test.host/products/53061d57573533775d600000/manager
Completed 302 Found in 3ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d620000'), "name"=>"Alysha Kautzer", "reference"=>"Asha Volkman", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4442ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1691ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d630000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3461ms
Redirected to http://test.host/products/53061d57573533775d630000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1798ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d640000'), "name"=>"Maria Labadie I", "reference"=>"Domingo Yundt", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3209ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1650ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53061d57573533775d640000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2483ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d640000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2409ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1710ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d650000'), "name"=>"Dr. Erik Leannon", "reference"=>"Samanta Roob", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2360ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53061d57573533775d650000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d57573533775d650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 10ms (Views: 8.3ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d57573533775d660000'), "name"=>"Nina Schumm", "reference"=>"Willis McKenzie", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3980ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7398ms
Completed 200 OK in 23ms (Views: 22.5ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d58573533775d670000'), "name"=>"Amara Goodwin", "reference"=>"Maximilian Hilpert", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3523ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6869ms
Completed 200 OK in 5ms (Views: 2.0ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d58573533775d680000'), "name"=>"Amiya Lueilwitz", "reference"=>"Dr. Raymundo Rodriguez", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3565ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53061d58573533775d680000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d58573533775d680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3507ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d58573533775d690000'), "name"=>"Billie Fritsch", "reference"=>"Lonzo Beatty", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3848ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.0ms)
Completed 200 OK in 9ms (Views: 7.7ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d58573533775d6b0000'), "name"=>"Clarabelle Boyer", "reference"=>"Margot Feest", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4276ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53061d58573533775d6b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d58573533775d6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms
Completed 200 OK in 5ms (Views: 3.9ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d58573533775d6c0000'), "name"=>"Creola Parker Jr.", "reference"=>"Trever Bogan I", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4513ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2499ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d58573533775d6d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5321ms
Completed 201 Created in 3ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3306ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d58573533775d6e0000'), "name"=>"Tristian Emmerich Jr.", "reference"=>"Linwood Runolfsdottir MD", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4047ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53061d58573533775d6e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d58573533775d6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2726ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d58573533775d6e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2721ms
Completed 200 OK in 2ms (Views: 0.2ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d58573533775d6f0000'), "name"=>"Dr. Kieran D'Amore", "reference"=>"Celestine Sanford", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3392ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d58573533775d710000'), "name"=>"Dimitri West", "reference"=>"Miss Garrett Thiel", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4017ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061d58573533775d710000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d58573533775d710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3103ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d58573533775d710000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4524ms
Completed 202 Accepted in 4ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d58573533775d720000'), "name"=>"Genoveva Leffler", "reference"=>"Beaulah Russel", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4058ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061d58573533775d720000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d58573533775d720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3460ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d58573533775d720000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2875ms
Redirected to http://test.host/products/53061d58573533775d720000
Completed 302 Found in 3ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d58573533775d730000'), "firstname"=>"Magali", "lastname"=>"Dach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4476ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1665ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d58573533775d740000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3710ms
Redirected to http://test.host/users/53061d58573533775d740000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2159ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d58573533775d750000'), "firstname"=>"Charity", "lastname"=>"O'Hara"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3533ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2081ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53061d58573533775d750000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d58573533775d750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d58573533775d750000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4093ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3215ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d58573533775d760000'), "firstname"=>"Lucio", "lastname"=>"Gusikowski"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2747ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53061d58573533775d760000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d58573533775d760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3107ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 7.1ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d58573533775d770000'), "firstname"=>"Arvel", "lastname"=>"Bartell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4108ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3622ms
Completed 200 OK in 10ms (Views: 10.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d58573533775d780000'), "firstname"=>"Jace", "lastname"=>"Hermann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3723ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.5ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d58573533775d790000'), "firstname"=>"Colten", "lastname"=>"Ritchie"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4254ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53061d58573533775d790000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d58573533775d790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms
Completed 200 OK in 5ms (Views: 3.7ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d58573533775d7a0000'), "firstname"=>"Junius", "lastname"=>"MacGyver"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3927ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061d58573533775d7a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d58573533775d7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2573ms
Unpermitted parameters: name
Redirected to http://test.host/users/53061d58573533775d7a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6521ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3053ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4262ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2420ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2362ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2416ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d5f5735337788000000'), "firstname"=>"Breanne", "lastname"=>"Nicolas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4668ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1838ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d5f5735337788010000'), "firstname"=>"Shea", "lastname"=>"Parker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.0334ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"53061d5f5735337788010000"}
Completed 500 Internal Server Error in 1ms
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d5f5735337788020000'), "firstname"=>"Kitty", "lastname"=>"Weber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4986ms
Processing by Admin::AdministratorsController#new as HTML
Completed 500 Internal Server Error in 1ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d605735337788030000'), "firstname"=>"Bernice", "lastname"=>"Robel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4339ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"53061d605735337788030000"}
Completed 500 Internal Server Error in 31ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d605735337788040000'), "firstname"=>"Lucienne", "lastname"=>"Gleason"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4773ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"53061d605735337788040000", "administrator"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788050000'), "name"=>"Marjorie Tromp", "reference"=>"Roel Torp", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53061d605735337788060000'), "author_name"=>"Mr. Noelia Bogisich", "content"=>["Rerum exercitationem nihil. Quaerat esse harum. Occaecati facilis quam aperiam sint quis distinctio. Voluptate hic et est et numquam ut ut. Provident unde velit cupiditate."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5188ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d605735337788050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2572ms
Processing by Admin::CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061d605735337788050000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d605735337788050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3284ms
Completed 500 Internal Server Error in 2ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788070000'), "name"=>"Rashawn Gislason", "reference"=>"Alexandre Turner", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53061d605735337788080000'), "author_name"=>"Alana Shanahan", "content"=>["Reiciendis quis eos necessitatibus tempore voluptate. At tenetur ducimus debitis. Fuga quae excepturi."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4491ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d605735337788070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2541ms
Processing by Admin::CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061d605735337788070000", "id"=>"53061d605735337788080000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d605735337788070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms
Completed 500 Internal Server Error in 2ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788090000'), "name"=>"Liliana Predovic", "reference"=>"Lauriane Bahringer", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061d6057353377880a0000'), "author_name"=>"Karl Gusikowski", "content"=>["Rerum cupiditate similique voluptatem. Odit ipsum voluptas laudantium sequi dolorem. Nihil ea eligendi quis perferendis tempore et hic. Eaque aspernatur ullam molestiae qui harum rerum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5668ms
Processing by Admin::CommentsController#edit as HTML
Parameters: {"product_id"=>"53061d605735337788090000", "id"=>"53061d6057353377880a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d605735337788090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3269ms
Completed 500 Internal Server Error in 2ms
----------------------------------------------------
Admin::CommentsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6057353377880b0000'), "name"=>"Cathrine Ernser", "reference"=>"Maye MacGyver", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53061d6057353377880c0000'), "author_name"=>"Dell Donnelly", "content"=>["Dicta fugiat consectetur hic molestiae. Ea odio aut molestiae beatae aliquam modi quo. Accusamus veniam aliquam ut culpa."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms
Processing by Admin::CommentsController#index as HTML
Parameters: {"product_id"=>"53061d6057353377880b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6057353377880b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3192ms
Completed 500 Internal Server Error in 2ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6057353377880d0000'), "name"=>"Larue Kassulke", "reference"=>"Aiyana Wilderman PhD", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061d6057353377880e0000'), "author_name"=>"Glenna Maggio", "content"=>["Quia rerum et aliquid quia harum. Corrupti velit a totam. Laboriosam et adipisci fuga qui."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3402ms
Processing by Admin::CommentsController#new as HTML
Parameters: {"product_id"=>"53061d6057353377880d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6057353377880d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2794ms
Completed 500 Internal Server Error in 2ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6057353377880f0000'), "name"=>"Ernesto Jacobson I", "reference"=>"Miss Dolly Okuneva", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53061d605735337788100000'), "author_name"=>"Lela Bernier I", "content"=>["Cumque tempore consequuntur officia. At aut dolore quis aliquid totam. Quos esse consectetur quisquam et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3497ms
Processing by Admin::CommentsController#show as HTML
Parameters: {"product_id"=>"53061d6057353377880f0000", "id"=>"53061d605735337788100000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6057353377880f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2738ms
Completed 500 Internal Server Error in 29ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788110000'), "name"=>"Barry Kirlin", "reference"=>"Herminio Waelchi", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53061d605735337788120000'), "author_name"=>"Mrs. Pierre Treutel", "content"=>["Et molestiae cumque itaque aut sed est ullam. Autem aliquam sint laboriosam sunt provident architecto ut. Impedit laboriosam debitis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4451ms
Processing by Admin::CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061d605735337788120000", "product_id"=>"53061d605735337788110000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d605735337788110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2738ms
Completed 500 Internal Server Error in 2ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788130000'), "name"=>"Emerson Nitzsche DVM", "reference"=>"Ms. General Nitzsche", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53061d605735337788140000'), "firstname"=>"Alva", "lastname"=>"Gottlieb"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4581ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061d605735337788130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d605735337788130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2893ms
Completed 500 Internal Server Error in 2ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788150000'), "name"=>"Guy Mayer", "reference"=>"Antonette Windler", "quantity"=>"2", "manager"=>{"_id"=>BSON::ObjectId('53061d605735337788160000'), "firstname"=>"Jayden", "lastname"=>"Nikolaus"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3923ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"53061d605735337788160000", "product_id"=>"53061d605735337788150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d605735337788150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2714ms
Completed 500 Internal Server Error in 2ms
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788170000'), "name"=>"Miss Avery Effertz", "reference"=>"Marques Wolff PhD", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061d605735337788180000'), "firstname"=>"Laverne", "lastname"=>"Prohaska"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3380ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"53061d605735337788170000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d605735337788170000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2800ms
Completed 500 Internal Server Error in 2ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788190000'), "name"=>"Justine Rippin", "reference"=>"Sharon Langworth I", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53061d6057353377881a0000'), "firstname"=>"Chasity", "lastname"=>"Upton"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.3284ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"53061d6057353377881a0000", "product_id"=>"53061d605735337788190000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d605735337788190000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3304ms
Completed 500 Internal Server Error in 2ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6057353377881b0000'), "name"=>"Mrs. Verlie Friesen", "reference"=>"Rex Windler", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53061d6057353377881c0000'), "firstname"=>"Shanon", "lastname"=>"Carter"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms
Processing by Admin::ManagersController#update as HTML
Parameters: {"id"=>"53061d6057353377881c0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061d6057353377881b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6057353377881b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2659ms
Completed 500 Internal Server Error in 2ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6057353377881d0000'), "name"=>"Mr. Darby Powlowski", "reference"=>"Kathleen Halvorson Jr.", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4530ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1847ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6057353377881e0000'), "name"=>"Carley Hilpert", "reference"=>"Samara Larkin", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4929ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1899ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53061d6057353377881e0000"}
Completed 500 Internal Server Error in 1ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6057353377881f0000'), "name"=>"Cullen Bernhard", "reference"=>"Mr. Norris Yost", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53061d6057353377881f0000"}
Completed 500 Internal Server Error in 1ms
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788200000'), "name"=>"Verner Schuster", "reference"=>"Brandyn Sawayn", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3902ms
Processing by Admin::ProductsController#index as HTML
Completed 500 Internal Server Error in 1ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788210000'), "name"=>"Mrs. Casey Collins", "reference"=>"Ms. Jackson Yundt", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms
Processing by Admin::ProductsController#new as HTML
Completed 500 Internal Server Error in 1ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788220000'), "name"=>"Madeline Effertz DVM", "reference"=>"Dr. Pattie Labadie", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3759ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53061d605735337788220000"}
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788230000'), "name"=>"Roy Jast", "reference"=>"Kyler Hagenes", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3855ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061d605735337788230000"}
Completed 500 Internal Server Error in 1ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d605735337788240000'), "firstname"=>"Maxine", "lastname"=>"Yundt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4371ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2123ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d605735337788250000'), "firstname"=>"Ardella", "lastname"=>"Stiedemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3940ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2285ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53061d605735337788250000"}
Completed 500 Internal Server Error in 1ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d605735337788260000'), "firstname"=>"Nico", "lastname"=>"Bogan"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7805ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53061d605735337788260000"}
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d605735337788270000'), "firstname"=>"Kyra", "lastname"=>"Pagac"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4131ms
Processing by Admin::UsersController#index as HTML
Completed 500 Internal Server Error in 1ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d605735337788280000'), "firstname"=>"Graciela", "lastname"=>"Kilback"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4051ms
Processing by Admin::UsersController#new as HTML
Completed 500 Internal Server Error in 32ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d605735337788290000'), "firstname"=>"Isom", "lastname"=>"Abbott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4640ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53061d605735337788290000"}
Completed 500 Internal Server Error in 1ms
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d6057353377882a0000'), "firstname"=>"Shaun", "lastname"=>"Kunde"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4322ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061d6057353377882a0000"}
Completed 500 Internal Server Error in 1ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d6057353377882b0000'), "firstname"=>"Kris", "lastname"=>"Swift"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4206ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1855ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d6057353377882c0000'), "firstname"=>"Kieran", "lastname"=>"Corwin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3874ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"53061d6057353377882c0000"}
Completed 500 Internal Server Error in 1ms
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d6057353377882d0000'), "firstname"=>"Mariano", "lastname"=>"Wilkinson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3761ms
Processing by AdministratorsController#new as HTML
Completed 500 Internal Server Error in 1ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d6057353377882e0000'), "firstname"=>"Enos", "lastname"=>"Kassulke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3544ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"53061d6057353377882e0000"}
Completed 500 Internal Server Error in 1ms
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d6057353377882f0000'), "firstname"=>"Fatima", "lastname"=>"Baumbach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3736ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"53061d6057353377882f0000", "administrator"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788300000'), "name"=>"Herminio Ziemann", "reference"=>"Cecelia Hamill", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061d605735337788310000'), "author_name"=>"Dr. Maud Ebert", "content"=>["Ex consequuntur nisi dolores. Consequatur ducimus ipsum voluptas laudantium. Nulla vitae libero expedita ut voluptatem possimus vel. Adipisci exercitationem expedita. Debitis nostrum perspiciatis delectus aspernatur."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4479ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d605735337788300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2120ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061d605735337788300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d605735337788300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2919ms
Completed 500 Internal Server Error in 2ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788320000'), "name"=>"Jaiden Marks", "reference"=>"Jeremy Mosciski", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061d605735337788330000'), "author_name"=>"Shanna Gerhold", "content"=>["Ducimus placeat similique facilis eos. Nihil recusandae itaque dolorum et. Temporibus doloribus delectus et modi non minima quo. Sit sequi accusantium."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4033ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d605735337788320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2049ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061d605735337788320000", "id"=>"53061d605735337788330000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d605735337788320000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2794ms
Completed 500 Internal Server Error in 30ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788340000'), "name"=>"Miss Maximilian Muller", "reference"=>"Hannah Smitham", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061d605735337788350000'), "author_name"=>"Krystina Wilderman", "content"=>["Temporibus et impedit ipsam laborum qui. Est aut quia consectetur. Voluptas non minus exercitationem qui sequi doloribus incidunt. Quaerat dolorem culpa id temporibus ex ipsum."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4741ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"53061d605735337788340000", "id"=>"53061d605735337788350000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d605735337788340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2781ms
Completed 500 Internal Server Error in 2ms
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788360000'), "name"=>"Ashly Bashirian DDS", "reference"=>"Dr. Paolo Gaylord", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('53061d605735337788370000'), "author_name"=>"George Hayes", "content"=>["Et consequatur et accusantium esse architecto nemo. Accusamus consequuntur voluptas aut quia architecto consectetur molestiae. Blanditiis voluptas sed rerum velit. Ut quaerat asperiores repellendus."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3641ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"53061d605735337788360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d605735337788360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2879ms
Completed 500 Internal Server Error in 2ms
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788380000'), "name"=>"Kailey Ernser", "reference"=>"Bridie Marks", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('53061d605735337788390000'), "author_name"=>"Neha Goldner", "content"=>["Dignissimos vel rerum ut neque sit ex dolorum. Repellat harum quo doloremque. Et est quae ut numquam. Aspernatur voluptatem nihil minima."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3681ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"53061d605735337788380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d605735337788380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2750ms
Completed 500 Internal Server Error in 2ms
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6057353377883a0000'), "name"=>"Norberto Heidenreich", "reference"=>"Herta Hilll Sr.", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53061d6057353377883b0000'), "author_name"=>"Gaetano Durgan", "content"=>["Culpa quo maxime tempore sint temporibus. Sed velit laudantium nam nesciunt enim id laborum. Ut odio exercitationem debitis. Odit enim quam. Nobis qui maiores sed voluptate totam qui."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3541ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"53061d6057353377883a0000", "id"=>"53061d6057353377883b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6057353377883a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2837ms
Completed 500 Internal Server Error in 2ms
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6057353377883c0000'), "name"=>"Mafalda Mraz", "reference"=>"Levi Cronin", "quantity"=>"6", "comments"=>[{"_id"=>BSON::ObjectId('53061d6057353377883d0000'), "author_name"=>"Ms. Cierra Rowe", "content"=>["Earum voluptas maiores consectetur porro. Aut ullam atque enim. Sed tempore eveniet exercitationem quis in quasi explicabo. Velit sed repudiandae eos totam nam nesciunt quibusdam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061d6057353377883d0000", "product_id"=>"53061d6057353377883c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6057353377883c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2769ms
Completed 500 Internal Server Error in 2ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d6057353377883e0000'), "firstname"=>"Rodrick", "lastname"=>"Corkery"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4625ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1790ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d6057353377883f0000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3334ms
Redirected to http://test.host/admin/clients/53061d6057353377883f0000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1948ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d605735337788400000'), "firstname"=>"Daisy", "lastname"=>"Bosco"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4683ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2204ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061d605735337788400000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d605735337788400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3164ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d605735337788400000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3734ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2045ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d605735337788410000'), "firstname"=>"Tevin", "lastname"=>"Bayer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2554ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061d605735337788410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d605735337788410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2724ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (36.2ms)
Completed 200 OK in 55ms (Views: 53.4ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d605735337788420000'), "firstname"=>"Lucie", "lastname"=>"Mills"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4307ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3377ms
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d605735337788430000'), "firstname"=>"Landen", "lastname"=>"Lehner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4281ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 6.0ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d605735337788440000'), "firstname"=>"Gideon", "lastname"=>"Bradtke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3856ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061d605735337788440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d605735337788440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2087ms
Completed 200 OK in 5ms (Views: 4.2ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d605735337788450000'), "firstname"=>"Shanon", "lastname"=>"Hagenes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061d605735337788450000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d605735337788450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2642ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d605735337788450000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3203ms
Redirected to http://test.host/admin/clients/53061d605735337788450000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d605735337788460000'), "firstname"=>"Alfreda", "lastname"=>"McDermott"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2708ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1783ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d605735337788470000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3046ms
Redirected to http://test.host/clients/53061d605735337788470000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1848ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d605735337788480000'), "firstname"=>"Darien", "lastname"=>"Wyman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2313ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1696ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061d605735337788480000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d605735337788480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2450ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d605735337788480000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2569ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.4153ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d605735337788490000'), "firstname"=>"Ruthe", "lastname"=>"Heaney"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2755ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061d605735337788490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d605735337788490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3022ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d6057353377884a0000'), "firstname"=>"Blanca", "lastname"=>"Altenwerth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3637ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3771ms
Completed 200 OK in 11ms (Views: 10.1ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d6057353377884b0000'), "firstname"=>"Damien", "lastname"=>"Hintz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3800ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.8ms)
Completed 200 OK in 5ms (Views: 4.6ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d6057353377884c0000'), "firstname"=>"Pascale", "lastname"=>"Renner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061d6057353377884c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d6057353377884c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2432ms
Completed 200 OK in 4ms (Views: 3.1ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d6057353377884d0000'), "firstname"=>"Kallie", "lastname"=>"Larkin"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3390ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061d6057353377884d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d6057353377884d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d6057353377884d0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2762ms
Redirected to http://test.host/clients/53061d6057353377884d0000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6057353377884e0000'), "name"=>"Mrs. Penelope Jaskolski", "reference"=>"Miss Thora Bartoletti", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53061d6057353377884f0000'), "firstname"=>"Renee", "lastname"=>"Davis"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4258ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061d6057353377884e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6057353377884e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2896ms
Completed 500 Internal Server Error in 3ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788500000'), "name"=>"Muhammad Gislason IV", "reference"=>"Trisha Oberbrunner IV", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53061d605735337788510000'), "firstname"=>"Meda", "lastname"=>"Jaskolski"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4012ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"53061d605735337788510000", "product_id"=>"53061d605735337788500000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d605735337788500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2675ms
Completed 500 Internal Server Error in 2ms
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788520000'), "name"=>"Asa Jacobs", "reference"=>"Federico Bartoletti Sr.", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53061d605735337788530000'), "firstname"=>"Jaida", "lastname"=>"Cremin"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3472ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"53061d605735337788520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d605735337788520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2707ms
Completed 500 Internal Server Error in 2ms
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788540000'), "name"=>"Mrs. Andrew McGlynn", "reference"=>"Mr. Bud Gaylord", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53061d605735337788550000'), "firstname"=>"Donavon", "lastname"=>"Larson"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.8866ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"53061d605735337788550000", "product_id"=>"53061d605735337788540000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d605735337788540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3461ms
Completed 500 Internal Server Error in 4ms
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788560000'), "name"=>"Vicky Hoeger", "reference"=>"Van Johnson", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53061d605735337788570000'), "firstname"=>"Earlene", "lastname"=>"McCullough"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3837ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"53061d605735337788570000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061d605735337788560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d605735337788560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2776ms
Completed 500 Internal Server Error in 2ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788580000'), "name"=>"Connie Cassin", "reference"=>"Evie Olson", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4268ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1839ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788590000'), "name"=>"Christiana Ebert", "reference"=>"Miss Ibrahim Torp", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2094ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53061d605735337788590000"}
Completed 500 Internal Server Error in 1ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6057353377885a0000'), "name"=>"Monty Conn", "reference"=>"Dr. Alexandre Kshlerin", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3845ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53061d6057353377885a0000"}
Completed 500 Internal Server Error in 1ms
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6057353377885b0000'), "name"=>"Susan Bins", "reference"=>"Larissa Batz II", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3804ms
Processing by ProductsController#index as HTML
Completed 500 Internal Server Error in 1ms
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6057353377885c0000'), "name"=>"Kristofer Bins MD", "reference"=>"Ayden Jaskolski", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 32.6359ms
Processing by ProductsController#index as JSON
Completed 500 Internal Server Error in 3ms
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6057353377885d0000'), "name"=>"Natalia Kirlin", "reference"=>"Kacie Kessler", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4765ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53061d6057353377885d0000"}
Completed 500 Internal Server Error in 3ms
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6057353377885e0000'), "name"=>"Ms. Skye Dicki", "reference"=>"Kraig Hermiston I", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4775ms
Processing by ProductsController#new as HTML
Completed 500 Internal Server Error in 1ms
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6057353377885f0000'), "name"=>"Mrs. Violette Runolfsdottir", "reference"=>"Ms. Victoria Vandervort", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4365ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53061d6057353377885f0000"}
Completed 500 Internal Server Error in 1ms
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788600000'), "name"=>"Cecile Ward", "reference"=>"Danial Okuneva PhD", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4434ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2312ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 30ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788610000'), "name"=>"Jamie Batz", "reference"=>"Moises Cassin MD", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4391ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53061d605735337788610000"}
Completed 500 Internal Server Error in 3ms
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788620000'), "name"=>"Gwendolyn Mertz", "reference"=>"Dr. Gunner Schuppe", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4657ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 500 Internal Server Error in 3ms
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788630000'), "name"=>"Nico Kutch", "reference"=>"Emmanuelle Gulgowski", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4220ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061d605735337788630000"}
Completed 500 Internal Server Error in 3ms
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d605735337788640000'), "name"=>"Pink Zemlak", "reference"=>"Mr. Thalia Hills", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4289ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061d605735337788640000"}
Completed 500 Internal Server Error in 1ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d605735337788650000'), "firstname"=>"Sienna", "lastname"=>"Ruecker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4237ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2237ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Completed 500 Internal Server Error in 1ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d615735337788660000'), "firstname"=>"Brennon", "lastname"=>"Gaylord"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5275ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2287ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53061d615735337788660000"}
Completed 500 Internal Server Error in 1ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d615735337788670000'), "firstname"=>"Devin", "lastname"=>"Cartwright"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4497ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53061d615735337788670000"}
Completed 500 Internal Server Error in 1ms
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d615735337788680000'), "firstname"=>"Velva", "lastname"=>"Medhurst"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4305ms
Processing by UsersController#index as HTML
Completed 500 Internal Server Error in 1ms
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d615735337788690000'), "firstname"=>"Naomie", "lastname"=>"Lang"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3709ms
Processing by UsersController#new as HTML
Completed 500 Internal Server Error in 31ms
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d6157353377886a0000'), "firstname"=>"Cedrick", "lastname"=>"Stiedemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4059ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53061d6157353377886a0000"}
Completed 500 Internal Server Error in 1ms
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d6157353377886b0000'), "firstname"=>"Rosetta", "lastname"=>"Treutel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3740ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061d6157353377886b0000"}
Completed 500 Internal Server Error in 1ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6492ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3309ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4636ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2939ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2921ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2669ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d6657353377b2000000'), "firstname"=>"Giovanny", "lastname"=>"Becker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4460ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1832ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d6657353377b2010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3805ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2370ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d6657353377b2020000'), "firstname"=>"Adrianna", "lastname"=>"Sawayn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2906ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"53061d6657353377b2020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061d6657353377b2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (35.3ms)
Completed 200 OK in 53ms (Views: 51.9ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d6657353377b2030000'), "firstname"=>"Seamus", "lastname"=>"Walker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4291ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d6657353377b2040000'), "firstname"=>"Felicity", "lastname"=>"Homenick"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4128ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"53061d6657353377b2040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061d6657353377b2040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2570ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d6657353377b2050000'), "firstname"=>"Mackenzie", "lastname"=>"Boehm"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"53061d6657353377b2050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061d6657353377b2050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6657353377b2060000'), "name"=>"Jasmin Gibson", "reference"=>"Nash Walsh", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53061d6657353377b2070000'), "author_name"=>"Miss Sigmund Gleichner", "content"=>["Et reprehenderit pariatur sed soluta. Quidem enim minima quia praesentium doloremque. Necessitatibus velit dolorem omnis qui voluptates. At et incidunt. Aut totam autem pariatur corporis deserunt."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4890ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6657353377b2060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2547ms
Processing by Admin::CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061d6657353377b2060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6657353377b2060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2732ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6657353377b2060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53061d6657353377b2080000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3428ms
Redirected to http://test.host/admin/products/53061d6657353377b2060000/comments/53061d6657353377b2080000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6657353377b2060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2668ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6657353377b2090000'), "name"=>"Marietta Schroeder", "reference"=>"Montana Beahan", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061d6657353377b20a0000'), "author_name"=>"Lane Kuhlman", "content"=>["Labore illum molestias ab tenetur maiores minima. Temporibus consequatur ab illum aut sapiente adipisci. Ut eos perspiciatis iusto eveniet."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3564ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6657353377b2090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2015ms
Processing by Admin::CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061d6657353377b2090000", "id"=>"53061d6657353377b20a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6657353377b2090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4166ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6657353377b2090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53061d6657353377b20a0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3675ms
Redirected to http://test.host/admin/products/53061d6657353377b2090000/comments
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6657353377b2090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2157ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6657353377b20b0000'), "name"=>"Orie Feeney", "reference"=>"Ora Swift", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('53061d6657353377b20c0000'), "author_name"=>"Jaleel Grant", "content"=>["Voluptas cupiditate accusantium eaque itaque. Deserunt excepturi autem neque qui. Id deleniti a nulla ut maxime ea."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3259ms
Processing by Admin::CommentsController#edit as HTML
Parameters: {"product_id"=>"53061d6657353377b20b0000", "id"=>"53061d6657353377b20c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6657353377b20b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2794ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 10ms (Views: 7.6ms)
----------------------------------------------------
Admin::CommentsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6657353377b20d0000'), "name"=>"Ms. Toni Blick", "reference"=>"Audreanne Carroll", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53061d6657353377b20e0000'), "author_name"=>"Webster Hills", "content"=>["Laudantium rem quia voluptate sequi numquam aperiam qui. Quo ducimus veniam aut. Ad modi numquam animi velit odio. Iure voluptatem aut atque. Ratione aliquam eos placeat consequatur qui."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4807ms
Processing by Admin::CommentsController#index as HTML
Parameters: {"product_id"=>"53061d6657353377b20d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6657353377b20d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3623ms
Completed 200 OK in 7ms (Views: 4.9ms)
--------------------------------------------------
Admin::CommentsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6657353377b20f0000'), "name"=>"Annetta Hills", "reference"=>"Muriel Stoltenberg", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061d6657353377b2100000'), "author_name"=>"Geovany Kohler", "content"=>["Id repellat debitis. Et soluta doloribus temporibus omnis aut rerum dolor. Accusamus ea aliquid sunt. Et temporibus animi ut quia voluptate accusantium labore. Similique ut labore dolor laboriosam magnam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4503ms
Processing by Admin::CommentsController#new as HTML
Parameters: {"product_id"=>"53061d6657353377b20f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6657353377b20f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2646ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.2ms)
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6657353377b2110000'), "name"=>"Justyn Hilpert", "reference"=>"Retta Russel", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061d6657353377b2120000'), "author_name"=>"Thalia Hilll", "content"=>["Aut eum perferendis. Perferendis quibusdam in harum eaque illo. Hic quo nemo rerum voluptates veniam placeat est. Eaque quibusdam itaque excepturi velit molestiae. Impedit voluptatem dolorem ea iusto."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4350ms
Processing by Admin::CommentsController#show as HTML
Parameters: {"product_id"=>"53061d6657353377b2110000", "id"=>"53061d6657353377b2120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6657353377b2110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2712ms
Completed 200 OK in 6ms (Views: 3.9ms)
-------------------------------------------------
Admin::CommentsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6657353377b2130000'), "name"=>"Berneice Kovacek", "reference"=>"Miss Polly Lesch", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('53061d6657353377b2140000'), "author_name"=>"Rachelle Watsica", "content"=>["Voluptatem eos hic enim minima. Voluptatem sed quidem. Quia est atque fugiat. Sit vitae aut nesciunt soluta laborum occaecati."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5099ms
Processing by Admin::CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061d6657353377b2140000", "product_id"=>"53061d6657353377b2130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6657353377b2130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3639ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6657353377b2130000'), "comments._id"=>BSON::ObjectId('53061d6657353377b2140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4301ms
Redirected to http://test.host/admin/products/53061d6657353377b2130000/comments/53061d6657353377b2140000
Completed 302 Found in 4ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6657353377b2150000'), "name"=>"Lilliana Pacocha", "reference"=>"Patricia Olson", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53061d6657353377b2160000'), "firstname"=>"Viola", "lastname"=>"Kilback"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.8635ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061d6657353377b2150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6657353377b2150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3573ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6657353377b2150000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3848ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6657353377b2150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53061d6657353377b2170000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2847ms
Redirected to http://test.host/admin/products/53061d6657353377b2150000/manager
Completed 302 Found in 5ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6657353377b2180000'), "name"=>"Cloyd Murazik PhD", "reference"=>"Otilia Orn", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53061d6657353377b2190000'), "firstname"=>"Amina", "lastname"=>"Koss"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"53061d6657353377b2190000", "product_id"=>"53061d6657353377b2180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6657353377b2180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2910ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.2ms)
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6657353377b21a0000'), "name"=>"Mr. Kaylie Hoeger", "reference"=>"Simone Gleichner", "quantity"=>"5", "manager"=>{"_id"=>BSON::ObjectId('53061d6657353377b21b0000'), "firstname"=>"Jessyca", "lastname"=>"Schulist"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4184ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"53061d6657353377b21a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6657353377b21a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3779ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.4ms)
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6657353377b21c0000'), "name"=>"Christophe Nolan", "reference"=>"Presley Powlowski", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53061d6657353377b21d0000'), "firstname"=>"Katherine", "lastname"=>"Gerhold"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4750ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"53061d6657353377b21d0000", "product_id"=>"53061d6657353377b21c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6657353377b21c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2737ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6657353377b21e0000'), "name"=>"Kaley Kunze I", "reference"=>"Darius Deckow", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('53061d6657353377b21f0000'), "firstname"=>"Anjali", "lastname"=>"Runolfsdottir"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms
Processing by Admin::ManagersController#update as HTML
Parameters: {"id"=>"53061d6657353377b21f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061d6657353377b21e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6657353377b21e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2164ms
Unpermitted parameters: name
Redirected to http://test.host/admin/products/53061d6657353377b21e0000/manager
Completed 302 Found in 3ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2200000'), "name"=>"Edgardo Konopelski IV", "reference"=>"Raegan King", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4198ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1691ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3449ms
Redirected to http://test.host/admin/products/53061d6757353377b2210000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1802ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2220000'), "name"=>"Patsy Terry", "reference"=>"Luis Swaniawski", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1621ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"53061d6757353377b2220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2427ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2794ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1771ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2230000'), "name"=>"Izabella Emard", "reference"=>"Otto Huels", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3797ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"53061d6757353377b2230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2708ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.6ms)
Completed 200 OK in 9ms (Views: 8.1ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2240000'), "name"=>"Elenora Roob", "reference"=>"Gertrude Jerde", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5140ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5700ms
Completed 200 OK in 14ms (Views: 13.2ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2250000'), "name"=>"Miss Lucio Nader", "reference"=>"Leif Upton", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3580ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 23ms (Views: 5.9ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2280000'), "name"=>"Renee Franecki", "reference"=>"Jacky Kuvalis", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4188ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"53061d6757353377b2280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms
Completed 200 OK in 5ms (Views: 3.7ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2290000'), "name"=>"Mrs. Leonie Ernser", "reference"=>"Laurel Kautzer", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061d6757353377b2290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2368ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2290000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3244ms
Redirected to http://test.host/admin/products/53061d6757353377b2290000
Completed 302 Found in 4ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d6757353377b22a0000'), "firstname"=>"Spencer", "lastname"=>"Ruecker"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4504ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1627ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d6757353377b22b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3092ms
Redirected to http://test.host/admin/users/53061d6757353377b22b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1702ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d6757353377b22c0000'), "firstname"=>"Karine", "lastname"=>"Hoeger"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3334ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1955ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"53061d6757353377b22c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d6757353377b22c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2985ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d6757353377b22c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3512ms
Redirected to http://test.host/admin/users
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2322ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d6757353377b22d0000'), "firstname"=>"Brennon", "lastname"=>"Hamill"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2447ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"53061d6757353377b22d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d6757353377b22d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2785ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 8ms (Views: 7.1ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d6757353377b22e0000'), "firstname"=>"Flavio", "lastname"=>"Bogisich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.6278ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4298ms
Completed 200 OK in 40ms (Views: 39.2ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d6757353377b22f0000'), "firstname"=>"Gregory", "lastname"=>"Schowalter"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4070ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2300000'), "firstname"=>"Greta", "lastname"=>"Stracke"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4121ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"53061d6757353377b2300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d6757353377b2300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2738ms
Completed 200 OK in 6ms (Views: 4.2ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2310000'), "firstname"=>"Freddie", "lastname"=>"Lueilwitz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4552ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061d6757353377b2310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d6757353377b2310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2663ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/53061d6757353377b2310000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2320000'), "firstname"=>"Carter", "lastname"=>"DuBuque"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1861ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2330000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3394ms
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1922ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2340000'), "firstname"=>"Allen", "lastname"=>"Prohaska"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3059ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"53061d6757353377b2340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061d6757353377b2340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2692ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 9ms (Views: 7.3ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2350000'), "firstname"=>"Khalil", "lastname"=>"Hegmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4110ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.2ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2360000'), "firstname"=>"David", "lastname"=>"Torphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4177ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"53061d6757353377b2360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061d6757353377b2360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2652ms
Completed 200 OK in 5ms (Views: 3.7ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2370000'), "firstname"=>"Jillian", "lastname"=>"Streich"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.7923ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"53061d6757353377b2370000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('53061d6757353377b2370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2569ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2380000'), "name"=>"Darlene Koss", "reference"=>"Isabelle Cummerata", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061d6757353377b2390000'), "author_name"=>"Flavie Price", "content"=>["Placeat sint illo aut ullam officiis autem et. Quasi consequatur tempore error. Qui enim aut ut voluptas ipsum. Non ut vero officiis dolores et. Ex non fugit odio debitis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4923ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2120ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"53061d6757353377b2380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2804ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('53061d6757353377b23a0000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3299ms
Redirected to http://test.host/products/53061d6757353377b2380000/comments/53061d6757353377b23a0000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2154ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b23b0000'), "name"=>"Alvis Moen", "reference"=>"Brent Little", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53061d6757353377b23c0000'), "author_name"=>"Haleigh MacGyver", "content"=>["Et eos debitis. Minima odit quod vel consequatur quo. Inventore nihil est ea aperiam laboriosam est. Ut magni magnam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3636ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b23b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2009ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"53061d6757353377b23b0000", "id"=>"53061d6757353377b23c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b23b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2634ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b23b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('53061d6757353377b23c0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2949ms
Redirected to http://test.host/products/53061d6757353377b23b0000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b23b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1912ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b23d0000'), "name"=>"Leonor Wunsch II", "reference"=>"Golda Durgan IV", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53061d6757353377b23e0000'), "author_name"=>"Dr. Nils Dickens", "content"=>["Iste omnis dolor error consectetur qui. Accusantium est rerum at quaerat aut iusto. Eos repudiandae quis quo vitae. Consectetur distinctio dignissimos aut reprehenderit expedita temporibus aliquid."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3201ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"53061d6757353377b23d0000", "id"=>"53061d6757353377b23e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b23d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2671ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.0ms)
Completed 200 OK in 10ms (Views: 7.8ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b23f0000'), "name"=>"Mrs. Antonette Dietrich", "reference"=>"Helmer Harvey", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('53061d6757353377b2400000'), "author_name"=>"Lizzie Medhurst II", "content"=>["Est cupiditate mollitia. Ullam eaque eum natus a ipsa. Nemo magni et omnis quae sint voluptatibus. Mollitia et earum distinctio voluptas. Non et nulla unde veniam qui nobis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4973ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"53061d6757353377b23f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b23f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3472ms
Completed 200 OK in 7ms (Views: 4.6ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2410000'), "name"=>"Rafael Schultz", "reference"=>"Jarred Kohler", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('53061d6757353377b2420000'), "author_name"=>"Tianna Russel", "content"=>["Molestiae necessitatibus minus ut sunt et ut deleniti. Unde distinctio laboriosam et. Ut maxime quis repudiandae."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4185ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"53061d6757353377b2410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2864ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.2ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2430000'), "name"=>"Marcelle Schmeler", "reference"=>"Mose Senger DVM", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('53061d6757353377b2440000'), "author_name"=>"Jerod Klein", "content"=>["Sed officia non ut id quisquam ex. Culpa sit impedit natus qui dolore adipisci velit. Qui veniam placeat ut quia. Quia quam in iure molestiae."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5054ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"53061d6757353377b2430000", "id"=>"53061d6757353377b2440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2962ms
Completed 200 OK in 6ms (Views: 4.0ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2450000'), "name"=>"Miss Jean Funk", "reference"=>"Ashlee Davis", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('53061d6757353377b2460000'), "author_name"=>"Barrett Gleichner", "content"=>["Ut aut enim sed voluptates quos occaecati. Veniam harum exercitationem sed soluta minus sapiente cum. Corrupti ut et commodi minus eaque amet. Repellendus voluptatem tempora. Alias totam sit quisquam."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4564ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"53061d6757353377b2460000", "product_id"=>"53061d6757353377b2450000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2665ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2450000'), "comments._id"=>BSON::ObjectId('53061d6757353377b2460000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4318ms
Redirected to http://test.host/products/53061d6757353377b2450000/comments/53061d6757353377b2460000
Completed 302 Found in 5ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2470000'), "firstname"=>"Nathaniel", "lastname"=>"Eichmann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4583ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1845ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2480000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3356ms
Redirected to http://test.host/admin/clients/53061d6757353377b2480000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1938ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2490000'), "firstname"=>"Sydnee", "lastname"=>"Stark"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3120ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1765ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061d6757353377b2490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d6757353377b2490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2461ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d6757353377b2490000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3121ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1888ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d6757353377b24a0000'), "firstname"=>"Timothy", "lastname"=>"Stehr"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2474ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061d6757353377b24a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d6757353377b24a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms)
Completed 200 OK in 10ms (Views: 9.1ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d6757353377b24b0000'), "firstname"=>"Deven", "lastname"=>"Blanda"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4326ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3244ms
Completed 200 OK in 8ms (Views: 6.8ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d6757353377b24c0000'), "firstname"=>"Hank", "lastname"=>"Schmidt"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4273ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.0ms)
Completed 200 OK in 39ms (Views: 38.7ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d6757353377b24d0000'), "firstname"=>"Francisco", "lastname"=>"Greenfelder"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4151ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061d6757353377b24d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d6757353377b24d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2517ms
Completed 200 OK in 6ms (Views: 4.3ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d6757353377b24e0000'), "firstname"=>"Eliane", "lastname"=>"Satterfield"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061d6757353377b24e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d6757353377b24e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2708ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d6757353377b24e0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3255ms
Redirected to http://test.host/admin/clients/53061d6757353377b24e0000
Completed 302 Found in 3ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d6757353377b24f0000'), "firstname"=>"Garett", "lastname"=>"Lang"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2756ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1805ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2500000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3011ms
Redirected to http://test.host/clients/53061d6757353377b2500000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1666ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2510000'), "firstname"=>"Paul", "lastname"=>"Heller"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2374ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1732ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"53061d6757353377b2510000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d6757353377b2510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2438ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d6757353377b2510000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2363ms
Redirected to http://test.host/clients
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1890ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2520000'), "firstname"=>"Una", "lastname"=>"Schmeler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2802ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"53061d6757353377b2520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d6757353377b2520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4012ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.5ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2530000'), "firstname"=>"Doug", "lastname"=>"Murazik"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3836ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3766ms
Completed 200 OK in 11ms (Views: 10.2ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2540000'), "firstname"=>"Gardner", "lastname"=>"Lesch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3595ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.3ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2550000'), "firstname"=>"Annette", "lastname"=>"Thiel"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4475ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"53061d6757353377b2550000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d6757353377b2550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2629ms
Completed 200 OK in 5ms (Views: 3.2ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2560000'), "firstname"=>"Jamaal", "lastname"=>"Langosh"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3475ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"53061d6757353377b2560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d6757353377b2560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2357ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('53061d6757353377b2560000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2830ms
Redirected to http://test.host/clients/53061d6757353377b2560000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2570000'), "name"=>"Alexandrine Kshlerin", "reference"=>"Ms. Grover Schimmel", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061d6757353377b2580000'), "firstname"=>"Kyleigh", "lastname"=>"Mraz"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3922ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"53061d6757353377b2570000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3257ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2570000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.3167ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2570000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('53061d6757353377b2590000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2707ms
Redirected to http://test.host/products/53061d6757353377b2570000/manager
Completed 302 Found in 11ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b25a0000'), "name"=>"Deon Pfannerstill", "reference"=>"Mr. Kelsi Kohler", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('53061d6757353377b25b0000'), "firstname"=>"Jada", "lastname"=>"Kunde"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4353ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"53061d6757353377b25b0000", "product_id"=>"53061d6757353377b25a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b25a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3223ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 9ms (Views: 7.1ms)
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b25c0000'), "name"=>"Carol Oberbrunner", "reference"=>"Jaren Paucek", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('53061d6757353377b25d0000'), "firstname"=>"Jeff", "lastname"=>"Haley"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4608ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"53061d6757353377b25c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b25c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 6.0ms)
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b25e0000'), "name"=>"Miss Wendy Wilkinson", "reference"=>"Roma Green II", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('53061d6757353377b25f0000'), "firstname"=>"Liza", "lastname"=>"Graham"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4526ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"53061d6757353377b25f0000", "product_id"=>"53061d6757353377b25e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b25e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2745ms
Completed 200 OK in 40ms (Views: 37.9ms)
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2600000'), "name"=>"Vicky Johns", "reference"=>"Kaelyn Jast", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('53061d6757353377b2610000'), "firstname"=>"Aileen", "lastname"=>"Torphy"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4389ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"53061d6757353377b2610000", "manager"=>{"name"=>"Hello"}, "product_id"=>"53061d6757353377b2600000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2784ms
Unpermitted parameters: name
Redirected to http://test.host/products/53061d6757353377b2600000/manager
Completed 302 Found in 3ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2620000'), "name"=>"Mr. Ludie Romaguera", "reference"=>"Rodrick Leffler", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4421ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1839ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2630000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3717ms
Redirected to http://test.host/products/53061d6757353377b2630000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2200ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2640000'), "name"=>"Dr. Garrison Gerlach", "reference"=>"Jalon Gutkowski", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3603ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1817ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"53061d6757353377b2640000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2638ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2640000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2615ms
Redirected to http://test.host/products
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2139ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2650000'), "name"=>"Leslie Lowe", "reference"=>"Domenic Quitzon", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.7128ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"53061d6757353377b2650000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (4.4ms)
Completed 200 OK in 10ms (Views: 9.1ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2660000'), "name"=>"Elinore Jacobson", "reference"=>"Mrs. Merl Lemke", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4221ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7386ms
Completed 200 OK in 23ms (Views: 22.3ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2670000'), "name"=>"Francisco Zemlak", "reference"=>"Miss Vicenta Cole", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4158ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7113ms
Completed 200 OK in 5ms (Views: 2.0ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2680000'), "name"=>"Francisca Green V", "reference"=>"Ms. Kayden Keebler", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3233ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"53061d6757353377b2680000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2589ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2690000'), "name"=>"Lenore Muller III", "reference"=>"Mr. Marilyne Daugherty", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2922ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.1ms)
Completed 200 OK in 7ms (Views: 6.1ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b26b0000'), "name"=>"Edyth Walker", "reference"=>"Aurelio Runolfsson II", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4091ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"53061d6757353377b26b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b26b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2870ms
Completed 200 OK in 6ms (Views: 4.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b26c0000'), "name"=>"Mr. Madyson Denesik", "reference"=>"Dr. Alexzander Ledner", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4244ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2007ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b26d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3164ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1962ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b26e0000'), "name"=>"Lourdes Lehner", "reference"=>"Miss Linnea Bosco", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2358ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"53061d6757353377b26e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b26e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2665ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b26e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2516ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b26f0000'), "name"=>"Caleigh D'Amore", "reference"=>"Ignacio Ortiz", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2575ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2710000'), "name"=>"Juston Lubowitz", "reference"=>"Leonora Kihn", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3850ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061d6757353377b2710000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2597ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2710000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2923ms
Completed 202 Accepted in 3ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2720000'), "name"=>"Sonya Cole PhD", "reference"=>"Reece Stroman", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3080ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"53061d6757353377b2720000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3495ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('53061d6757353377b2720000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4603ms
Redirected to http://test.host/products/53061d6757353377b2720000
Completed 302 Found in 10ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2730000'), "firstname"=>"Torey", "lastname"=>"Borer"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4274ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1861ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2740000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3360ms
Redirected to http://test.host/users/53061d6757353377b2740000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2064ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2750000'), "firstname"=>"Cristopher", "lastname"=>"Stiedemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3197ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2255ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"53061d6757353377b2750000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d6757353377b2750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4182ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d6757353377b2750000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3188ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2376ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2760000'), "firstname"=>"Jacklyn", "lastname"=>"Ziemann"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3020ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"53061d6757353377b2760000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d6757353377b2760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2605ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 8ms (Views: 7.0ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2770000'), "firstname"=>"Alyson", "lastname"=>"Morar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4431ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3608ms
Completed 200 OK in 10ms (Views: 10.0ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2780000'), "firstname"=>"Lillie", "lastname"=>"Rodriguez"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4472ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d6757353377b2790000'), "firstname"=>"Uriel", "lastname"=>"Keebler"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4163ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"53061d6757353377b2790000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d6757353377b2790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2470ms
Completed 200 OK in 5ms (Views: 3.6ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('53061d6757353377b27a0000'), "firstname"=>"Harvey", "lastname"=>"Sipes"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3999ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"53061d6757353377b27a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('53061d6757353377b27a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2508ms
Unpermitted parameters: name
Redirected to http://test.host/users/53061d6757353377b27a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6475ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 3.3219ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 95.2163ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3777ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3270ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3249ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5306f4325735330ebc000000'), "firstname"=>"Patrick", "lastname"=>"Nicolas"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4787ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1806ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5306f4325735330ebc010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4096ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2008ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5306f4325735330ebc020000'), "firstname"=>"Serena", "lastname"=>"Cormier"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3120ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"5306f4325735330ebc020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5306f4325735330ebc020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2622ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (76.2ms)
Completed 200 OK in 387ms (Views: 386.2ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc030000'), "firstname"=>"Kiley", "lastname"=>"Kuphal"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4607ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.3ms)
Completed 200 OK in 6ms (Views: 5.7ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc040000'), "firstname"=>"Bethany", "lastname"=>"Bauch"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"5306f4335735330ebc040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5306f4335735330ebc040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3302ms
Completed 200 OK in 6ms (Views: 4.0ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc050000'), "firstname"=>"Ophelia", "lastname"=>"Kuhn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4171ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"5306f4335735330ebc050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5306f4335735330ebc050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3253ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 3ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc060000'), "name"=>"Bertha Lemke PhD", "reference"=>"Mrs. Felipa Mante", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5306f4335735330ebc070000'), "author_name"=>"Dorian Fahey", "content"=>["Voluptatem dicta vel. Autem reiciendis qui molestiae blanditiis. Ut commodi natus atque. Quia consequuntur vitae explicabo corrupti ut doloribus. Consequatur nam ducimus vitae voluptas quia necessitatibus."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.2145ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2402ms
Processing by Admin::CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5306f4335735330ebc060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2911ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5306f4335735330ebc080000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4194ms
Redirected to http://test.host/admin/products/5306f4335735330ebc060000/comments/5306f4335735330ebc080000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3054ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc090000'), "name"=>"Emmett Champlin", "reference"=>"Friedrich Kilback", "quantity"=>"3", "comments"=>[{"_id"=>BSON::ObjectId('5306f4335735330ebc0a0000'), "author_name"=>"Kian Kris", "content"=>["Consequuntur corporis beatae tenetur officia cupiditate optio. Inventore illo fuga molestiae voluptatum culpa. Blanditiis modi accusantium est. Quis id alias quo voluptatum cum sed aut."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4140ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2173ms
Processing by Admin::CommentsController#destroy as HTML
Parameters: {"product_id"=>"5306f4335735330ebc090000", "id"=>"5306f4335735330ebc0a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5306f4335735330ebc0a0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3499ms
Redirected to http://test.host/admin/products/5306f4335735330ebc090000/comments
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2186ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc0b0000'), "name"=>"Cristina Greenfelder DDS", "reference"=>"Destiny Nader", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5306f4335735330ebc0c0000'), "author_name"=>"Gay Hilll", "content"=>["Molestiae ea magni tempore doloribus facere quo. Dolorem consequatur nihil vel. Veritatis voluptas aliquam officiis sit ea. Aut harum rerum velit est qui modi."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3457ms
Processing by Admin::CommentsController#edit as HTML
Parameters: {"product_id"=>"5306f4335735330ebc0b0000", "id"=>"5306f4335735330ebc0c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2896ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 10ms (Views: 7.8ms)
----------------------------------------------------
Admin::CommentsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc0d0000'), "name"=>"Kareem McGlynn", "reference"=>"Isadore Schroeder", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5306f4335735330ebc0e0000'), "author_name"=>"Ariel Wilderman", "content"=>["Vero quaerat itaque alias animi. Numquam reprehenderit quam similique in totam officiis. Quis occaecati dignissimos ducimus. Non neque dolor iste facilis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4598ms
Processing by Admin::CommentsController#index as HTML
Parameters: {"product_id"=>"5306f4335735330ebc0d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4150ms
Completed 200 OK in 7ms (Views: 4.7ms)
--------------------------------------------------
Admin::CommentsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc0f0000'), "name"=>"Miss Deborah Wuckert", "reference"=>"Vivianne Zulauf", "quantity"=>"5", "comments"=>[{"_id"=>BSON::ObjectId('5306f4335735330ebc100000'), "author_name"=>"Haylee Gislason PhD", "content"=>["Et placeat nostrum sint quo autem quae. Laboriosam quaerat ducimus est magnam et consequatur. Maiores rerum enim magni eos commodi."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4676ms
Processing by Admin::CommentsController#new as HTML
Parameters: {"product_id"=>"5306f4335735330ebc0f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2852ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.5ms)
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc110000'), "name"=>"Mrs. Ethel Goldner", "reference"=>"Bryce Mitchell", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5306f4335735330ebc120000'), "author_name"=>"Erwin Little", "content"=>["Unde ea dolorem. Autem laboriosam porro. Et qui repudiandae qui est et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4591ms
Processing by Admin::CommentsController#show as HTML
Parameters: {"product_id"=>"5306f4335735330ebc110000", "id"=>"5306f4335735330ebc120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3334ms
Completed 200 OK in 7ms (Views: 4.6ms)
-------------------------------------------------
Admin::CommentsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc130000'), "name"=>"Lilliana Romaguera", "reference"=>"Dayana Schaden", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5306f4335735330ebc140000'), "author_name"=>"Rhett Lindgren", "content"=>["Dolore est unde consequatur enim eum. Eius et autem quas omnis vero. Illum exercitationem cum dolor ea esse deserunt corrupti."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.0075ms
Processing by Admin::CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5306f4335735330ebc140000", "product_id"=>"5306f4335735330ebc130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3274ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc130000'), "comments._id"=>BSON::ObjectId('5306f4335735330ebc140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5091ms
Redirected to http://test.host/admin/products/5306f4335735330ebc130000/comments/5306f4335735330ebc140000
Completed 302 Found in 4ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc150000'), "name"=>"Sebastian Bergstrom", "reference"=>"Nova Crist", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('5306f4335735330ebc160000'), "firstname"=>"Vincent", "lastname"=>"Nienow"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5057ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5306f4335735330ebc150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3474ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc150000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3856ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5306f4335735330ebc170000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2242ms
Redirected to http://test.host/admin/products/5306f4335735330ebc150000/manager
Completed 302 Found in 5ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc180000'), "name"=>"Mrs. Jaunita Ratke", "reference"=>"Eulah Monahan", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5306f4335735330ebc190000'), "firstname"=>"Simeon", "lastname"=>"Jaskolski"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4511ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"5306f4335735330ebc190000", "product_id"=>"5306f4335735330ebc180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3333ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.2ms)
Completed 200 OK in 10ms (Views: 8.1ms)
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc1a0000'), "name"=>"Andreanne Windler IV", "reference"=>"Mitchell Smitham", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5306f4335735330ebc1b0000'), "firstname"=>"Aurelie", "lastname"=>"Hilll"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4660ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"5306f4335735330ebc1a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3022ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.3ms)
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc1c0000'), "name"=>"Napoleon Wiza", "reference"=>"Mrs. Cody Kuhn", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5306f4335735330ebc1d0000'), "firstname"=>"Avery", "lastname"=>"Morissette"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4277ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"5306f4335735330ebc1d0000", "product_id"=>"5306f4335735330ebc1c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2639ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc1e0000'), "name"=>"Scotty Bailey DDS", "reference"=>"Wilhelmine Bosco", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('5306f4335735330ebc1f0000'), "firstname"=>"Noemie", "lastname"=>"Balistreri"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4281ms
Processing by Admin::ManagersController#update as HTML
Parameters: {"id"=>"5306f4335735330ebc1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5306f4335735330ebc1e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2667ms
Unpermitted parameters: name
Redirected to http://test.host/admin/products/5306f4335735330ebc1e0000/manager
Completed 302 Found in 3ms
-------------------------------------------------
Admin::ProductsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc200000'), "name"=>"Kennedy D'Amore", "reference"=>"Paula Krajcik", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5267ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1913ms
Processing by Admin::ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc210000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4438ms
Redirected to http://test.host/admin/products/5306f4335735330ebc210000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2299ms
--------------------------------------------------
Admin::ProductsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc220000'), "name"=>"Imogene Larson", "reference"=>"Jayson Lueilwitz", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4065ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2023ms
Processing by Admin::ProductsController#destroy as HTML
Parameters: {"id"=>"5306f4335735330ebc220000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3017ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc220000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3092ms
Redirected to http://test.host/admin/products
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1781ms
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc230000'), "name"=>"Cruz Heathcote", "reference"=>"Mr. Michel Bogisich", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2622ms
Processing by Admin::ProductsController#edit as HTML
Parameters: {"id"=>"5306f4335735330ebc230000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3147ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.8ms)
Completed 200 OK in 10ms (Views: 8.9ms)
----------------------------------------------------
Admin::ProductsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc240000'), "name"=>"Delbert Mante", "reference"=>"Agustin Terry", "quantity"=>"3"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4271ms
Processing by Admin::ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5697ms
Completed 200 OK in 14ms (Views: 13.5ms)
--------------------------------------------------
Admin::ProductsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc250000'), "name"=>"Charity Schinner", "reference"=>"Cesar Robel", "quantity"=>"6"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3929ms
Processing by Admin::ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 22ms (Views: 5.8ms)
---------------------------------------------------
Admin::ProductsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc280000'), "name"=>"Arnoldo Boyle", "reference"=>"Mrs. Lavinia Wolff", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4167ms
Processing by Admin::ProductsController#show as HTML
Parameters: {"id"=>"5306f4335735330ebc280000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2467ms
Completed 200 OK in 5ms (Views: 4.0ms)
-------------------------------------------------
Admin::ProductsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc290000'), "name"=>"Nathan Sipes PhD", "reference"=>"Adelbert Jacobson", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4419ms
Processing by Admin::ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5306f4335735330ebc290000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2878ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc290000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1281ms
Redirected to http://test.host/admin/products/5306f4335735330ebc290000
Completed 302 Found in 9ms
----------------------------------------------
Admin::UsersControllerTest: test_should_create
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc2a0000'), "firstname"=>"Mina", "lastname"=>"Aufderhar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4492ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1605ms
Processing by Admin::UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc2b0000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3286ms
Redirected to http://test.host/admin/users/5306f4335735330ebc2b0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2826ms
-----------------------------------------------
Admin::UsersControllerTest: test_should_destroy
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc2c0000'), "firstname"=>"Stefan", "lastname"=>"Bashirian"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4635ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2720ms
Processing by Admin::UsersController#destroy as HTML
Parameters: {"id"=>"5306f4335735330ebc2c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5306f4335735330ebc2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4568ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5306f4335735330ebc2c0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms
Redirected to http://test.host/admin/users
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2547ms
------------------------------------------------
Admin::UsersControllerTest: test_should_get_edit
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc2d0000'), "firstname"=>"Reta", "lastname"=>"Gaylord"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3377ms
Processing by Admin::UsersController#edit as HTML
Parameters: {"id"=>"5306f4335735330ebc2d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5306f4335735330ebc2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4104ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.5ms)
-------------------------------------------------
Admin::UsersControllerTest: test_should_get_index
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc2e0000'), "firstname"=>"Vilma", "lastname"=>"Erdman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4317ms
Processing by Admin::UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4423ms
Completed 200 OK in 42ms (Views: 41.6ms)
-----------------------------------------------
Admin::UsersControllerTest: test_should_get_new
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc2f0000'), "firstname"=>"Earnest", "lastname"=>"Upton"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3623ms
Processing by Admin::UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.2ms)
------------------------------------------------
Admin::UsersControllerTest: test_should_get_show
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc300000'), "firstname"=>"Natasha", "lastname"=>"Wiza"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms
Processing by Admin::UsersController#show as HTML
Parameters: {"id"=>"5306f4335735330ebc300000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5306f4335735330ebc300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2481ms
Completed 200 OK in 5ms (Views: 3.7ms)
----------------------------------------------
Admin::UsersControllerTest: test_should_update
----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc310000'), "firstname"=>"Willie", "lastname"=>"Bode"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.4886ms
Processing by Admin::UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5306f4335735330ebc310000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5306f4335735330ebc310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3053ms
Unpermitted parameters: name
Redirected to http://test.host/admin/users/5306f4335735330ebc310000
Completed 302 Found in 2ms
------------------------------------------------
AdministratorsControllerTest: test_should_create
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc320000'), "firstname"=>"Lawrence", "lastname"=>"Larson"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5126ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1876ms
Processing by AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc330000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4401ms
Redirected to http://test.host/administrator
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2116ms
--------------------------------------------------
AdministratorsControllerTest: test_should_get_edit
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc340000'), "firstname"=>"Don", "lastname"=>"Kovacek"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3126ms
Processing by AdministratorsController#edit as HTML
Parameters: {"id"=>"5306f4335735330ebc340000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5306f4335735330ebc340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2897ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 9ms (Views: 8.2ms)
-------------------------------------------------
AdministratorsControllerTest: test_should_get_new
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc350000'), "firstname"=>"Victor", "lastname"=>"Cartwright"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4451ms
Processing by AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.4ms)
Completed 200 OK in 6ms (Views: 5.6ms)
--------------------------------------------------
AdministratorsControllerTest: test_should_get_show
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc360000'), "firstname"=>"Ricardo", "lastname"=>"Carroll"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4381ms
Processing by AdministratorsController#show as HTML
Parameters: {"id"=>"5306f4335735330ebc360000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5306f4335735330ebc360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2932ms
Completed 200 OK in 5ms (Views: 3.8ms)
------------------------------------------------
AdministratorsControllerTest: test_should_update
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc370000'), "firstname"=>"Luciano", "lastname"=>"Gerlach"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4152ms
Processing by AdministratorsController#update as HTML
Parameters: {"id"=>"5306f4335735330ebc370000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('5306f4335735330ebc370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2487ms
Unpermitted parameters: name
Redirected to http://test.host/administrator
Completed 302 Found in 2ms
------------------------------------------
CommentsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc380000'), "name"=>"Dennis Jacobson", "reference"=>"Jarrod Wilkinson", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5306f4335735330ebc390000'), "author_name"=>"Cheyanne Mraz II", "content"=>["Velit quas libero dicta recusandae quis. Praesentium quaerat aut officia amet sunt. Neque doloremque ut quibusdam eaque quas consectetur. Minima aliquid explicabo."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4610ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1871ms
Processing by CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"5306f4335735330ebc380000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3543ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc380000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('5306f4335735330ebc3a0000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4965ms
Redirected to http://test.host/products/5306f4335735330ebc380000/comments/5306f4335735330ebc3a0000
Completed 302 Found in 5ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1981ms
-------------------------------------------
CommentsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc3b0000'), "name"=>"Kaleigh Jakubowski", "reference"=>"Mr. Marilie Davis", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5306f4335735330ebc3c0000'), "author_name"=>"Dylan Pouros", "content"=>["Vel alias delectus magni. Quia minima voluptas voluptate aut. Cumque qui ipsum sint iure quos itaque."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4522ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1944ms
Processing by CommentsController#destroy as HTML
Parameters: {"product_id"=>"5306f4335735330ebc3b0000", "id"=>"5306f4335735330ebc3c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3126ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc3b0000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('5306f4335735330ebc3c0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3728ms
Redirected to http://test.host/products/5306f4335735330ebc3b0000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1880ms
--------------------------------------------
CommentsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc3d0000'), "name"=>"Miss Araceli Cassin", "reference"=>"Vernice Sporer", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('5306f4335735330ebc3e0000'), "author_name"=>"Mr. Dejon Mills", "content"=>["A ut et voluptatem debitis. Omnis sequi velit sunt dolorem. Quisquam voluptatem omnis voluptatem."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3240ms
Processing by CommentsController#edit as HTML
Parameters: {"product_id"=>"5306f4335735330ebc3d0000", "id"=>"5306f4335735330ebc3e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3002ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.6ms)
Completed 200 OK in 9ms (Views: 7.3ms)
---------------------------------------------
CommentsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc3f0000'), "name"=>"Miss Baylee Ziemann", "reference"=>"Destini Lebsack", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('5306f4335735330ebc400000'), "author_name"=>"Emerald Kuphal", "content"=>["Illo voluptas quidem sit minus vitae in. Minus excepturi quos est non voluptatum. Quos placeat magni commodi. Ipsam aut nesciunt et saepe animi officia deserunt. Rerum tempora voluptas perferendis in quia."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4940ms
Processing by CommentsController#index as HTML
Parameters: {"product_id"=>"5306f4335735330ebc3f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3538ms
Completed 200 OK in 9ms (Views: 6.5ms)
-------------------------------------------
CommentsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc410000'), "name"=>"Cheyanne Abernathy DVM", "reference"=>"Althea Bahringer DDS", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('5306f4335735330ebc420000'), "author_name"=>"Marguerite Nitzsche", "content"=>["Iste vel porro. Voluptates nemo natus. Molestiae distinctio porro. Laborum mollitia maxime aut ullam ea ut officia. Voluptas nisi dolores officia commodi dicta nobis quia."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4458ms
Processing by CommentsController#new as HTML
Parameters: {"product_id"=>"5306f4335735330ebc410000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2823ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 7ms (Views: 5.3ms)
--------------------------------------------
CommentsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc430000'), "name"=>"Erich Wolff", "reference"=>"Dax Klocko DVM", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('5306f4335735330ebc440000'), "author_name"=>"Yasmin Senger", "content"=>["Temporibus accusantium pariatur quaerat fuga necessitatibus magnam ex. Aperiam hic ut numquam earum magni. Ut debitis molestias in natus. Et alias iste eveniet. Ad alias natus."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4395ms
Processing by CommentsController#show as HTML
Parameters: {"product_id"=>"5306f4335735330ebc430000", "id"=>"5306f4335735330ebc440000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3150ms
Completed 200 OK in 7ms (Views: 4.5ms)
------------------------------------------
CommentsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc450000'), "name"=>"Madalyn Crist", "reference"=>"Ms. Elwin Spencer", "quantity"=>"1", "comments"=>[{"_id"=>BSON::ObjectId('5306f4335735330ebc460000'), "author_name"=>"Mr. Dejon Lesch", "content"=>["Laudantium expedita maiores praesentium voluptatem. Doloribus enim nesciunt aut similique quasi in. Omnis consequatur libero perspiciatis sunt."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4810ms
Processing by CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"5306f4335735330ebc460000", "product_id"=>"5306f4335735330ebc450000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2704ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4335735330ebc450000'), "comments._id"=>BSON::ObjectId('5306f4335735330ebc460000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6310ms
Redirected to http://test.host/products/5306f4335735330ebc450000/comments/5306f4335735330ebc460000
Completed 302 Found in 7ms
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_create
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc470000'), "firstname"=>"Jalon", "lastname"=>"Davis"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5857ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2828ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc480000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.2715ms
Redirected to http://test.host/admin/clients/5306f4335735330ebc480000
Completed 302 Found in 8ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3084ms
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_destroy
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc490000'), "firstname"=>"Tracey", "lastname"=>"Kub"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3253ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1594ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5306f4335735330ebc490000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5306f4335735330ebc490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2985ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5306f4335735330ebc490000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2989ms
Redirected to http://test.host/admin/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1774ms
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_edit
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc4a0000'), "firstname"=>"Tremayne", "lastname"=>"Fay"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2363ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5306f4335735330ebc4a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5306f4335735330ebc4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2963ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.3ms)
Completed 200 OK in 10ms (Views: 8.9ms)
--------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_index
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc4b0000'), "firstname"=>"Kacie", "lastname"=>"Bartoletti"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4072ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4196ms
Completed 200 OK in 9ms (Views: 7.6ms)
------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_new
------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc4c0000'), "firstname"=>"Granville", "lastname"=>"Zulauf"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4403ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (33.2ms)
Completed 200 OK in 40ms (Views: 39.5ms)
-------------------------------------------------------
Iord::GenericControllerTest: test_admin_should_get_show
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc4d0000'), "firstname"=>"Rylan", "lastname"=>"O'Hara"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 8.6270ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5306f4335735330ebc4d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5306f4335735330ebc4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3325ms
Completed 200 OK in 7ms (Views: 5.5ms)
-----------------------------------------------------
Iord::GenericControllerTest: test_admin_should_update
-----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc4e0000'), "firstname"=>"Justus", "lastname"=>"Erdman"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4454ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5306f4335735330ebc4e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5306f4335735330ebc4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3262ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5306f4335735330ebc4e0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3848ms
Redirected to http://test.host/admin/clients/5306f4335735330ebc4e0000
Completed 302 Found in 4ms
-----------------------------------------------
Iord::GenericControllerTest: test_should_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc4f0000'), "firstname"=>"Ezra", "lastname"=>"Oberbrunner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2974ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1680ms
Processing by Iord::GenericController#create as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc500000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms
Redirected to http://test.host/clients/5306f4335735330ebc500000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1899ms
------------------------------------------------
Iord::GenericControllerTest: test_should_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5306f4335735330ebc510000'), "firstname"=>"Enrique", "lastname"=>"Kris"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2942ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2803ms
Processing by Iord::GenericController#destroy as HTML
Parameters: {"id"=>"5306f4335735330ebc510000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5306f4335735330ebc510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2903ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5306f4335735330ebc510000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2499ms
Redirected to http://test.host/clients
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1724ms
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_edit
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc520000'), "firstname"=>"Eliza", "lastname"=>"Cartwright"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2971ms
Processing by Iord::GenericController#edit as HTML
Parameters: {"id"=>"5306f4345735330ebc520000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5306f4345735330ebc520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 8ms (Views: 6.7ms)
--------------------------------------------------
Iord::GenericControllerTest: test_should_get_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc530000'), "firstname"=>"Carey", "lastname"=>"Dibbert"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3779ms
Processing by Iord::GenericController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4009ms
Completed 200 OK in 11ms (Views: 10.8ms)
------------------------------------------------
Iord::GenericControllerTest: test_should_get_new
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc540000'), "firstname"=>"Allen", "lastname"=>"Moore"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3852ms
Processing by Iord::GenericController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 7ms (Views: 6.0ms)
-------------------------------------------------
Iord::GenericControllerTest: test_should_get_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc550000'), "firstname"=>"Reyna", "lastname"=>"Wiza"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4321ms
Processing by Iord::GenericController#show as HTML
Parameters: {"id"=>"5306f4345735330ebc550000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5306f4345735330ebc550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2836ms
Completed 200 OK in 5ms (Views: 3.5ms)
-----------------------------------------------
Iord::GenericControllerTest: test_should_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc560000'), "firstname"=>"Colby", "lastname"=>"Armstrong"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3709ms
Processing by Iord::GenericController#update as HTML
Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"5306f4345735330ebc560000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5306f4345735330ebc560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3107ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('5306f4345735330ebc560000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2382ms
Redirected to http://test.host/clients/5306f4345735330ebc560000
Completed 302 Found in 3ms
--------------------
IordTest: test_truth
--------------------
------------------------------------------
ManagersControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc570000'), "name"=>"Reba O'Hara", "reference"=>"Orion Bartoletti", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('5306f4345735330ebc580000'), "firstname"=>"Ismael", "lastname"=>"Weissnat"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4297ms
Processing by ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"5306f4345735330ebc570000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4345735330ebc570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3332ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4345735330ebc570000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4428ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4345735330ebc570000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('5306f4345735330ebc590000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms
Redirected to http://test.host/products/5306f4345735330ebc570000/manager
Completed 302 Found in 6ms
--------------------------------------------
ManagersControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc5a0000'), "name"=>"Will Greenfelder", "reference"=>"Miss Ervin Reichel", "quantity"=>"6", "manager"=>{"_id"=>BSON::ObjectId('5306f4345735330ebc5b0000'), "firstname"=>"Dovie", "lastname"=>"Ratke"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.1676ms
Processing by ManagersController#edit as HTML
Parameters: {"id"=>"5306f4345735330ebc5b0000", "product_id"=>"5306f4345735330ebc5a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4345735330ebc5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3369ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.9ms)
Completed 200 OK in 10ms (Views: 7.7ms)
-------------------------------------------
ManagersControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc5c0000'), "name"=>"Genesis Kihn", "reference"=>"Darion Yundt", "quantity"=>"7", "manager"=>{"_id"=>BSON::ObjectId('5306f4345735330ebc5d0000'), "firstname"=>"Alicia", "lastname"=>"Boyer"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4438ms
Processing by ManagersController#new as HTML
Parameters: {"product_id"=>"5306f4345735330ebc5c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4345735330ebc5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3714ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.5ms)
Completed 200 OK in 8ms (Views: 6.0ms)
--------------------------------------------
ManagersControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc5e0000'), "name"=>"Fatima Grady", "reference"=>"Alvina Roberts", "quantity"=>"8", "manager"=>{"_id"=>BSON::ObjectId('5306f4345735330ebc5f0000'), "firstname"=>"Daryl", "lastname"=>"Nikolaus"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4897ms
Processing by ManagersController#show as HTML
Parameters: {"id"=>"5306f4345735330ebc5f0000", "product_id"=>"5306f4345735330ebc5e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4345735330ebc5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3157ms
Completed 200 OK in 6ms (Views: 4.0ms)
------------------------------------------
ManagersControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc600000'), "name"=>"Jazlyn Gerhold", "reference"=>"Mr. Beth Rutherford", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('5306f4345735330ebc610000'), "firstname"=>"Johnathon", "lastname"=>"Hamill"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4626ms
Processing by ManagersController#update as HTML
Parameters: {"id"=>"5306f4345735330ebc610000", "manager"=>{"name"=>"Hello"}, "product_id"=>"5306f4345735330ebc600000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4345735330ebc600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3295ms
Unpermitted parameters: name
Redirected to http://test.host/products/5306f4345735330ebc600000/manager
Completed 302 Found in 3ms
------------------------------------------
ProductsControllerTest: test_should_create
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc620000'), "name"=>"Mr. Wanda Zulauf", "reference"=>"Alec Denesik", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4797ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1835ms
Processing by ProductsController#create as HTML
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc630000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4302ms
Redirected to http://test.host/products/5306f4345735330ebc630000
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2046ms
-------------------------------------------
ProductsControllerTest: test_should_destroy
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc640000'), "name"=>"Arnulfo Wunsch", "reference"=>"Bernice Nienow", "quantity"=>"0"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3862ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2030ms
Processing by ProductsController#destroy as HTML
Parameters: {"id"=>"5306f4345735330ebc640000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4345735330ebc640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4345735330ebc640000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 5.7244ms
Redirected to http://test.host/products
Completed 302 Found in 8ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3054ms
--------------------------------------------
ProductsControllerTest: test_should_get_edit
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc650000'), "name"=>"Dr. Brant Halvorson", "reference"=>"Ms. Chaz Dibbert", "quantity"=>"4"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2769ms
Processing by ProductsController#edit as HTML
Parameters: {"id"=>"5306f4345735330ebc650000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4345735330ebc650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2684ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.7ms)
Completed 200 OK in 10ms (Views: 8.3ms)
---------------------------------------------
ProductsControllerTest: test_should_get_index
---------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc660000'), "name"=>"Dr. Terry Greenholt", "reference"=>"Enrique Pfannerstill", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4644ms
Processing by ProductsController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7866ms
Completed 200 OK in 23ms (Views: 22.9ms)
--------------------------------------------------
ProductsControllerTest: test_should_get_json_index
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc670000'), "name"=>"Dameon Mante", "reference"=>"Faustino Strosin", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3985ms
Processing by ProductsController#index as JSON
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7725ms
Completed 200 OK in 5ms (Views: 2.0ms)
-------------------------------------------------
ProductsControllerTest: test_should_get_json_show
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc680000'), "name"=>"Kurt Metz", "reference"=>"Dimitri Kuphal", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3667ms
Processing by ProductsController#show as JSON
Parameters: {"id"=>"5306f4345735330ebc680000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4345735330ebc680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2640ms
Completed 200 OK in 2ms (Views: 0.2ms)
-------------------------------------------
ProductsControllerTest: test_should_get_new
-------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc690000'), "name"=>"Emily Gerlach", "reference"=>"Mrs. Lina Feeney", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3065ms
Processing by ProductsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.4ms)
Completed 200 OK in 8ms (Views: 7.0ms)
--------------------------------------------
ProductsControllerTest: test_should_get_show
--------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc6b0000'), "name"=>"Heidi Kuhn", "reference"=>"Tyler Heidenreich", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4371ms
Processing by ProductsController#show as HTML
Parameters: {"id"=>"5306f4345735330ebc6b0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4345735330ebc6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3631ms
Completed 200 OK in 5ms (Views: 3.7ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_create
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc6c0000'), "name"=>"Renee Nitzsche", "reference"=>"Ms. Kiley Kling", "quantity"=>"1"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4165ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1802ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc6d0000'), "name"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3154ms
Completed 201 Created in 2ms (Views: 0.2ms)
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2864ms
------------------------------------------------
ProductsControllerTest: test_should_json_destroy
------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc6e0000'), "name"=>"Conrad Zemlak", "reference"=>"Layne Goldner", "quantity"=>"5"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2626ms
Processing by ProductsController#destroy as JSON
Parameters: {"id"=>"5306f4345735330ebc6e0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4345735330ebc6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3224ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4345735330ebc6e0000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3016ms
Completed 200 OK in 2ms (Views: 0.1ms)
---------------------------------------------------
ProductsControllerTest: test_should_json_not_create
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc6f0000'), "name"=>"Melyssa Jerde", "reference"=>"Sim Jacobs", "quantity"=>"7"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms
Processing by ProductsController#create as JSON
Parameters: {"product"=>{"quantity"=>1}}
Completed 422 Unprocessable Entity in 3ms (Views: 0.2ms)
-----------------------------------------------
ProductsControllerTest: test_should_json_update
-----------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc710000'), "name"=>"Lura Lakin", "reference"=>"Christop Emard", "quantity"=>"8"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4918ms
Processing by ProductsController#update as JSON
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5306f4345735330ebc710000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4345735330ebc710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3495ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4345735330ebc710000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 12.9065ms
Completed 202 Accepted in 17ms (Views: 0.2ms)
------------------------------------------
ProductsControllerTest: test_should_update
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc720000'), "name"=>"Consuelo McClure", "reference"=>"Mortimer Roberts", "quantity"=>"2"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3401ms
Processing by ProductsController#update as HTML
Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"5306f4345735330ebc720000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4345735330ebc720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('5306f4345735330ebc720000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4491ms
Redirected to http://test.host/products/5306f4345735330ebc720000
Completed 302 Found in 5ms
---------------------------------------
UsersControllerTest: test_should_create
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc730000'), "firstname"=>"Barrett", "lastname"=>"Altenwerth"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4632ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1750ms
Processing by UsersController#create as HTML
Parameters: {"user"=>{"name"=>"Hello"}}
Unpermitted parameters: name
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc740000')}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3717ms
Redirected to http://test.host/users/5306f4345735330ebc740000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1991ms
----------------------------------------
UsersControllerTest: test_should_destroy
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc750000'), "firstname"=>"Antonette", "lastname"=>"Flatley"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3194ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1634ms
Processing by UsersController#destroy as HTML
Parameters: {"id"=>"5306f4345735330ebc750000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5306f4345735330ebc750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3372ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5306f4345735330ebc750000')} flags=[:remove_first]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2980ms
Redirected to http://test.host/users
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.3060ms
-----------------------------------------
UsersControllerTest: test_should_get_edit
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc760000'), "firstname"=>"Savion", "lastname"=>"Feeney"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3564ms
Processing by UsersController#edit as HTML
Parameters: {"id"=>"5306f4345735330ebc760000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5306f4345735330ebc760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3210ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.8ms)
Completed 200 OK in 9ms (Views: 7.7ms)
------------------------------------------
UsersControllerTest: test_should_get_index
------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc770000'), "firstname"=>"Nick", "lastname"=>"Morar"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4273ms
Processing by UsersController#index as HTML
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3757ms
Completed 200 OK in 11ms (Views: 10.2ms)
----------------------------------------
UsersControllerTest: test_should_get_new
----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc780000'), "firstname"=>"Gregory", "lastname"=>"Weber"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3559ms
Processing by UsersController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.1ms)
Completed 200 OK in 6ms (Views: 5.5ms)
-----------------------------------------
UsersControllerTest: test_should_get_show
-----------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc790000'), "firstname"=>"Esther", "lastname"=>"Koss"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0435ms
Processing by UsersController#show as HTML
Parameters: {"id"=>"5306f4345735330ebc790000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5306f4345735330ebc790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2939ms
Completed 200 OK in 5ms (Views: 3.8ms)
---------------------------------------
UsersControllerTest: test_should_update
---------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('5306f4345735330ebc7a0000'), "firstname"=>"Carissa", "lastname"=>"Goldner"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3912ms
Processing by UsersController#update as HTML
Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"5306f4345735330ebc7a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('5306f4345735330ebc7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3045ms
Unpermitted parameters: name
Redirected to http://test.host/users/5306f4345735330ebc7a0000
Completed 302 Found in 2ms
MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8321ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7055ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 19.7853ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 12.3270ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 11.8053ms
MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 10.4517ms
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_create
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ca96d7735334751000000'), "firstname"=>"Rhoda", "lastname"=>"O'Kon"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5075ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2309ms
Processing by Admin::AdministratorsController#create as HTML
Parameters: {"administrator"=>{"firstname"=>"Hello"}}
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ca96d7735334751010000'), "firstname"=>"Hello"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5001ms
Redirected to http://test.host/admin/administrator
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2813ms
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_edit
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ca96d7735334751020000'), "firstname"=>"Magnolia", "lastname"=>"Metz"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3635ms
Processing by Admin::AdministratorsController#edit as HTML
Parameters: {"id"=>"530ca96d7735334751020000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530ca96d7735334751020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3048ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (6.4ms)
Completed 200 OK in 56ms (Views: 54.7ms)
--------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_new
--------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ca96d7735334751030000'), "firstname"=>"Alvena", "lastname"=>"Torphy"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4565ms
Processing by Admin::AdministratorsController#new as HTML
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.0ms)
Completed 200 OK in 5ms (Views: 5.0ms)
---------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_get_show
---------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ca96d7735334751040000'), "firstname"=>"Leda", "lastname"=>"Mitchell"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4444ms
Processing by Admin::AdministratorsController#show as HTML
Parameters: {"id"=>"530ca96d7735334751040000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530ca96d7735334751040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3003ms
Completed 200 OK in 5ms (Views: 3.6ms)
-------------------------------------------------------
Admin::AdministratorsControllerTest: test_should_update
-------------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('530ca96d7735334751050000'), "firstname"=>"Valentin", "lastname"=>"Kiehn"}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4300ms
Processing by Admin::AdministratorsController#update as HTML
Parameters: {"id"=>"530ca96d7735334751050000", "administrator"=>{"name"=>"Hello"}}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('530ca96d7735334751050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2932ms
Unpermitted parameters: name
Redirected to http://test.host/admin/administrator
Completed 302 Found in 2ms
-------------------------------------------------
Admin::CommentsControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ca96d7735334751060000'), "name"=>"Mateo Feil", "reference"=>"Ansley Corwin", "quantity"=>"0", "comments"=>[{"_id"=>BSON::ObjectId('530ca96d7735334751070000'), "author_name"=>"Otis Beer", "content"=>["Aut sequi excepturi impedit. Error est ea beatae iusto similique. Et facilis rerum ex nemo. Id illo error cum eos. Ut eos cumque praesentium qui consequatur quis."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5198ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d7735334751060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2624ms
Processing by Admin::CommentsController#create as HTML
Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"530ca96d7735334751060000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d7735334751060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3566ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d7735334751060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('530ca96d7735334751080000'), "author_name"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3542ms
Redirected to http://test.host/admin/products/530ca96d7735334751060000/comments/530ca96d7735334751080000
Completed 302 Found in 4ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d7735334751060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3171ms
--------------------------------------------------
Admin::CommentsControllerTest: test_should_destroy
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ca96d7735334751090000'), "name"=>"Miss Ima Doyle", "reference"=>"Carmela Lehner DVM", "quantity"=>"8", "comments"=>[{"_id"=>BSON::ObjectId('530ca96d77353347510a0000'), "author_name"=>"Gregg Champlin", "content"=>["Ut eos repellat quasi illum omnis quis minus. Ipsam eum reiciendis provident ut. Dolor natus id qui similique."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3615ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d7735334751090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2017ms
Processing by Admin::CommentsController#destroy as HTML
Parameters: {"product_id"=>"530ca96d7735334751090000", "id"=>"530ca96d77353347510a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d7735334751090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2689ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d7735334751090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('530ca96d77353347510a0000')}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3414ms
Redirected to http://test.host/admin/products/530ca96d7735334751090000/comments
Completed 302 Found in 3ms
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d7735334751090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2018ms
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ca96d77353347510b0000'), "name"=>"Cassandre Kulas", "reference"=>"Graham Abernathy DVM", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530ca96d77353347510c0000'), "author_name"=>"Dr. Jaclyn Hoeger", "content"=>["Beatae exercitationem reprehenderit eum nihil provident quo eos. Nihil quisquam reprehenderit explicabo impedit sunt. Doloribus sint dolorem dignissimos tenetur. Consequatur et ea est et ut et. Illo non dicta quia ipsum et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3198ms
Processing by Admin::CommentsController#edit as HTML
Parameters: {"product_id"=>"530ca96d77353347510b0000", "id"=>"530ca96d77353347510c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d77353347510b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2641ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.7ms)
Completed 200 OK in 9ms (Views: 7.4ms)
----------------------------------------------------
Admin::CommentsControllerTest: test_should_get_index
----------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ca96d77353347510d0000'), "name"=>"Lorine Cole", "reference"=>"Zander Dickinson", "quantity"=>"4", "comments"=>[{"_id"=>BSON::ObjectId('530ca96d77353347510e0000'), "author_name"=>"Mr. Hanna Hegmann", "content"=>["Qui quasi qui. Corrupti asperiores illo recusandae excepturi et. In et ipsum provident sint. Odit et odio nobis soluta."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4397ms
Processing by Admin::CommentsController#index as HTML
Parameters: {"product_id"=>"530ca96d77353347510d0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d77353347510d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2733ms
Completed 200 OK in 6ms (Views: 4.4ms)
--------------------------------------------------
Admin::CommentsControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ca96d77353347510f0000'), "name"=>"Moses Wilkinson", "reference"=>"Miss Kadin Hintz", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530ca96d7735334751100000'), "author_name"=>"Betsy Padberg", "content"=>["Aspernatur harum doloremque esse ex. Porro quo omnis. Nemo quibusdam et voluptatibus modi et. Et ad cum sed velit quo quidem."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4227ms
Processing by Admin::CommentsController#new as HTML
Parameters: {"product_id"=>"530ca96d77353347510f0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d77353347510f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2636ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (1.9ms)
Completed 200 OK in 7ms (Views: 5.0ms)
---------------------------------------------------
Admin::CommentsControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ca96d7735334751110000'), "name"=>"Brenna Rowe MD", "reference"=>"Dr. Camden Emard", "quantity"=>"2", "comments"=>[{"_id"=>BSON::ObjectId('530ca96d7735334751120000'), "author_name"=>"Pedro Blick", "content"=>["Unde distinctio animi cupiditate. Dignissimos aut quo amet fugit pariatur culpa voluptatibus. Sed eum quaerat qui ut odio. Est ex qui repudiandae qui et."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4222ms
Processing by Admin::CommentsController#show as HTML
Parameters: {"product_id"=>"530ca96d7735334751110000", "id"=>"530ca96d7735334751120000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d7735334751110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2724ms
Completed 200 OK in 6ms (Views: 3.8ms)
-------------------------------------------------
Admin::CommentsControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ca96d7735334751130000'), "name"=>"Celestine Kutch", "reference"=>"Bernard Treutel IV", "quantity"=>"7", "comments"=>[{"_id"=>BSON::ObjectId('530ca96d7735334751140000'), "author_name"=>"Zelma Thiel DVM", "content"=>["Et velit dolores culpa et aut eveniet inventore. Odio corrupti cupiditate tenetur nulla dolorum sequi. Nihil eum non impedit nisi."]}]}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4265ms
Processing by Admin::CommentsController#update as HTML
Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"530ca96d7735334751140000", "product_id"=>"530ca96d7735334751130000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d7735334751130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2708ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d7735334751130000'), "comments._id"=>BSON::ObjectId('530ca96d7735334751140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4098ms
Redirected to http://test.host/admin/products/530ca96d7735334751130000/comments/530ca96d7735334751140000
Completed 302 Found in 4ms
-------------------------------------------------
Admin::ManagersControllerTest: test_should_create
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ca96d7735334751150000'), "name"=>"Willow Jacobi", "reference"=>"Lonny Von", "quantity"=>"0", "manager"=>{"_id"=>BSON::ObjectId('530ca96d7735334751160000'), "firstname"=>"Isom", "lastname"=>"Frami"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.3469ms
Processing by Admin::ManagersController#create as HTML
Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"530ca96d7735334751150000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d7735334751150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3468ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d7735334751150000')} update={"$unset"=>{"manager"=>true}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6887ms
MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d7735334751150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('530ca96d7735334751170000'), "firstname"=>"Hello"}}} flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2565ms
Redirected to http://test.host/admin/products/530ca96d7735334751150000/manager
Completed 302 Found in 34ms
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_edit
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ca96d7735334751180000'), "name"=>"Ms. Bria Little", "reference"=>"Edmund Dach", "quantity"=>"3", "manager"=>{"_id"=>BSON::ObjectId('530ca96d7735334751190000'), "firstname"=>"Herminio", "lastname"=>"Bernhard"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4695ms
Processing by Admin::ManagersController#edit as HTML
Parameters: {"id"=>"530ca96d7735334751190000", "product_id"=>"530ca96d7735334751180000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d7735334751180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3322ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (3.5ms)
Completed 200 OK in 10ms (Views: 8.2ms)
--------------------------------------------------
Admin::ManagersControllerTest: test_should_get_new
--------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ca96d77353347511a0000'), "name"=>"Mr. Timmy Lebsack", "reference"=>"Letitia Morissette III", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530ca96d77353347511b0000'), "firstname"=>"Rodolfo", "lastname"=>"Bayer"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4275ms
Processing by Admin::ManagersController#new as HTML
Parameters: {"product_id"=>"530ca96d77353347511a0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d77353347511a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2619ms
Rendered /home/geoffroy/projects/iord/app/views/iord/_form.html.erb (2.2ms)
Completed 200 OK in 7ms (Views: 5.4ms)
---------------------------------------------------
Admin::ManagersControllerTest: test_should_get_show
---------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ca96d77353347511c0000'), "name"=>"Cyril Berge", "reference"=>"Sydni O'Hara", "quantity"=>"4", "manager"=>{"_id"=>BSON::ObjectId('530ca96d77353347511d0000'), "firstname"=>"Petra", "lastname"=>"Moore"}}] flags=[]
COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4159ms
Processing by Admin::ManagersController#show as HTML
Parameters: {"id"=>"530ca96d77353347511d0000", "product_id"=>"530ca96d77353347511c0000"}
MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('530ca96d77353347511c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2745ms
Completed 200 OK in 6ms (Views: 3.7ms)
-------------------------------------------------
Admin::ManagersControllerTest: test_should_update
-------------------------------------------------
MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('530ca96d77353347511e0000'), "name"=>"Mrs. Mose Reichel", "reference"=>"Jordyn Wolff", "quantity"=>"1", "manager"=>{"_id"=>BSON::Object